summaryrefslogtreecommitdiffstats
path: root/kgoldrunner/src/kgrfigure.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kgoldrunner/src/kgrfigure.cpp')
-rw-r--r--kgoldrunner/src/kgrfigure.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/kgoldrunner/src/kgrfigure.cpp b/kgoldrunner/src/kgrfigure.cpp
index 08fc91d4..0dcb68af 100644
--- a/kgoldrunner/src/kgrfigure.cpp
+++ b/kgoldrunner/src/kgrfigure.cpp
@@ -31,8 +31,8 @@ KGrFigure :: KGrFigure (int px, int py)
nuggets = 0;
status = STANDING;
- walkTimer = new QTimer (this);
- fallTimer = new QTimer (this);
+ walkTimer = new TQTimer (this);
+ fallTimer = new TQTimer (this);
}
// Initialise the global settings flags.
@@ -310,8 +310,8 @@ KGrHero :: KGrHero (KGrCanvas * view, int x, int y)
walkFrozen = FALSE;
fallFrozen = FALSE;
- connect (walkTimer, SIGNAL (timeout ()), SLOT (walkTimeDone ()));
- connect (fallTimer, SIGNAL (timeout ()), SLOT (fallTimeDone ()));
+ connect (walkTimer, TQT_SIGNAL (timeout ()), TQT_SLOT (walkTimeDone ()));
+ connect (fallTimer, TQT_SIGNAL (timeout ()), TQT_SLOT (fallTimeDone ()));
}
int KGrHero::WALKDELAY = 0;
@@ -711,7 +711,7 @@ void KGrHero::digRight(){
}
#ifdef QT3
-void KGrHero::setEnemyList(QPtrList<KGrEnemy> *e)
+void KGrHero::setEnemyList(TQPtrList<KGrEnemy> *e)
#else
void KGrHero::setEnemyList(QList<KGrEnemy> *e)
#endif
@@ -816,10 +816,10 @@ KGrEnemy :: KGrEnemy (KGrCanvas * view, int x, int y)
fallFrozen = FALSE;
captiveFrozen = FALSE;
- captiveTimer = new QTimer (this);
- connect (captiveTimer,SIGNAL(timeout()),SLOT(captiveTimeDone()));
- connect (walkTimer, SIGNAL (timeout ()), SLOT (walkTimeDone ()));
- connect (fallTimer, SIGNAL (timeout ()), SLOT (fallTimeDone ()));
+ captiveTimer = new TQTimer (this);
+ connect (captiveTimer,TQT_SIGNAL(timeout()),TQT_SLOT(captiveTimeDone()));
+ connect (walkTimer, TQT_SIGNAL (timeout ()), TQT_SLOT (walkTimeDone ()));
+ connect (fallTimer, TQT_SIGNAL (timeout ()), TQT_SLOT (fallTimeDone ()));
}
int KGrEnemy::WALKDELAY = 0;
@@ -1671,7 +1671,7 @@ bool KGrEnemy::willNotFall (int x, int y)
}
#ifdef QT3
-void KGrEnemy::setEnemyList(QPtrList<KGrEnemy> *e)
+void KGrEnemy::setEnemyList(TQPtrList<KGrEnemy> *e)
#else
void KGrEnemy::setEnemyList(QList<KGrEnemy> *e)
#endif