diff options
Diffstat (limited to 'ktron/ktron.cpp')
-rw-r--r-- | ktron/ktron.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/ktron/ktron.cpp b/ktron/ktron.cpp index 25511fae..85478071 100644 --- a/ktron/ktron.cpp +++ b/ktron/ktron.cpp @@ -46,7 +46,7 @@ KTron::KTron(TQWidget *parent, const char *name) : TDEMainWindow(parent, name) { playerPoints[0]=playerPoints[1]=0; tron=new Tron(this, "Tron"); - connect(tron,TQT_SIGNAL(gameEnds(Player)),TQT_SLOT(changeStatus(Player))); + connect(tron,TQ_SIGNAL(gameEnds(Player)),TQ_SLOT(changeStatus(Player))); setCentralWidget(tron); tron->setMinimumSize(200,180); @@ -81,10 +81,10 @@ KTron::KTron(TQWidget *parent, const char *name) : TDEMainWindow(parent, name) { tron->setActionCollection(actionCollection()); - KStdGameAction::pause(tron, TQT_SLOT(togglePause()), actionCollection()); - KStdGameAction::gameNew( tron, TQT_SLOT( newGame() ), actionCollection() ); - KStdGameAction::quit(this, TQT_SLOT( close() ), actionCollection()); - KStdAction::preferences(this, TQT_SLOT(showSettings()), actionCollection()); + KStdGameAction::pause(tron, TQ_SLOT(togglePause()), actionCollection()); + KStdGameAction::gameNew( tron, TQ_SLOT( newGame() ), actionCollection() ); + KStdGameAction::quit(this, TQ_SLOT( close() ), actionCollection()); + KStdAction::preferences(this, TQ_SLOT(showSettings()), actionCollection()); setupGUI( TDEMainWindow::Keys | StatusBar | Save | Create); loadSettings(); @@ -186,8 +186,8 @@ void KTron::showSettings(){ dialog->addPage(new General(0, "General"), i18n("General"), "package_settings"); dialog->addPage(new Ai(0, "Ai"), i18n("A.I."), "preferences-desktop-personal"); dialog->addPage(new Appearance(0, "Appearance"), i18n("Appearance"), "style"); - connect(dialog, TQT_SIGNAL(settingsChanged()), tron, TQT_SLOT(loadSettings())); - connect(dialog, TQT_SIGNAL(settingsChanged()), this, TQT_SLOT(loadSettings())); + connect(dialog, TQ_SIGNAL(settingsChanged()), tron, TQ_SLOT(loadSettings())); + connect(dialog, TQ_SIGNAL(settingsChanged()), this, TQ_SLOT(loadSettings())); dialog->show(); } |