diff options
Diffstat (limited to 'amor')
-rw-r--r-- | amor/amoranim.cpp | 4 | ||||
-rw-r--r-- | amor/amorpm.cpp | 2 | ||||
-rw-r--r-- | amor/amorpm.h | 2 | ||||
-rw-r--r-- | amor/amortips.cpp | 6 |
4 files changed, 7 insertions, 7 deletions
diff --git a/amor/amoranim.cpp b/amor/amoranim.cpp index 6be6262..31b4f6f 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.tqfindRev('/')+1); + mPath.truncate(mPath.findRev('/')+1); mPath += pixmapPath; } @@ -195,7 +195,7 @@ AmorAnim *AmorThemeManager::random(const TQString & group) if (mStatic) grp = "Base"; - AmorAnimationGroup *animGroup = mAnimations.tqfind(grp); + AmorAnimationGroup *animGroup = mAnimations.find(grp); if (animGroup) { int idx = kapp->random()%animGroup->count(); diff --git a/amor/amorpm.cpp b/amor/amorpm.cpp index 9d58794..75a87b3 100644 --- a/amor/amorpm.cpp +++ b/amor/amorpm.cpp @@ -56,7 +56,7 @@ AmorPixmapManager::~AmorPixmapManager() // const TQPixmap *AmorPixmapManager::load(const TQString & img) { - TQPixmap *pixmap = mPixmaps.tqfind(img); + TQPixmap *pixmap = mPixmaps.find(img); if (!pixmap) { diff --git a/amor/amorpm.h b/amor/amorpm.h index 633bf2e..ad2a355 100644 --- a/amor/amorpm.h +++ b/amor/amorpm.h @@ -50,7 +50,7 @@ public: { mPixmapDir = "."; mPixmaps.clear(); } const TQPixmap *load(const TQString & img); const TQPixmap *pixmap(const TQString & img) const - { return mPixmaps.tqfind(img); } + { return mPixmaps.find(img); } static AmorPixmapManager *manager(); diff --git a/amor/amortips.cpp b/amor/amortips.cpp index c8da178..798657e 100644 --- a/amor/amortips.cpp +++ b/amor/amortips.cpp @@ -103,11 +103,11 @@ bool AmorTips::readKTips() const TQRegExp rx("\\n+"); int pos = -1; - while ((pos = content.tqfind("<html>", pos + 1, false)) != -1) + while ((pos = content.find("<html>", pos + 1, false)) != -1) { TQString tip = content - .mid(pos + 6, content.tqfind("</html>", pos, false) - pos - 6) - .tqreplace(rx, "\n"); + .mid(pos + 6, content.find("</html>", pos, false) - pos - 6) + .replace(rx, "\n"); if (!tip.endsWith("\n")) tip += "\n"; if (tip.startsWith("\n")) |