summaryrefslogtreecommitdiffstats
path: root/kasteroids/toplevel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kasteroids/toplevel.cpp')
-rw-r--r--kasteroids/toplevel.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/kasteroids/toplevel.cpp b/kasteroids/toplevel.cpp
index 410ca468..41e12e79 100644
--- a/kasteroids/toplevel.cpp
+++ b/kasteroids/toplevel.cpp
@@ -79,10 +79,10 @@ KAstTopLevel::KAstTopLevel()
mainWin->setFixedSize(640, 480);
view = new KAsteroidsView( mainWin );
- connect( view, TQT_SIGNAL( shipKilled() ), TQT_SLOT( slotShipKilled() ) );
- connect( view, TQT_SIGNAL( rockHit(int) ), TQT_SLOT( slotRockHit(int) ) );
- connect( view, TQT_SIGNAL( rocksRemoved() ), TQT_SLOT( slotRocksRemoved() ) );
- connect( view, TQT_SIGNAL( updateVitals() ), TQT_SLOT( slotUpdateVitals() ) );
+ connect( view, TQ_SIGNAL( shipKilled() ), TQ_SLOT( slotShipKilled() ) );
+ connect( view, TQ_SIGNAL( rockHit(int) ), TQ_SLOT( slotRockHit(int) ) );
+ connect( view, TQ_SIGNAL( rocksRemoved() ), TQ_SLOT( slotRocksRemoved() ) );
+ connect( view, TQ_SIGNAL( updateVitals() ), TQ_SLOT( slotUpdateVitals() ) );
TQVBoxLayout *vb = new TQVBoxLayout( mainWin );
TQHBoxLayout *hb = new TQHBoxLayout;
@@ -280,14 +280,14 @@ KAstTopLevel::~KAstTopLevel()
void KAstTopLevel::initTDEAction()
{
// game
- KStdGameAction::gameNew( this, TQT_SLOT( slotNewGame() ), actionCollection() );
- KStdGameAction::highscores( this, TQT_SLOT( slotShowHighscores() ), actionCollection() );
- KStdGameAction::pause( this, TQT_SLOT( slotPause() ), actionCollection() );
- KStdGameAction::quit(this, TQT_SLOT( close() ), actionCollection());
+ KStdGameAction::gameNew( this, TQ_SLOT( slotNewGame() ), actionCollection() );
+ KStdGameAction::highscores( this, TQ_SLOT( slotShowHighscores() ), actionCollection() );
+ KStdGameAction::pause( this, TQ_SLOT( slotPause() ), actionCollection() );
+ KStdGameAction::quit(this, TQ_SLOT( close() ), actionCollection());
// settings
- KStdAction::keyBindings(this, TQT_SLOT( slotKeyConfig() ), actionCollection());
- KStdAction::preferences(this, TQT_SLOT( slotPref() ), actionCollection());
+ KStdAction::keyBindings(this, TQ_SLOT( slotKeyConfig() ), actionCollection());
+ KStdAction::preferences(this, TQ_SLOT( slotPref() ), actionCollection());
// keyboard-only actions
keycodes.insert(Thrust, new TDEAction(i18n("Thrust"), TQt::Key_Up, 0, 0, actionCollection(), "Thrust"));
@@ -297,7 +297,7 @@ void KAstTopLevel::initTDEAction()
// keycodes.insert(Teleport, new TDEAction(i18n("Teleport"), TQt::Key_Z, 0, 0, actionCollection(), "Teleport"));
keycodes.insert(Brake, new TDEAction(i18n("Brake"), TQt::Key_X, 0, 0, actionCollection(), "Brake"));
keycodes.insert(Shield, new TDEAction(i18n("Shield"), TQt::Key_S, 0, 0, actionCollection(), "Shield"));
- launchAction = new TDEAction(i18n("Launch"), TQt::Key_L, this, TQT_SLOT(slotLaunch()), actionCollection(), "Launch");
+ launchAction = new TDEAction(i18n("Launch"), TQt::Key_L, this, TQ_SLOT(slotLaunch()), actionCollection(), "Launch");
}
@@ -529,7 +529,7 @@ void KAstTopLevel::slotShipKilled()
}
else
{
- TQTimer::singleShot(1000, this, TQT_SLOT(slotGameOver()));
+ TQTimer::singleShot(1000, this, TQ_SLOT(slotGameOver()));
}
}
}
@@ -613,7 +613,7 @@ void KAstTopLevel::slotPref()
/* Done */
dialog->addPage(w, i18n("General"), "package_settings");
- connect(dialog, TQT_SIGNAL(settingsChanged()), this, TQT_SLOT(loadSettings()));
+ connect(dialog, TQ_SIGNAL(settingsChanged()), this, TQ_SLOT(loadSettings()));
dialog->show();
}