diff options
author | gregory guy <gregory-tde@laposte.net> | 2020-08-17 20:24:48 +0200 |
---|---|---|
committer | gregory guy <gregory-tde@laposte.net> | 2020-08-17 20:36:21 +0200 |
commit | 5debd26d86e7e1bb9ad9dcfa9b98e672440c195b (patch) | |
tree | 54384732139edc59f07b2339d347bc67cf0a35ae /kpacman/painter.cpp | |
parent | 2e2a3c5923526e5f0baa0b4b85d32afec6f19805 (diff) | |
download | tdepacman-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.cpp')
-rw-r--r-- | kpacman/painter.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kpacman/painter.cpp b/kpacman/painter.cpp index b585df3..7df62c2 100644 --- a/kpacman/painter.cpp +++ b/kpacman/painter.cpp @@ -53,11 +53,11 @@ Painter::Painter( Board *b, TQWidget *parent, int Scheme, int Mode, Bitfont *fon confScheme(); } -TQList<TQPixmap> *Painter::loadPixmap(TQWidget *parent, TQString pixmapName, - TQList<TQPixmap> *pixmaps) +TQPtrList<TQPixmap> *Painter::loadPixmap(TQWidget *parent, TQString pixmapName, + TQPtrList<TQPixmap> *pixmaps) { if (pixmaps == NULL) { - pixmaps = new TQList<TQPixmap>; + pixmaps = new TQPtrList<TQPixmap>; pixmaps->setAutoDelete(TRUE); } @@ -95,11 +95,11 @@ TQList<TQPixmap> *Painter::loadPixmap(TQWidget *parent, TQString pixmapName, return pixmaps; } -TQList<TQPixmap> *Painter::textPixmap(TQStrList &str, TQList<TQPixmap> *pixmaps, +TQPtrList<TQPixmap> *Painter::textPixmap(TQStrList &str, TQPtrList<TQPixmap> *pixmaps, TQColor fg, TQColor bg) { if (pixmaps == NULL) { - pixmaps = new TQList<TQPixmap>; + pixmaps = new TQPtrList<TQPixmap>; pixmaps->setAutoDelete(TRUE); } @@ -114,11 +114,11 @@ TQList<TQPixmap> *Painter::textPixmap(TQStrList &str, TQList<TQPixmap> *pixmaps, return pixmaps; } -TQList<TQPixmap> *Painter::textPixmap(TQString str, TQList<TQPixmap> *pixmaps, +TQPtrList<TQPixmap> *Painter::textPixmap(TQString str, TQPtrList<TQPixmap> *pixmaps, TQColor fg, TQColor bg) { if (pixmaps == NULL) { - pixmaps = new TQList<TQPixmap>; + pixmaps = new TQPtrList<TQPixmap>; pixmaps->setAutoDelete(TRUE); } |