author | mickeyl <mickeyl> | 2003-11-03 23:05:29 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2003-11-03 23:05:29 (UTC) |
commit | 8046118c7d4def83ef1a70628870b5ebad0534a4 (patch) (unidiff) | |
tree | 21f03403f1f4d42d72eace822511e084580a8772 /noncore/games/tictac/tictac.cpp | |
parent | 7f34e7b45108c353e0a2575153904ce655cb1896 (diff) | |
download | opie-8046118c7d4def83ef1a70628870b5ebad0534a4.zip opie-8046118c7d4def83ef1a70628870b5ebad0534a4.tar.gz opie-8046118c7d4def83ef1a70628870b5ebad0534a4.tar.bz2 |
noncore/games/tictac now fully merged
Diffstat (limited to 'noncore/games/tictac/tictac.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/games/tictac/tictac.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/noncore/games/tictac/tictac.cpp b/noncore/games/tictac/tictac.cpp index 3d727ac..4954ba4 100644 --- a/noncore/games/tictac/tictac.cpp +++ b/noncore/games/tictac/tictac.cpp | |||
@@ -1,5 +1,5 @@ | |||
1 | /**************************************************************************** | 1 | /**************************************************************************** |
2 | ** $Id$ | 2 | ** tictac.cpp,v 1.3.8.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 | ** |
@@ -288,12 +288,13 @@ void TicTacGameBoard::computerMove() | |||
288 | // signals of child widgets to slots. | 288 | // signals of child widgets to slots. |
289 | // | 289 | // |
290 | 290 | ||
291 | TicTacToe::TicTacToe( int boardSize, QWidget *parent, const char *name ) | 291 | TicTacToe::TicTacToe( QWidget *parent, const char *name, WFlags fl ) |
292 | : QWidget( parent, name ) | 292 | : QWidget( parent, name, fl ) |
293 | { | 293 | { |
294 | QVBoxLayout * l = new QVBoxLayout( this, 6 ); | 294 | QVBoxLayout * l = new QVBoxLayout( this, 6 ); |
295 | 295 | ||
296 | // Create a message label | 296 | // Create a message label |
297 | boardSize = 3; | ||
297 | 298 | ||
298 | message = new QLabel( this ); | 299 | message = new QLabel( this ); |
299 | message->setFrameStyle( QFrame::WinPanel | QFrame::Sunken ); | 300 | message->setFrameStyle( QFrame::WinPanel | QFrame::Sunken ); |