Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #pragma once
- #include <QObject>
- class Counter : public QObject
- {
- Q_OBJECT
- private:
- int m_nValue;
- public:
- Counter();
- public slots:
- void slotInc();
- signals:
- void goodbye();
- void counterChanged(int);
- };
- // #include "Counter.moc"
Add Comment
Please, Sign In to add comment