Guest User

123

a guest
Sep 8th, 2014
251
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Round * kk = new LastRound(10,10,this->ui);
  2.  
  3. class Round : public QObject
  4. {
  5. Q_OBJECT
  6.  
  7. int period;
  8. int numberPics;
  9. Ui_Game *lala;
  10.  
  11. public:
  12.  
  13. Round(int period, int numberPics, Ui_Game *lala)
  14. {
  15. this->period = period;
  16. this->numberPics = numberPics;
  17. this->lala = lala;
  18. }
  19. };
  20.  
  21. class LastRound : public Round
  22. {
  23. Q_OBJECT
  24.  
  25. public:
  26.  
  27. LastRound(int period, int numberPics, Ui_Game *lala):Round(period, numberPics, *lala)
  28. {
  29.  
  30. }
  31. };
RAW Paste Data