author | imm <imm> | 2002-08-31 22:59:38 (UTC) |
---|---|---|
committer | imm <imm> | 2002-08-31 22:59:38 (UTC) |
commit | 277ec30e2807c7bd6bdc9efdb086e9c72c3741e9 (patch) (side-by-side diff) | |
tree | 399c6bd30dbc766688fea389a96988ac85e30ac7 /noncore/games/buzzword/buzzword.cpp | |
parent | af1fb861d849575d9c10d33f0a49423fc2b4d976 (diff) | |
download | opie-277ec30e2807c7bd6bdc9efdb086e9c72c3741e9.zip opie-277ec30e2807c7bd6bdc9efdb086e9c72c3741e9.tar.gz opie-277ec30e2807c7bd6bdc9efdb086e9c72c3741e9.tar.bz2 |
remove credits
Diffstat (limited to 'noncore/games/buzzword/buzzword.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/games/buzzword/buzzword.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/noncore/games/buzzword/buzzword.cpp b/noncore/games/buzzword/buzzword.cpp index 324b5bd..b870a59 100644 --- a/noncore/games/buzzword/buzzword.cpp +++ b/noncore/games/buzzword/buzzword.cpp @@ -62,34 +62,32 @@ BuzzItem::BuzzItem( int row, int column, QString text, QWidget *parent, const ch } void BuzzItem::flip() { setLineWidth( 1 ); label->setBackgroundColor(label->colorGroup().highlight()); emit clicked(_row, _column); } BuzzWord::BuzzWord() : QMainWindow(0) { setCaption(tr("buZzword")); menu = menuBar(); game = new QPopupMenu; game->insertItem(tr("&New game"), this, SLOT(newGame()), Key_N ); - game->insertSeparator(); - game->insertItem(tr("&About"), this, SLOT(about())); menu->insertItem( tr("&Game"), game ); gridVal = 4; grid = NULL; gameOver = false; newGame(); } void BuzzWord::drawGrid() { QStringList l; QString path = QPEApplication::qpeDir()+"share/buzzword/"; QFile f( path + "buzzwords" ); if ( !f.open( IO_ReadOnly ) ) return; @@ -162,28 +160,23 @@ void BuzzWord::clicked(int row, int column) } if ( map[0][0] && map[1][1] && map[2][2] && map[3][3] ) bingo(); if ( map[0][3] && map[1][2] && map[2][1] && map[3][0] ) bingo(); } } void BuzzWord::bingo() { gameOver = true; QMessageBox::information( this, "BUZZWORD", tr("<h1><b>BINGO !</b></h1>")); } -void BuzzWord::about() -{ - QMessageBox::information( this, "About", "buZzword 1.0\n(c) 2002 Martin Imobersteg\n\nThis program is distributed\nunder the terms of the GPL v2." ); -} - void BuzzWord::newGame() { gameOver = false; delete grid; drawGrid(); setCentralWidget(grid); } |