summaryrefslogtreecommitdiffstats
path: root/kalarm/calendarcompat.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kalarm/calendarcompat.cpp')
-rw-r--r--kalarm/calendarcompat.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kalarm/calendarcompat.cpp b/kalarm/calendarcompat.cpp
index 134436a25..0d049fed0 100644
--- a/kalarm/calendarcompat.cpp
+++ b/kalarm/calendarcompat.cpp
@@ -81,21 +81,21 @@ int CalendarCompat::readKAlarmVersion(KCal::Calendar& calendar, TQString& subVer
// Find the KAlarm identifier
TQString progname = TQString::tqfromLatin1(" KAlarm ");
- int i = prodid.tqfind(progname, 0, false);
+ int i = prodid.find(progname, 0, false);
if (i < 0)
{
// Older versions used KAlarm's translated name in the product ID, which
// could have created problems using a calendar in different locales.
progname = TQString(" ") + kapp->aboutData()->programName() + ' ';
- i = prodid.tqfind(progname, 0, false);
+ i = prodid.find(progname, 0, false);
if (i < 0)
return 0; // calendar wasn't created by KAlarm
}
// Extract the KAlarm version string
TQString ver = prodid.mid(i + progname.length()).stripWhiteSpace();
- i = ver.tqfind('/');
- int j = ver.tqfind(' ');
+ i = ver.find('/');
+ int j = ver.find(' ');
if (j >= 0 && j < i)
i = j;
if (i <= 0)