diff options
author | Michele Calgaro <[email protected]> | 2024-01-13 12:28:49 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-01-19 10:10:52 +0900 |
commit | 6374e2e62eef25945347ce2c9ae9f88e61765d11 (patch) | |
tree | 707d84dbca20d20dee68626dda0d35568d7dcb34 /kjumpingcube/kcubeboxwidget.cpp | |
parent | c26a225408c4759743b754453b07d0dca97aa749 (diff) | |
download | tdegames-6374e2e62eef25945347ce2c9ae9f88e61765d11.tar.gz tdegames-6374e2e62eef25945347ce2c9ae9f88e61765d11.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit c20f4d8f2cf03c69fcecc80d63fe3cbb80f51610)
Diffstat (limited to 'kjumpingcube/kcubeboxwidget.cpp')
-rw-r--r-- | kjumpingcube/kcubeboxwidget.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kjumpingcube/kcubeboxwidget.cpp b/kjumpingcube/kcubeboxwidget.cpp index 9b589b96..3a03ad4b 100644 --- a/kjumpingcube/kcubeboxwidget.cpp +++ b/kjumpingcube/kcubeboxwidget.cpp @@ -435,12 +435,12 @@ void KCubeBoxWidget::init() KCubeWidget::enableClicks(true); loadSettings(); - connect(moveTimer,TQT_SIGNAL(timeout()),TQT_SLOT(nextLoopStep())); - connect(this,TQT_SIGNAL(startedThinking()),TQT_SLOT(setWaitCursor())); - connect(this,TQT_SIGNAL(stoppedThinking()),TQT_SLOT(setNormalCursor())); - connect(this,TQT_SIGNAL(startedMoving()),TQT_SLOT(setWaitCursor())); - connect(this,TQT_SIGNAL(stoppedMoving()),TQT_SLOT(setNormalCursor())); - connect(this,TQT_SIGNAL(playerWon(int)),TQT_SLOT(stopActivities())); + connect(moveTimer,TQ_SIGNAL(timeout()),TQ_SLOT(nextLoopStep())); + connect(this,TQ_SIGNAL(startedThinking()),TQ_SLOT(setWaitCursor())); + connect(this,TQ_SIGNAL(stoppedThinking()),TQ_SLOT(setNormalCursor())); + connect(this,TQ_SIGNAL(startedMoving()),TQ_SLOT(setWaitCursor())); + connect(this,TQ_SIGNAL(stoppedMoving()),TQ_SLOT(setNormalCursor())); + connect(this,TQ_SIGNAL(playerWon(int)),TQ_SLOT(stopActivities())); setNormalCursor(); @@ -476,8 +476,8 @@ void KCubeBoxWidget::initCubes() cubes[i][j]->setCoordinates(i,j); layout->addWidget(cubes[i][j],i,j); cubes[i][j]->show(); - connect(cubes[i][j],TQT_SIGNAL(clicked(int,int,bool)),TQT_SLOT(stopHint())); - connect(cubes[i][j],TQT_SIGNAL(clicked(int,int,bool)),TQT_SLOT(checkClick(int,int,bool))); + connect(cubes[i][j],TQ_SIGNAL(clicked(int,int,bool)),TQ_SLOT(stopHint())); + connect(cubes[i][j],TQ_SIGNAL(clicked(int,int,bool)),TQ_SLOT(checkClick(int,int,bool))); } // initialize cubes |