diff options
Diffstat (limited to 'kspaceduel/topwidget.cpp')
-rw-r--r-- | kspaceduel/topwidget.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/kspaceduel/topwidget.cpp b/kspaceduel/topwidget.cpp index ce727607..a8a3b5ab 100644 --- a/kspaceduel/topwidget.cpp +++ b/kspaceduel/topwidget.cpp @@ -34,13 +34,13 @@ void MyTopLevelWidget::initGameWidgets( ){ playfield->setFocusPolicy(TQWidget::StrongFocus); playfield->setFocus(); - TQObject::connect(playfield,TQT_SIGNAL(energy(int,int)), - TQT_SLOT(energy(int,int))); - TQObject::connect(playfield,TQT_SIGNAL(hitPoints(int,int)), - TQT_SLOT(hitPoints(int,int))); - TQObject::connect(playfield,TQT_SIGNAL(wins(int,int)),TQT_SLOT(wins(int,int))); - TQObject::connect(playfield,TQT_SIGNAL(setStatusText(const TQString &,int)), - TQT_SLOT(setStatusText(const TQString &,int))); + TQObject::connect(playfield,TQ_SIGNAL(energy(int,int)), + TQ_SLOT(energy(int,int))); + TQObject::connect(playfield,TQ_SIGNAL(hitPoints(int,int)), + TQ_SLOT(hitPoints(int,int))); + TQObject::connect(playfield,TQ_SIGNAL(wins(int,int)),TQ_SLOT(wins(int,int))); + TQObject::connect(playfield,TQ_SIGNAL(setStatusText(const TQString &,int)), + TQ_SLOT(setStatusText(const TQString &,int))); setCentralWidget(w); } @@ -62,18 +62,18 @@ void MyTopLevelWidget::wins(int pn,int w) void MyTopLevelWidget::initActions( ) { - KStdGameAction::quit(this, TQT_SLOT(close()), actionCollection()); - KStdGameAction::gameNew(playfield, TQT_SLOT(newGame()), actionCollection()); + KStdGameAction::quit(this, TQ_SLOT(close()), actionCollection()); + KStdGameAction::gameNew(playfield, TQ_SLOT(newGame()), actionCollection()); ( void )new TDEAction( i18n( "&New Round" ), "spnewround", - CTRL + Key_R, playfield, TQT_SLOT( newRound( ) ), + CTRL + Key_R, playfield, TQ_SLOT( newRound( ) ), actionCollection( ), "new_round" ); MyMainView::pauseAction = - KStdGameAction::pause(playfield, TQT_SLOT(togglePause()), actionCollection()); + KStdGameAction::pause(playfield, TQ_SLOT(togglePause()), actionCollection()); MyMainView::pauseAction->setChecked( false ); TDEAction* gameStart = new TDEAction( i18n( "Start" ), GAME_START_SHORTCUT, - playfield, TQT_SLOT( start( ) ), actionCollection( ), "game_start" ); + playfield, TQ_SLOT( start( ) ), actionCollection( ), "game_start" ); - KStdAction::preferences(playfield, TQT_SLOT(gameSetup()), actionCollection()); + KStdAction::preferences(playfield, TQ_SLOT(gameSetup()), actionCollection()); TDEAccel* acc = new TDEAccel(this); gameStart->plugAccel(acc); |