diff options
Diffstat (limited to 'src/gui/kdeext')
-rw-r--r-- | src/gui/kdeext/QCanvasSimpleSprite.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/kdeext/QCanvasSimpleSprite.cpp b/src/gui/kdeext/QCanvasSimpleSprite.cpp index f2aeb23..17cb5cb 100644 --- a/src/gui/kdeext/QCanvasSimpleSprite.cpp +++ b/src/gui/kdeext/QCanvasSimpleSprite.cpp @@ -82,13 +82,13 @@ QCanvasSimpleSprite::~QCanvasSimpleSprite() TQCanvasPixmapArray* QCanvasSimpleSprite::makePixmapArray(TQPixmap *pixmap) { - TQList<TQPixmap> pixlist; + TQPtrList<TQPixmap> pixlist; pixlist.setAutoDelete(true); // the TQCanvasPixmapArray creates its // own copies of the pixmaps, so we // can delete the one we're passed pixlist.append(pixmap); - TQList<TQPoint> spotlist; + TQPtrList<TQPoint> spotlist; spotlist.setAutoDelete(true); spotlist.append(new TQPoint(0, 0)); @@ -98,13 +98,13 @@ QCanvasSimpleSprite::makePixmapArray(TQPixmap *pixmap) TQCanvasPixmapArray* QCanvasSimpleSprite::makePixmapArray(TQCanvasPixmap *pixmap) { - TQList<TQPixmap> pixlist; + TQPtrList<TQPixmap> pixlist; pixlist.setAutoDelete(true); // the TQCanvasPixmapArray creates its // own copies of the pixmaps, so we // can delete the one we're passed pixlist.append(pixmap); - TQList<TQPoint> spotlist; + TQPtrList<TQPoint> spotlist; spotlist.setAutoDelete(true); spotlist.append(new TQPoint(pixmap->offsetX(), pixmap->offsetY())); |