summaryrefslogtreecommitdiffstats
path: root/kbounce/game.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-12-20 22:30:18 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-12-21 09:39:40 +0900
commit4d6acadb4557b3dc9db23fe80e361f4f65289ccd (patch)
tree536561cf7f93c1eaa56e824f1dd96b02bbdaa484 /kbounce/game.cpp
parent76f734a8102bfc590570e67a73c40351ea2bbf3f (diff)
downloadtdegames-4d6acadb.tar.gz
tdegames-4d6acadb.zip
Replace various '#define' strings - part 6
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 7909152750670148360093b2519955fbfa555154)
Diffstat (limited to 'kbounce/game.cpp')
-rw-r--r--kbounce/game.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kbounce/game.cpp b/kbounce/game.cpp
index 4b2f14b3..2d4c9721 100644
--- a/kbounce/game.cpp
+++ b/kbounce/game.cpp
@@ -363,7 +363,7 @@ JezzGame::JezzGame( const TQPixmap &background, int ballNum, TQWidget *parent, c
"kbounce/sounds/";
// create field
- m_field = new JezzField( tiles, background, TQT_TQOBJECT(this), "m_field" );
+ m_field = new JezzField( tiles, background, this, "m_field" );
m_field->resize( TILE_SIZE*FIELD_WIDTH, TILE_SIZE*FIELD_HEIGHT );
for ( int x=0; x<FIELD_WIDTH; x++ )
@@ -617,7 +617,7 @@ void JezzGame::buildWall( int x, int y, bool vertical )
m_wall1 = new Wall( m_field, x, y,
vertical? Wall::Up : Wall::Left,
vertical? TILE_WALLUP : TILE_WALLLEFT,
- TQT_TQOBJECT(this), "m_wall1" );
+ this, "m_wall1" );
connect( m_wall1, TQT_SIGNAL(finished(Wall *, int)),
this, TQT_SLOT(wallFinished(Wall *, int)) ); }
@@ -626,7 +626,7 @@ void JezzGame::buildWall( int x, int y, bool vertical )
m_wall2 = new Wall( m_field, x, y,
vertical? Wall::Down: Wall::Right,
vertical? TILE_WALLDOWN : TILE_WALLRIGHT,
- TQT_TQOBJECT(this), "m_wall2" );
+ this, "m_wall2" );
connect( m_wall2, TQT_SIGNAL(finished(Wall *, int)),
this, TQT_SLOT(wallFinished(Wall *, int)) );
}