summaryrefslogtreecommitdiffstats
path: root/knights/board_2d.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-12-28 16:38:14 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-12-31 22:24:54 +0900
commitb4b4994c9863545aa635db0931dc3eefab8c948d (patch)
treee7b68b2081d7f379ec279b5e99f42769c6d2eca8 /knights/board_2d.cpp
parentb8335a4a3527cea739097fb2b9c014b0b8b1d6fa (diff)
downloadknights-b4b4994c.tar.gz
knights-b4b4994c.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit ff0d52cab681a2154a1462935a5d9e4d6ebfe34e)
Diffstat (limited to 'knights/board_2d.cpp')
-rw-r--r--knights/board_2d.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/knights/board_2d.cpp b/knights/board_2d.cpp
index d16236a..85bd6e4 100644
--- a/knights/board_2d.cpp
+++ b/knights/board_2d.cpp
@@ -145,7 +145,7 @@ void board_2d::drawMove( const ChessMove &chessMove, const bool &reverse )
/* Show Animation */
if( myResource->OPTION_Animate_Moves && !lastMoveWasDrag && isVisible() )
{
- TQTimer::singleShot( 0, this, TQT_SLOT( updateSprites() ) );
+ TQTimer::singleShot( 0, this, TQ_SLOT( updateSprites() ) );
sprite *spritePtr = new sprite;
spritePtr->Steps = 1;
spritePtr->Restore = FALSE;
@@ -206,7 +206,7 @@ void board_2d::drawMove( const ChessMove &chessMove, const bool &reverse )
}
///////////////////////////////////////
//
-// board_2d::resizeBoard( TQT_SLOT )
+// board_2d::resizeBoard( TQ_SLOT )
//
///////////////////////////////////////
void board_2d::resizeBoard( void )
@@ -758,7 +758,7 @@ void board_2d::updateSprites( void )
if( spritePtr == DragSprite )
continue;
- TQTimer::singleShot( 0, this, TQT_SLOT( updateSprites() ) );
+ TQTimer::singleShot( 0, this, TQ_SLOT( updateSprites() ) );
if( spritePtr->Steps < MAX_STEPS )
{
double factor = ( 1.0 / (double)MAX_STEPS ) * (double)spritePtr->Steps;