summaryrefslogtreecommitdiffstats
path: root/ktux/spritepm.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-22 21:31:21 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-22 21:31:21 +0000
commita1bd60b34891ccc77056c190d7871bc4b14fe654 (patch)
tree713f2f72c8f08a18df12f5bbeef7f9b61b19d4f1 /ktux/spritepm.h
parent8d92c3c2a4131996726cc7b625d3cd3caec296de (diff)
downloadtdetoys-a1bd60b34891ccc77056c190d7871bc4b14fe654.tar.gz
tdetoys-a1bd60b34891ccc77056c190d7871bc4b14fe654.zip
TQt4 port kdetoys
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdetoys@1238103 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ktux/spritepm.h')
-rw-r--r--ktux/spritepm.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/ktux/spritepm.h b/ktux/spritepm.h
index da3be7e..c2d9c3b 100644
--- a/ktux/spritepm.h
+++ b/ktux/spritepm.h
@@ -34,7 +34,7 @@ public:
{ mPixmapDir = "."; mPixmaps.clear(); }
const TQPixmap *load(const TQString & img);
const TQPixmap *pixmap(const char *img) const
- { return mPixmaps.find(img); }
+ { return mPixmaps.tqfind(img); }
static SpritePixmapManager *manager();
@@ -46,7 +46,7 @@ public:
//---------------------------------------------------------------------------
//
-class SpritePixmapSequence : public QCanvasPixmapArray
+class SpritePixmapSequence : public TQCanvasPixmapArray
{
public:
SpritePixmapSequence(TQPtrList<TQPixmap> pm, TQPtrList<TQPoint> hs, TQMemArray<int> d);
@@ -69,7 +69,7 @@ public:
SpritePixmapSequence *load(KConfigBase &config, const TQString & name);
SpritePixmapSequence *sprite(const char *name)
- { return mSprites.find(name); }
+ { return mSprites.tqfind(name); }
static SpriteSequenceManager *manager();