summaryrefslogtreecommitdiffstats
path: root/kspaceduel/topwidget.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-13 12:28:49 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-19 10:10:52 +0900
commit6374e2e62eef25945347ce2c9ae9f88e61765d11 (patch)
tree707d84dbca20d20dee68626dda0d35568d7dcb34 /kspaceduel/topwidget.cpp
parentc26a225408c4759743b754453b07d0dca97aa749 (diff)
downloadtdegames-6374e2e62eef25945347ce2c9ae9f88e61765d11.tar.gz
tdegames-6374e2e62eef25945347ce2c9ae9f88e61765d11.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit c20f4d8f2cf03c69fcecc80d63fe3cbb80f51610)
Diffstat (limited to 'kspaceduel/topwidget.cpp')
-rw-r--r--kspaceduel/topwidget.cpp26
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);