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
22 December 2020
Let's continue the discussion about Qt signals and slots. We can connect a signal to a slot in three different ways: using pointer to member functions (PMFs), using the string-based SIGNAL and SLOT macros, and connect a signal to a function object (including free functions and lambda expressions). What's the syntax of each way and, more importantly, what are the pros and cons? In this video, we'll see the PMF version (introduced in Qt 5) and compare it against the string-based version.
The example code showcased in this video is available here: https://github.com/KDAB/kdabtv
Stay on top of the latest news, publications, events and more.
Go to Sign-up
Upgrade your applications from Qt 5 to Qt 6 with KDAB’s migration services. Get a free migration assessment and join a hands-on workshop to prepare your team for a successful transition!
Learn more