summaryrefslogtreecommitdiffstats
path: root/kalarm/functions.cpp
diff options
context:
space:
mode:
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);