summaryrefslogtreecommitdiffstats
path: root/amor/amoranim.cpp
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 /amor/amoranim.cpp
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 'amor/amoranim.cpp')
-rw-r--r--amor/amoranim.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/amor/amoranim.cpp b/amor/amoranim.cpp
index b4e595b..6be6262 100644
--- a/amor/amoranim.cpp
+++ b/amor/amoranim.cpp
@@ -170,7 +170,7 @@ bool AmorThemeManager::setTheme(const TQString & file)
else
{
// relative to config file.
- mPath.truncate(mPath.findRev('/')+1);
+ mPath.truncate(mPath.tqfindRev('/')+1);
mPath += pixmapPath;
}
@@ -195,7 +195,7 @@ AmorAnim *AmorThemeManager::random(const TQString & group)
if (mStatic)
grp = "Base";
- AmorAnimationGroup *animGroup = mAnimations.find(grp);
+ AmorAnimationGroup *animGroup = mAnimations.tqfind(grp);
if (animGroup) {
int idx = kapp->random()%animGroup->count();
@@ -227,7 +227,7 @@ bool AmorThemeManager::readGroup(const TQString & seq)
mConfig->setGroup(list.at(i));
AmorAnim *anim = new AmorAnim(*mConfig);
animList->append(anim);
- mMaximumSize = mMaximumSize.expandedTo(anim->maximumSize());
+ mMaximumSize = mMaximumSize.expandedTo(anim->tqmaximumSize());
}
// If no animations were available for this group, just add the base anim
@@ -238,7 +238,7 @@ bool AmorThemeManager::readGroup(const TQString & seq)
if (anim)
{
animList->append(anim);
- mMaximumSize = mMaximumSize.expandedTo(anim->maximumSize());
+ mMaximumSize = mMaximumSize.expandedTo(anim->tqmaximumSize());
entries++;
}
}