diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:42:31 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:42:31 +0000 |
commit | 576eb4299a00bc053db35414406f46372a0f70f2 (patch) | |
tree | 4c030922d533821db464af566188e7d40cc8848c /kgoldrunner/src/kgrfigure.h | |
parent | 0718336b6017d1a4fc1d626544180a5a2a29ddec (diff) | |
download | tdegames-576eb4299a00bc053db35414406f46372a0f70f2.tar.gz tdegames-576eb4299a00bc053db35414406f46372a0f70f2.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegames@1157643 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kgoldrunner/src/kgrfigure.h')
-rw-r--r-- | kgoldrunner/src/kgrfigure.h | 28 |
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 |