diff options
Diffstat (limited to 'kalarm/calendarcompat.cpp')
-rw-r--r-- | kalarm/calendarcompat.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kalarm/calendarcompat.cpp b/kalarm/calendarcompat.cpp index 0d049fed0..fef0f59df 100644 --- a/kalarm/calendarcompat.cpp +++ b/kalarm/calendarcompat.cpp @@ -80,7 +80,7 @@ int CalendarCompat::readKAlarmVersion(KCal::Calendar& calendar, TQString& subVer const TQString& prodid = calendar.productId(); // Find the KAlarm identifier - TQString progname = TQString::tqfromLatin1(" KAlarm "); + TQString progname = TQString::fromLatin1(" KAlarm "); int i = prodid.find(progname, 0, false); if (i < 0) { @@ -124,9 +124,9 @@ bool CalendarCompat::isUTC(const TQString& localFile) file.close(); // Extract the CREATED property for the first VEVENT from the calendar - TQString VCALENDAR = TQString::tqfromLatin1("BEGIN:VCALENDAR"); - TQString VEVENT = TQString::tqfromLatin1("BEGIN:VEVENT"); - TQString CREATED = TQString::tqfromLatin1("CREATED:"); + TQString VCALENDAR = TQString::fromLatin1("BEGIN:VCALENDAR"); + TQString VEVENT = TQString::fromLatin1("BEGIN:VEVENT"); + TQString CREATED = TQString::fromLatin1("CREATED:"); TQStringList lines = TQStringList::split(TQChar('\n'), text); for (TQStringList::ConstIterator it = lines.begin(); it != lines.end(); ++it) { |