diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2018-10-17 23:25:50 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2018-10-17 23:25:50 +0900 |
commit | 4648ea0c6a25f5c64076e9939d976be3820423ec (patch) | |
tree | bc03c9e7ceebc63fe81bdc662e5501bb8d979f6b /kgoldrunner/src/kgrfigure.h | |
parent | c9af7d35b5e4285b5bdf64661268502320ef4255 (diff) | |
download | tdegames-4648ea0c6a25f5c64076e9939d976be3820423ec.tar.gz tdegames-4648ea0c6a25f5c64076e9939d976be3820423ec.zip |
Removed obsolete Qt2's TQList/TQListIterator classes and replaced
with TQt3's TQPtrList/TQPtrListIterator ones.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kgoldrunner/src/kgrfigure.h')
-rw-r--r-- | kgoldrunner/src/kgrfigure.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kgoldrunner/src/kgrfigure.h b/kgoldrunner/src/kgrfigure.h index 70c5fbed..f25950b2 100644 --- a/kgoldrunner/src/kgrfigure.h +++ b/kgoldrunner/src/kgrfigure.h @@ -116,7 +116,7 @@ public: #ifdef QT3 void setEnemyList(TQPtrList<KGrEnemy> *); #else - void setEnemyList(TQList<KGrEnemy> *); + void setEnemyList(TQPtrList<KGrEnemy> *); #endif void init(int,int); void setKey(Direction); @@ -133,7 +133,7 @@ private: #ifdef QT3 TQPtrList<KGrEnemy> *enemies; #else - TQList<KGrEnemy> *enemies; + TQPtrList<KGrEnemy> *enemies; #endif KGrCanvas * heroView; bool standOnEnemy(); @@ -172,7 +172,7 @@ public: #ifdef QT3 void setEnemyList(TQPtrList<KGrEnemy> *); #else - void setEnemyList(TQList<KGrEnemy> *); + void setEnemyList(TQPtrList<KGrEnemy> *); #endif virtual void init(int,int); static int WALKDELAY; @@ -192,7 +192,7 @@ private: #ifdef QT3 TQPtrList<KGrEnemy> *enemies; #else - TQList<KGrEnemy> *enemies; + TQPtrList<KGrEnemy> *enemies; #endif bool standOnEnemy(); bool bumpingFriend(); |