summaryrefslogtreecommitdiffstats
path: root/kjumpingcube/kjumpingcube.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kjumpingcube/kjumpingcube.cpp')
-rw-r--r--kjumpingcube/kjumpingcube.cpp32
1 files changed, 16 insertions, 16 deletions
diff --git a/kjumpingcube/kjumpingcube.cpp b/kjumpingcube/kjumpingcube.cpp
index 42eea056..dc5ba705 100644
--- a/kjumpingcube/kjumpingcube.cpp
+++ b/kjumpingcube/kjumpingcube.cpp
@@ -49,12 +49,12 @@
KJumpingCube::KJumpingCube()
: view(new KCubeBoxWidget(5, this, "KCubeBoxWidget"))
{
- connect(view,TQT_SIGNAL(playerChanged(int)),TQT_SLOT(changePlayer(int)));
- connect(view,TQT_SIGNAL(stoppedMoving()),TQT_SLOT(disableStop()));
- connect(view,TQT_SIGNAL(stoppedThinking()),TQT_SLOT(disableStop()));
- connect(view,TQT_SIGNAL(startedMoving()),TQT_SLOT(enableStop_Moving()));
- connect(view,TQT_SIGNAL(startedThinking()),TQT_SLOT(enableStop_Thinking()));
- connect(view,TQT_SIGNAL(playerWon(int)),TQT_SLOT(showWinner(int)));
+ connect(view,TQ_SIGNAL(playerChanged(int)),TQ_SLOT(changePlayer(int)));
+ connect(view,TQ_SIGNAL(stoppedMoving()),TQ_SLOT(disableStop()));
+ connect(view,TQ_SIGNAL(stoppedThinking()),TQ_SLOT(disableStop()));
+ connect(view,TQ_SIGNAL(startedMoving()),TQ_SLOT(enableStop_Moving()));
+ connect(view,TQ_SIGNAL(startedThinking()),TQ_SLOT(enableStop_Thinking()));
+ connect(view,TQ_SIGNAL(playerWon(int)),TQ_SLOT(showWinner(int)));
// tell the TDEMainWindow that this is indeed the main widget
setCentralWidget(view);
@@ -76,19 +76,19 @@ KJumpingCube::KJumpingCube()
}
void KJumpingCube::initTDEAction() {
- KStdGameAction::gameNew(this, TQT_SLOT(newGame()), actionCollection());
- KStdGameAction::load(this, TQT_SLOT(openGame()), actionCollection());
- KStdGameAction::save(this, TQT_SLOT(save()), actionCollection());
- KStdGameAction::saveAs(this, TQT_SLOT(saveAs()), actionCollection());
- KStdGameAction::quit(this, TQT_SLOT(close()), actionCollection());
+ KStdGameAction::gameNew(this, TQ_SLOT(newGame()), actionCollection());
+ KStdGameAction::load(this, TQ_SLOT(openGame()), actionCollection());
+ KStdGameAction::save(this, TQ_SLOT(save()), actionCollection());
+ KStdGameAction::saveAs(this, TQ_SLOT(saveAs()), actionCollection());
+ KStdGameAction::quit(this, TQ_SLOT(close()), actionCollection());
- hintAction = KStdGameAction::hint(view, TQT_SLOT(getHint()), actionCollection());
+ hintAction = KStdGameAction::hint(view, TQ_SLOT(getHint()), actionCollection());
stopAction = new TDEAction(i18n("Stop &Thinking"), "process-stop",
- TQt::Key_Escape, this, TQT_SLOT(stop()), actionCollection(), "game_stop");
+ TQt::Key_Escape, this, TQ_SLOT(stop()), actionCollection(), "game_stop");
stopAction->setEnabled(false);
- undoAction = KStdGameAction::undo(this, TQT_SLOT(undo()), actionCollection());
+ undoAction = KStdGameAction::undo(this, TQ_SLOT(undo()), actionCollection());
undoAction->setEnabled(false);
- KStdAction::preferences(this, TQT_SLOT(showOptions()), actionCollection());
+ KStdAction::preferences(this, TQ_SLOT(showOptions()), actionCollection());
setupGUI();
}
@@ -270,7 +270,7 @@ void KJumpingCube::showOptions(){
TDEConfigDialog *dialog = new TDEConfigDialog(this, "settings", Prefs::self(), KDialogBase::Swallow);
dialog->addPage(new Settings(0, "General"), i18n("General"), "package_settings");
- connect(dialog, TQT_SIGNAL(settingsChanged()), view, TQT_SLOT(loadSettings()));
+ connect(dialog, TQ_SIGNAL(settingsChanged()), view, TQ_SLOT(loadSettings()));
dialog->show();
}