-rw-r--r-- | noncore/games/tictac/tictac.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/noncore/games/tictac/tictac.h b/noncore/games/tictac/tictac.h index ec6c79c..bb0b485 100644 --- a/noncore/games/tictac/tictac.h +++ b/noncore/games/tictac/tictac.h | |||
@@ -1,8 +1,8 @@ | |||
1 | /**************************************************************************** | 1 | /**************************************************************************** |
2 | ** $Id$ | 2 | ** tictac.h,v 1.1.10.1 2003/08/29 06:50:40 harlekin Exp |
3 | ** | 3 | ** |
4 | ** Copyright (C) 1992-2000 Trolltech AS. All rights reserved. | 4 | ** Copyright (C) 1992-2000 Trolltech AS. All rights reserved. |
5 | ** | 5 | ** |
6 | ** This file is part of an example program for Qt. This example | 6 | ** This file is part of an example program for Qt. This example |
7 | ** program may be used, distributed and modified without limitation. | 7 | ** program may be used, distributed and modified without limitation. |
8 | ** | 8 | ** |
@@ -88,21 +88,24 @@ private: | |||
88 | // | 88 | // |
89 | 89 | ||
90 | class TicTacToe : public QWidget | 90 | class TicTacToe : public QWidget |
91 | { | 91 | { |
92 | Q_OBJECT | 92 | Q_OBJECT |
93 | public: | 93 | public: |
94 | TicTacToe( int boardSize=3, QWidget *parent=0, const char *name=0 ); | 94 | TicTacToe( QWidget *parent=0, const char *name=0, WFlags fl = 0 ); |
95 | static QString appName() { return QString::fromLatin1("tictac"); } | ||
96 | |||
95 | private slots: | 97 | private slots: |
96 | voidnewGameClicked(); | 98 | voidnewGameClicked(); |
97 | voidgameOver(); | 99 | voidgameOver(); |
98 | private: | 100 | private: |
99 | voidnewState(); | 101 | voidnewState(); |
100 | QComboBox*whoStarts; | 102 | QComboBox*whoStarts; |
101 | QPushButton *newGame; | 103 | QPushButton *newGame; |
102 | QPushButton *quit; | 104 | QPushButton *quit; |
103 | QLabel*message; | 105 | QLabel*message; |
104 | TicTacGameBoard *board; | 106 | TicTacGameBoard *board; |
107 | int boardSize; | ||
105 | }; | 108 | }; |
106 | 109 | ||
107 | 110 | ||
108 | #endif // TICTAC_H | 111 | #endif // TICTAC_H |