author | schurig <schurig> | 2004-09-13 13:54:56 (UTC) |
---|---|---|
committer | schurig <schurig> | 2004-09-13 13:54:56 (UTC) |
commit | 5880f51e9d6a4ad2c670f7679e874fc0610d850a (patch) (unidiff) | |
tree | 50f251b078dc63588f0a521e9ccea014dabc0ca7 /noncore/games/minesweep | |
parent | 79c99fb1b7317ad104e3b54bcbcf726f6413e8be (diff) | |
download | opie-5880f51e9d6a4ad2c670f7679e874fc0610d850a.zip opie-5880f51e9d6a4ad2c670f7679e874fc0610d850a.tar.gz opie-5880f51e9d6a4ad2c670f7679e874fc0610d850a.tar.bz2 |
Renamed 'Mine Hunt' to 'Mine Sweep', both in title and icon name
-rw-r--r-- | noncore/games/minesweep/minesweep.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/noncore/games/minesweep/minesweep.cpp b/noncore/games/minesweep/minesweep.cpp index 4a6a92c..c14609d 100644 --- a/noncore/games/minesweep/minesweep.cpp +++ b/noncore/games/minesweep/minesweep.cpp | |||
@@ -231,27 +231,27 @@ protected: | |||
231 | QFrame::resizeEvent(e); | 231 | QFrame::resizeEvent(e); |
232 | } | 232 | } |
233 | private: | 233 | private: |
234 | MineField *field; | 234 | MineField *field; |
235 | }; | 235 | }; |
236 | 236 | ||
237 | 237 | ||
238 | 238 | ||
239 | MineSweep::MineSweep( QWidget* parent, const char* name, WFlags f ) | 239 | MineSweep::MineSweep( QWidget* parent, const char* name, WFlags f ) |
240 | : QMainWindow( parent, name, f ) | 240 | : QMainWindow( parent, name, f ) |
241 | { | 241 | { |
242 | srand(::time(0)); | 242 | srand(::time(0)); |
243 | setCaption( tr("Mine Hunt") ); | 243 | setCaption( tr("Mine Sweep") ); |
244 | QPEApplication::setInputMethodHint(this, QPEApplication::AlwaysOff ); | 244 | QPEApplication::setInputMethodHint(this, QPEApplication::AlwaysOff ); |
245 | setIcon( Resource::loadPixmap( "minesweep/MineHunt" ) ); | 245 | setIcon( Resource::loadPixmap( "minesweep/MineSweep" ) ); |
246 | 246 | ||
247 | QToolBar *toolBar = new QToolBar( this ); | 247 | QToolBar *toolBar = new QToolBar( this ); |
248 | toolBar->setHorizontalStretchable( TRUE ); | 248 | toolBar->setHorizontalStretchable( TRUE ); |
249 | 249 | ||
250 | QMenuBar *menuBar = new QMenuBar( toolBar ); | 250 | QMenuBar *menuBar = new QMenuBar( toolBar ); |
251 | 251 | ||
252 | QPopupMenu *gameMenu = new QPopupMenu( this ); | 252 | QPopupMenu *gameMenu = new QPopupMenu( this ); |
253 | gameMenu->insertItem( tr("Beginner"), this, SLOT( beginner() ) ); | 253 | gameMenu->insertItem( tr("Beginner"), this, SLOT( beginner() ) ); |
254 | gameMenu->insertItem( tr("Advanced"), this, SLOT( advanced() ) ); | 254 | gameMenu->insertItem( tr("Advanced"), this, SLOT( advanced() ) ); |
255 | 255 | ||
256 | if (qApp->desktop()->width() >= 240) { | 256 | if (qApp->desktop()->width() >= 240) { |
257 | gameMenu->insertItem( tr("Expert"), this, SLOT( expert() ) ); | 257 | gameMenu->insertItem( tr("Expert"), this, SLOT( expert() ) ); |