From a1bd60b34891ccc77056c190d7871bc4b14fe654 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 22 Jun 2011 21:31:21 +0000 Subject: 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 --- amor/amoranim.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'amor/amoranim.cpp') 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++; } } -- cgit v1.2.1