| 1 | #ifndef NEWGAMEDIALOG_H |
| 2 | #define NEWGAMEDIALOG_H |
| 3 | |
| 4 | #include <QDialog> |
| 5 | class MainWindow; |
| 6 | |
| 7 | namespace Ui { |
| 8 | class NewGameDialog; |
| 9 | } |
| 10 | |
| 11 | class NewGameDialog : public QDialog |
| 12 | { |
| 13 | Q_OBJECT |
| 14 | |
| 15 | public: |
| 16 | explicit NewGameDialog(MainWindow *parent); |
| 17 | ~NewGameDialog(); |
| 18 | |
| 19 | void slot_newFile_HandicapChange(int); |
| 20 | virtual void accept(); |
| 21 | |
| 22 | private: |
| 23 | Ui::NewGameDialog *ui; |
| 24 | MainWindow *mw; |
| 25 | int handicap; |
| 26 | }; |
| 27 | |
| 28 | #endif // NEWGAMEDIALOG_H |