Sign up for the KDAB Newsletter
Stay on top of the latest news, publications, events and more.
Go to Sign-up
Find what you need - explore our website and developer resources
20 November 2023
Have you ever wondered what Q_OBJECT really is? How "public slots" can be valid C++ syntax, what happens when you call emit, and whether signal emission results in the slot being executed asynchronously? Watch this episode to get all those answers.
The example code showcased in this video is available here: https://github.com/KDAB/kdabtv/tree/master/Programming-With-Qt-Widgets
00:00 Introduction
00:26 Recap Quiz
01:30 Signals and Slots Code Example
05:17 Signals and Slots in Qt Source
12:18 Emitters
All 'Introduction to Qt Widgets' videos: https://www.youtube.com/playlist?list=PL6CJYn40gN6iFcTyItvnE5nOmJR8qk_7o
All 'Introduction to Qt Widgets - Module 1' videos: https://www.youtube.com/playlist?list=PL6CJYn40gN6hgf7zCKF2Rv9Y0WoN8RVGf
Links:
* moc DIY: https://www.youtube.com/watch?v=rtIBjTPE45Q
* QWAM - Reading the Qt Source Code: https://youtu.be/N89s0c8qRxc?list=PL6CJYn40gN6gf-G-o6syFwGrtq3kItEqI
Stay on top of the latest news, publications, events and more.
Go to Sign-up
Learn Modern C++
Our hands-on Modern C++ training courses are designed to quickly familiarize newcomers with the language. They also update professional C++ developers on the latest changes in the language and standard library introduced in recent C++ editions.
Learn more