diff options
Diffstat (limited to 'kjumpingcube/kjumpingcube.cpp')
-rw-r--r-- | kjumpingcube/kjumpingcube.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kjumpingcube/kjumpingcube.cpp b/kjumpingcube/kjumpingcube.cpp index f6ed8a87..dfab89ff 100644 --- a/kjumpingcube/kjumpingcube.cpp +++ b/kjumpingcube/kjumpingcube.cpp @@ -56,7 +56,7 @@ KJumpingCube::KJumpingCube() connect(view,TQT_SIGNAL(startedThinking()),TQT_SLOT(enableStop_Thinking())); connect(view,TQT_SIGNAL(playerWon(int)),TQT_SLOT(showWinner(int))); - // tell the KMainWindow that this is indeed the main widget + // tell the TDEMainWindow that this is indeed the main widget setCentralWidget(view); // init statusbar @@ -71,11 +71,11 @@ KJumpingCube::KJumpingCube() statusBar()->addWidget(currentPlayer, ID_STATUS_TURN, false); statusBar()->setItemAlignment(ID_STATUS_TURN, AlignLeft | AlignVCenter); - initKAction(); + initTDEAction(); changePlayer(1); } -void KJumpingCube::initKAction() { +void KJumpingCube::initTDEAction() { KStdGameAction::gameNew(TQT_TQOBJECT(this), TQT_SLOT(newGame()), actionCollection()); KStdGameAction::load(TQT_TQOBJECT(this), TQT_SLOT(openGame()), actionCollection()); KStdGameAction::save(TQT_TQOBJECT(this), TQT_SLOT(save()), actionCollection()); @@ -83,7 +83,7 @@ void KJumpingCube::initKAction() { KStdGameAction::quit(TQT_TQOBJECT(this), TQT_SLOT(close()), actionCollection()); hintAction = KStdGameAction::hint(TQT_TQOBJECT(view), TQT_SLOT(getHint()), actionCollection()); - stopAction = new KAction(i18n("Stop &Thinking"), "stop", + stopAction = new TDEAction(i18n("Stop &Thinking"), "stop", TQt::Key_Escape, TQT_TQOBJECT(this), TQT_SLOT(stop()), actionCollection(), "game_stop"); stopAction->setEnabled(false); undoAction = KStdGameAction::undo(TQT_TQOBJECT(this), TQT_SLOT(undo()), actionCollection()); |