Qt public versus private slots

Hi! I have a QT application for a project. Now, this has to be integrated with ROS. My idea was to create a derived class of my QT widget and connect the signal from my widget to a function that will publish the ROS message that I want. Is this the right way to do it? Is there any place I can find an example of such thing? In my QT widget I have the following: class CameraDisplay : public ... Qt in Education The Qt object model and the signal slot ... The QObject QObject is the base class to most Qt classes. Examples of exceptions are: Classes that need to be lightweight such as graphical primitives Data containers (QString, QList, QChar, etc)Classes that needs to be copyable, as QObject s cannot be copied How Qt Signals and Slots Work - Woboq

slots - private/public qt signals - Code Examples

These videos are a bit outdated - I am in the process of replacing these with courses on Udemy.com Below are links for the courses I have finished so far. (I will be making much much more) Qt Core ... Machine Videos - Large Porn Tube. Free Machine porn videos ... Large Porn Tube is a free porn site featuring a lot of Machine porn videos. New videos added every day! SUBDIRS for Fun and Profit - Silmor.de

@user2448027 answer is correct, but there is a missing point in Qt's design pattern: different applications of private slots vs public slots. By making slot private you force users of the object to use connect function to call the slot, rather than member access operators(. or ->

Getting the most of signal/slot connections : Viking Software ... The new versus the old way to use connect. The previous example shows one way that works across old versions of Qt published so far (Qt 1 to 5). Recently a blog post about porting a tutorial application from Qt 1 to Qt 5.11 has been published, and no porting was needed at all for signals, slots, or the connections! That doesn’t mean the ... 信号(signals)和槽(slots) 精讲 - 漫步者 - C++博客