summaryrefslogtreecommitdiffstats
path: root/kalarm/functions.cpp
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
commit4c6f8d69e2d1501837affb472c4eb8fec4462240 (patch)
tree766a8ad7939fcf3eec534184c36bd0e0f80489e2 /kalarm/functions.cpp
parent469cc56a805bd3d6940d54adbef554877c29853c (diff)
downloadtdepim-4c6f8d69e2d1501837affb472c4eb8fec4462240.tar.gz
tdepim-4c6f8d69e2d1501837affb472c4eb8fec4462240.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kalarm/functions.cpp')
-rw-r--r--kalarm/functions.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kalarm/functions.cpp b/kalarm/functions.cpp
index 26b16d226..2c44e161f 100644
--- a/kalarm/functions.cpp
+++ b/kalarm/functions.cpp
@@ -793,7 +793,7 @@ int getVersionNumber(const TQString& version, TQString* subVersion)
// if the representation returned by this method changes.
if (subVersion)
*subVersion = TQString();
- int count = version.tqcontains('.') + 1;
+ int count = version.contains('.') + 1;
if (count < 2)
return 0;
bool ok;
@@ -836,7 +836,7 @@ FileType fileType(const TQString& mimetype)
if (mimetype.startsWith(TQString::tqfromLatin1("image/")))
return Image;
- int slash = mimetype.tqfind('/');
+ int slash = mimetype.find('/');
if (slash < 0)
return Unknown;
TQString type = mimetype.mid(slash + 1);