diff options
author | Timothy Pearson <[email protected]> | 2013-02-01 15:12:46 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-02-01 15:12:46 -0600 |
commit | 58a97ed3af5e4df6c4a58d043b0c267bd97056a9 (patch) | |
tree | 5a2fde6842fd422cae2d8670d382be965098cc32 /kjumpingcube/kjumpingcube.cpp | |
parent | 2ce15ee76fd2d9d18a63c035a0f5b00b94c60cdc (diff) | |
download | tdegames-58a97ed3af5e4df6c4a58d043b0c267bd97056a9.tar.gz tdegames-58a97ed3af5e4df6c4a58d043b0c267bd97056a9.zip |
Rename a number of classes to enhance compatibility with KDE4
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()); |