diff options
Diffstat (limited to 'ktux')
-rw-r--r-- | ktux/spriteanim.cpp | 2 | ||||
-rw-r--r-- | ktux/spritemisc.cpp | 2 | ||||
-rw-r--r-- | ktux/spritepm.cpp | 4 | ||||
-rw-r--r-- | ktux/spritepm.h | 4 |
4 files changed, 6 insertions, 6 deletions
diff --git a/ktux/spriteanim.cpp b/ktux/spriteanim.cpp index 099ab3b..fdbcd00 100644 --- a/ktux/spriteanim.cpp +++ b/ktux/spriteanim.cpp @@ -44,7 +44,7 @@ void SpriteObject::setBounds( int x1, int y1, int x2, int y2 ) bool SpriteObject::outOfBounds() const { - bool in = mBound.tqcontains( static_cast<int>(x()), static_cast<int>(y()) ); + bool in = mBound.contains( static_cast<int>(x()), static_cast<int>(y()) ); return !in; } diff --git a/ktux/spritemisc.cpp b/ktux/spritemisc.cpp index bf60f86..4b239a6 100644 --- a/ktux/spritemisc.cpp +++ b/ktux/spritemisc.cpp @@ -29,7 +29,7 @@ int SpriteRange::random() const void SpriteRange::set(const TQString &str) { - int r = str.tqfind(".."); + int r = str.find(".."); if (r > 0) { diff --git a/ktux/spritepm.cpp b/ktux/spritepm.cpp index 0fa0ef3..d933144 100644 --- a/ktux/spritepm.cpp +++ b/ktux/spritepm.cpp @@ -39,7 +39,7 @@ SpritePixmapManager::~SpritePixmapManager() // const TQPixmap *SpritePixmapManager::load(const TQString & img) { - TQPixmap *pixmap = mPixmaps.tqfind(img); + TQPixmap *pixmap = mPixmaps.find(img); if (!pixmap) { @@ -115,7 +115,7 @@ SpriteSequenceManager::~SpriteSequenceManager() SpritePixmapSequence *SpriteSequenceManager::load(KConfigBase &config, const TQString & name) { - SpritePixmapSequence *sprite = mSprites.tqfind(name); + SpritePixmapSequence *sprite = mSprites.find(name); if (!sprite) { diff --git a/ktux/spritepm.h b/ktux/spritepm.h index c2d9c3b..b3aaa6e 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.tqfind(img); } + { return mPixmaps.find(img); } static SpritePixmapManager *manager(); @@ -69,7 +69,7 @@ public: SpritePixmapSequence *load(KConfigBase &config, const TQString & name); SpritePixmapSequence *sprite(const char *name) - { return mSprites.tqfind(name); } + { return mSprites.find(name); } static SpriteSequenceManager *manager(); |