Diffstat (limited to 'noncore/games/tictac/tictac.h') (more/less context) (ignore whitespace changes)
-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 @@ /**************************************************************************** -** $Id$ +** tictac.h,v 1.1.10.1 2003/08/29 06:50:40 harlekin Exp ** ** Copyright (C) 1992-2000 Trolltech AS. All rights reserved. ** ** This file is part of an example program for Qt. This example ** program may be used, distributed and modified without limitation. ** @@ -88,21 +88,24 @@ private: // class TicTacToe : public QWidget { Q_OBJECT public: - TicTacToe( int boardSize=3, QWidget *parent=0, const char *name=0 ); + TicTacToe( QWidget *parent=0, const char *name=0, WFlags fl = 0 ); + static QString appName() { return QString::fromLatin1("tictac"); } + private slots: void newGameClicked(); void gameOver(); private: void newState(); QComboBox *whoStarts; QPushButton *newGame; QPushButton *quit; QLabel *message; TicTacGameBoard *board; + int boardSize; }; #endif // TICTAC_H |