Diffstat (limited to 'noncore/games/buzzword/buzzword.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/games/buzzword/buzzword.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/games/buzzword/buzzword.cpp b/noncore/games/buzzword/buzzword.cpp index 97a17a1..f746065 100644 --- a/noncore/games/buzzword/buzzword.cpp +++ b/noncore/games/buzzword/buzzword.cpp | |||
@@ -59,25 +59,25 @@ BuzzItem::BuzzItem( int row, int column, QString text, QWidget *parent, const ch | |||
59 | label->setAlignment( int( QLabel::AlignCenter ) ); | 59 | label->setAlignment( int( QLabel::AlignCenter ) ); |
60 | 60 | ||
61 | connect( label, SIGNAL(clicked()), this, SLOT(flip()) ); | 61 | connect( label, SIGNAL(clicked()), this, SLOT(flip()) ); |
62 | } | 62 | } |
63 | 63 | ||
64 | void BuzzItem::flip() | 64 | void BuzzItem::flip() |
65 | { | 65 | { |
66 | setLineWidth( 1 ); | 66 | setLineWidth( 1 ); |
67 | label->setBackgroundColor(label->colorGroup().highlight()); | 67 | label->setBackgroundColor(label->colorGroup().highlight()); |
68 | emit clicked(_row, _column); | 68 | emit clicked(_row, _column); |
69 | } | 69 | } |
70 | 70 | ||
71 | BuzzWord::BuzzWord() : QMainWindow(0) | 71 | BuzzWord::BuzzWord(QWidget* parent, const char* name, WFlags fl ) : QMainWindow( parent, name, fl ) |
72 | { | 72 | { |
73 | setCaption(tr("buZzword")); | 73 | setCaption(tr("buZzword")); |
74 | 74 | ||
75 | menu = menuBar(); | 75 | menu = menuBar(); |
76 | game = new QPopupMenu; | 76 | game = new QPopupMenu; |
77 | game->insertItem(tr("&New game"), this, SLOT(newGame()), Key_N ); | 77 | game->insertItem(tr("&New game"), this, SLOT(newGame()), Key_N ); |
78 | menu->insertItem( tr("&Game"), game ); | 78 | menu->insertItem( tr("&Game"), game ); |
79 | 79 | ||
80 | gridVal = 4; | 80 | gridVal = 4; |
81 | grid = NULL; | 81 | grid = NULL; |
82 | gameOver = false; | 82 | gameOver = false; |
83 | newGame(); | 83 | newGame(); |