summaryrefslogtreecommitdiffstats
path: root/kpacman/painter.h
diff options
context:
space:
mode:
authorgregory guy <gregory-tde@laposte.net>2020-08-17 20:24:48 +0200
committergregory guy <gregory-tde@laposte.net>2020-08-17 20:36:21 +0200
commit5debd26d86e7e1bb9ad9dcfa9b98e672440c195b (patch)
tree54384732139edc59f07b2339d347bc67cf0a35ae /kpacman/painter.h
parent2e2a3c5923526e5f0baa0b4b85d32afec6f19805 (diff)
downloadtdepacman-5debd26d86e7e1bb9ad9dcfa9b98e672440c195b.tar.gz
tdepacman-5debd26d86e7e1bb9ad9dcfa9b98e672440c195b.zip
remove some deprecated qt2 stuff.
TQList --> TQPtrList Signed-off-by: gregory guy <gregory-tde@laposte.net>
Diffstat (limited to 'kpacman/painter.h')
-rw-r--r--kpacman/painter.h32
1 files changed, 16 insertions, 16 deletions
diff --git a/kpacman/painter.h b/kpacman/painter.h
index d44705c..fa84ede 100644
--- a/kpacman/painter.h
+++ b/kpacman/painter.h
@@ -8,7 +8,7 @@
#include <ntqbitmap.h>
#include <ntqlabel.h>
#include <ntqcolor.h>
-#include <ntqlist.h>
+
#include <ntqstrlist.h>
#include <ntqregexp.h>
@@ -106,27 +106,27 @@ private:
TQString lastFruitScorePixmapName;
TQString lastMonsterScorePixmapName;
- TQList<TQPixmap> *loadPixmap(TQWidget *parent, TQString pixmapName,
- TQList<TQPixmap> *pixmaps=0);
- TQList<TQPixmap> *textPixmap(TQStrList &, TQList<TQPixmap> *pixmaps=0,
+ TQPtrList<TQPixmap> *loadPixmap(TQWidget *parent, TQString pixmapName,
+ TQPtrList<TQPixmap> *pixmaps=0);
+ TQPtrList<TQPixmap> *textPixmap(TQStrList &, TQPtrList<TQPixmap> *pixmaps=0,
TQColor fg = BLACK, TQColor bg = TQColor());
- TQList<TQPixmap> *textPixmap(TQString str, TQList<TQPixmap> *pixmaps=0,
+ TQPtrList<TQPixmap> *textPixmap(TQString str, TQPtrList<TQPixmap> *pixmaps=0,
TQColor fg = BLACK, TQColor bg = TQColor());
TQPoint point(int pos);
int checkRange(int value, int max, int min=0);
- TQList<TQPixmap> *wallPix;
- TQList<TQPixmap> *prisonPix;
- TQList<TQPixmap> *pointPix;
- TQList<TQPixmap> *energizerPix;
- TQList<TQPixmap> *fruitPix;
- TQList<TQPixmap> *pacmanPix;
- TQList<TQPixmap> *dyingPix;
- TQList<TQPixmap> *eyesPix;
- TQList<TQPixmap> *monsterPix;
- TQList<TQPixmap> *fruitScorePix;
- TQList<TQPixmap> *monsterScorePix;
+ TQPtrList<TQPixmap> *wallPix;
+ TQPtrList<TQPixmap> *prisonPix;
+ TQPtrList<TQPixmap> *pointPix;
+ TQPtrList<TQPixmap> *energizerPix;
+ TQPtrList<TQPixmap> *fruitPix;
+ TQPtrList<TQPixmap> *pacmanPix;
+ TQPtrList<TQPixmap> *dyingPix;
+ TQPtrList<TQPixmap> *eyesPix;
+ TQPtrList<TQPixmap> *monsterPix;
+ TQPtrList<TQPixmap> *fruitScorePix;
+ TQPtrList<TQPixmap> *monsterScorePix;
TQPixmap roomPix;
TQPixmap backPix;