From 1d14c95a7737078a695e99442628f450354c00ff Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 06:08:18 +0000 Subject: 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 --- amor/amortips.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'amor/amortips.cpp') 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("", pos + 1, false)) != -1) + while ((pos = content.find("", pos + 1, false)) != -1) { TQString tip = content - .mid(pos + 6, content.tqfind("", pos, false) - pos - 6) - .tqreplace(rx, "\n"); + .mid(pos + 6, content.find("", pos, false) - pos - 6) + .replace(rx, "\n"); if (!tip.endsWith("\n")) tip += "\n"; if (tip.startsWith("\n")) -- cgit v1.2.1