summaryrefslogtreecommitdiffstats
path: root/kgoldrunner/src/kgrfigure.h
diff options
context:
space:
mode:
Diffstat (limited to 'kgoldrunner/src/kgrfigure.h')
-rw-r--r--kgoldrunner/src/kgrfigure.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/kgoldrunner/src/kgrfigure.h b/kgoldrunner/src/kgrfigure.h
index e6ee0f2e..12551418 100644
--- a/kgoldrunner/src/kgrfigure.h
+++ b/kgoldrunner/src/kgrfigure.h
@@ -17,16 +17,16 @@
// Obsolete - #include <iostream.h>
#include <iostream>
-#include <qimage.h>
+#include <tqimage.h>
#ifdef QT3
-#include <qptrlist.h>
+#include <tqptrlist.h>
#else
-#include <qlist.h>
+#include <tqlist.h>
#endif
-#include <qpainter.h>
-#include <qpixmap.h>
-#include <qtimer.h>
-#include <qwidget.h>
+#include <tqpainter.h>
+#include <tqpixmap.h>
+#include <tqtimer.h>
+#include <tqwidget.h>
#include <stdlib.h> // f�r Zufallsfunktionen
class KGrCanvas;
@@ -76,8 +76,8 @@ protected:
int walkCounter;
int nuggets;
int actualPixmap; // ArrayPos der zu zeichnenden Pixmap
- QTimer *walkTimer;
- QTimer *fallTimer;
+ TQTimer *walkTimer;
+ TQTimer *fallTimer;
KGrObject *(*playfield)[30][22];
Status status;
@@ -112,7 +112,7 @@ public:
void digRight();
void startWalk();
#ifdef QT3
- void setEnemyList(QPtrList<KGrEnemy> *);
+ void setEnemyList(TQPtrList<KGrEnemy> *);
#else
void setEnemyList(QList<KGrEnemy> *);
#endif
@@ -129,7 +129,7 @@ public:
private:
#ifdef QT3
- QPtrList<KGrEnemy> *enemies;
+ TQPtrList<KGrEnemy> *enemies;
#else
QList<KGrEnemy> *enemies;
#endif
@@ -167,7 +167,7 @@ public:
void showFigure();
void startSearching();
#ifdef QT3
- void setEnemyList(QPtrList<KGrEnemy> *);
+ void setEnemyList(TQPtrList<KGrEnemy> *);
#else
void setEnemyList(QList<KGrEnemy> *);
#endif
@@ -184,10 +184,10 @@ private:
int birthX, birthY;
int searchStatus;
int captiveCounter;
- QTimer *captiveTimer;
+ TQTimer *captiveTimer;
bool canWalkUp();
#ifdef QT3
- QPtrList<KGrEnemy> *enemies;
+ TQPtrList<KGrEnemy> *enemies;
#else
QList<KGrEnemy> *enemies;
#endif