summaryrefslogtreecommitdiffstats
path: root/kgoldrunner/src/kgrcanvas.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2018-10-17 23:25:50 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2018-10-17 23:25:50 +0900
commit4648ea0c6a25f5c64076e9939d976be3820423ec (patch)
treebc03c9e7ceebc63fe81bdc662e5501bb8d979f6b /kgoldrunner/src/kgrcanvas.cpp
parentc9af7d35b5e4285b5bdf64661268502320ef4255 (diff)
downloadtdegames-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/kgrcanvas.cpp')
-rw-r--r--kgoldrunner/src/kgrcanvas.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kgoldrunner/src/kgrcanvas.cpp b/kgoldrunner/src/kgrcanvas.cpp
index cd364d15..bd642214 100644
--- a/kgoldrunner/src/kgrcanvas.cpp
+++ b/kgoldrunner/src/kgrcanvas.cpp
@@ -396,8 +396,8 @@ void KGrCanvas::initView()
#else
TQPixmap * pm;
TQPoint * pt;
- TQList<TQPixmap> pmList;
- TQList<TQPoint> ptList;
+ TQPtrList<TQPixmap> pmList;
+ TQPtrList<TQPoint> ptList;
pt = new TQPoint (0, 0); // "Hot spot" not used in KGoldrunner.
@@ -469,7 +469,7 @@ void KGrCanvas::initView()
#ifdef QT3
enemySprites = new TQPtrList<TQCanvasSprite> ();
#else
- enemySprites = new TQList<TQCanvasSprite> ();
+ enemySprites = new TQPtrList<TQCanvasSprite> ();
#endif
enemySprites->setAutoDelete(TRUE);
}