daily pastebin goal
94%
SHARE
TWEET

Untitled

a guest Jun 13th, 2018 44 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # include <QObject>
  2. class ABC : public QObject
  3. {
  4.    Q_OBJECT
  5. public:
  6.    ABC()
  7.    {
  8.        connect(this, &ABC::notifyMe, this , ABC::OnNotifyMe);
  9.    }
  10. signals:
  11.   void notifyMe();
  12.  
  13. public slots:
  14.   void OnNotifyMe()
  15.   {
  16.       emit notifyMe();
  17.   }
  18. };
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top