diff options
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); } |