summaryrefslogtreecommitdiffstats
path: root/ktux
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
commit1d14c95a7737078a695e99442628f450354c00ff (patch)
treef8a566f01e7edd9974aa10a7af636296cabcb933 /ktux
parent6537a93fb5bfe88e6a3e418f7445dd1202672f1d (diff)
downloadtdetoys-1d14c95a7737078a695e99442628f450354c00ff.tar.gz
tdetoys-1d14c95a7737078a695e99442628f450354c00ff.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdetoys@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ktux')
-rw-r--r--ktux/spriteanim.cpp2
-rw-r--r--ktux/spritemisc.cpp2
-rw-r--r--ktux/spritepm.cpp4
-rw-r--r--ktux/spritepm.h4
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();