Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # include <QObject>
- class ABC : public QObject
- {
- Q_OBJECT
- public:
- ABC()
- {
- connect(this, &ABC::notifyMe, this , ABC::OnNotifyMe);
- }
- signals:
- void notifyMe();
- public slots:
- void OnNotifyMe()
- {
- emit notifyMe();
- }
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement