Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Round * kk = new LastRound(10,10,this->ui);
- class Round : public QObject
- {
- Q_OBJECT
- int period;
- int numberPics;
- Ui_Game *lala;
- public:
- Round(int period, int numberPics, Ui_Game *lala)
- {
- this->period = period;
- this->numberPics = numberPics;
- this->lala = lala;
- }
- };
- class LastRound : public Round
- {
- Q_OBJECT
- public:
- LastRound(int period, int numberPics, Ui_Game *lala):Round(period, numberPics, *lala)
- {
- }
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement