author | imm <imm> | 2002-08-30 17:50:52 (UTC) |
---|---|---|
committer | imm <imm> | 2002-08-30 17:50:52 (UTC) |
commit | f6125710c0ca99fc62ffce69973a168b6604f29d (patch) (unidiff) | |
tree | 5bb82f49b81db7cb990ea2f72d9ff20222f4db15 | |
parent | 91e02e91751e9e477ac8a7b4666d58d739dd9283 (diff) | |
download | opie-f6125710c0ca99fc62ffce69973a168b6604f29d.zip opie-f6125710c0ca99fc62ffce69973a168b6604f29d.tar.gz opie-f6125710c0ca99fc62ffce69973a168b6604f29d.tar.bz2 |
license update
removed quit from menubar
-rw-r--r-- | noncore/games/buzzword/buzzword.cpp | 3 | ||||
-rw-r--r-- | noncore/games/buzzword/buzzword.h | 2 | ||||
-rw-r--r-- | noncore/games/buzzword/main.cpp | 2 |
3 files changed, 3 insertions, 4 deletions
diff --git a/noncore/games/buzzword/buzzword.cpp b/noncore/games/buzzword/buzzword.cpp index 37032df..447396b 100644 --- a/noncore/games/buzzword/buzzword.cpp +++ b/noncore/games/buzzword/buzzword.cpp | |||
@@ -1,17 +1,17 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright (C) 2002 Martin Imobersteg <imm@gmx.ch> | 2 | * Copyright (C) 2002 Martin Imobersteg <imm@gmx.ch> |
3 | * | 3 | * |
4 | * This program is free software; you can redistribute it and/or | 4 | * This program is free software; you can redistribute it and/or |
5 | * modify it under the terms of the GNU Library General Public | 5 | * modify it under the terms of the GNU General Public |
6 | * License as published by the Free Software Foundation; either | 6 | * License as published by the Free Software Foundation; either |
7 | * version 2 of the License,Life or (at your option) any later version. | 7 | * version 2 of the License,Life or (at your option) any later version. |
8 | * | 8 | * |
9 | * This program is distributed in the hope that it will be useful, | 9 | * This program is distributed in the hope that it will be useful, |
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
12 | * Library General Public License for more details. | 12 | * Library General Public License for more details. |
13 | * | 13 | * |
14 | * You should have received a copy of the GNU Library General Public | 14 | * You should have received a copy of the GNU Library General Public |
15 | * License along with this program; if not, write to the Free | 15 | * License along with this program; if not, write to the Free |
16 | * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | 16 | * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
17 | */ | 17 | */ |
@@ -77,25 +77,24 @@ void BuzzItem::flip() | |||
77 | emit clicked(_row, _column); | 77 | emit clicked(_row, _column); |
78 | } | 78 | } |
79 | 79 | ||
80 | BuzzWord::BuzzWord() : QMainWindow(0) | 80 | BuzzWord::BuzzWord() : QMainWindow(0) |
81 | { | 81 | { |
82 | setCaption(tr("buZzword")); | 82 | setCaption(tr("buZzword")); |
83 | 83 | ||
84 | menu = menuBar(); | 84 | menu = menuBar(); |
85 | game = new QPopupMenu; | 85 | game = new QPopupMenu; |
86 | game->insertItem(tr("&New game"), this, SLOT(newGame()), Key_N ); | 86 | game->insertItem(tr("&New game"), this, SLOT(newGame()), Key_N ); |
87 | game->insertSeparator(); | 87 | game->insertSeparator(); |
88 | game->insertItem(tr("&About"), this, SLOT(about())); | 88 | game->insertItem(tr("&About"), this, SLOT(about())); |
89 | game->insertItem(tr("&Quit"), qApp, SLOT(quit()), Key_Q ); | ||
90 | menu->insertItem( tr("&Game"), game ); | 89 | menu->insertItem( tr("&Game"), game ); |
91 | 90 | ||
92 | gridVal = 4; | 91 | gridVal = 4; |
93 | grid = NULL; | 92 | grid = NULL; |
94 | gameOver = false; | 93 | gameOver = false; |
95 | newGame(); | 94 | newGame(); |
96 | } | 95 | } |
97 | 96 | ||
98 | void BuzzWord::drawGrid() | 97 | void BuzzWord::drawGrid() |
99 | { | 98 | { |
100 | std::list<QString> l; | 99 | std::list<QString> l; |
101 | 100 | ||
diff --git a/noncore/games/buzzword/buzzword.h b/noncore/games/buzzword/buzzword.h index f72be9a..2e00563 100644 --- a/noncore/games/buzzword/buzzword.h +++ b/noncore/games/buzzword/buzzword.h | |||
@@ -1,17 +1,17 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright (C) 2002 Martin Imobersteg <imm@gmx.ch> | 2 | * Copyright (C) 2002 Martin Imobersteg <imm@gmx.ch> |
3 | * | 3 | * |
4 | * This program is free software; you can redistribute it and/or | 4 | * This program is free software; you can redistribute it and/or |
5 | * modify it under the terms of the GNU Library General Public | 5 | * modify it under the terms of the GNU General Public |
6 | * License as published by the Free Software Foundation; either | 6 | * License as published by the Free Software Foundation; either |
7 | * version 2 of the License,Life or (at your option) any later version. | 7 | * version 2 of the License,Life or (at your option) any later version. |
8 | * | 8 | * |
9 | * This program is distributed in the hope that it will be useful, | 9 | * This program is distributed in the hope that it will be useful, |
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
12 | * Library General Public License for more details. | 12 | * Library General Public License for more details. |
13 | * | 13 | * |
14 | * You should have received a copy of the GNU Library General Public | 14 | * You should have received a copy of the GNU Library General Public |
15 | * License along with this program; if not, write to the Free | 15 | * License along with this program; if not, write to the Free |
16 | * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | 16 | * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
17 | */ | 17 | */ |
diff --git a/noncore/games/buzzword/main.cpp b/noncore/games/buzzword/main.cpp index 1fa011b..2d9ff81 100644 --- a/noncore/games/buzzword/main.cpp +++ b/noncore/games/buzzword/main.cpp | |||
@@ -1,17 +1,17 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright (C) 2002 Martin Imobersteg <imm@gmx.ch> | 2 | * Copyright (C) 2002 Martin Imobersteg <imm@gmx.ch> |
3 | * | 3 | * |
4 | * This program is free software; you can redistribute it and/or | 4 | * This program is free software; you can redistribute it and/or |
5 | * modify it under the terms of the GNU Library General Public | 5 | * modify it under the terms of the GNU General Public |
6 | * License as published by the Free Software Foundation; either | 6 | * License as published by the Free Software Foundation; either |
7 | * version 2 of the License,Life or (at your option) any later version. | 7 | * version 2 of the License,Life or (at your option) any later version. |
8 | * | 8 | * |
9 | * This program is distributed in the hope that it will be useful, | 9 | * This program is distributed in the hope that it will be useful, |
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
12 | * Library General Public License for more details. | 12 | * Library General Public License for more details. |
13 | * | 13 | * |
14 | * You should have received a copy of the GNU Library General Public | 14 | * You should have received a copy of the GNU Library General Public |
15 | * License along with this program; if not, write to the Free | 15 | * License along with this program; if not, write to the Free |
16 | * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | 16 | * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
17 | */ | 17 | */ |