From f4fae92b6768541e2952173c3d4b09040f95bf7e Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 16 Feb 2011 20:17:18 +0000 Subject: Moved kpilot from kdepim to applications, as the core Trinity libraries should not contain hardware-dependent software git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1221127 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kalarm/calendarcompat.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'kalarm/calendarcompat.cpp') diff --git a/kalarm/calendarcompat.cpp b/kalarm/calendarcompat.cpp index 50d76c508..f0a349197 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::fromLatin1(" KAlarm "); + TQString progname = TQString::tqfromLatin1(" KAlarm "); int i = prodid.find(progname, 0, false); if (i < 0) { @@ -100,7 +100,7 @@ int CalendarCompat::readKAlarmVersion(KCal::Calendar& calendar, TQString& subVer i = j; if (i <= 0) return 0; // missing version string - ver = ver.left(i); // ver now contains the KAlarm version string + ver = ver.left(i); // ver now tqcontains the KAlarm version string if (ver == KAlarm::currentCalendarVersionString()) return 0; // the calendar is in the current KAlarm format return KAlarm::getVersionNumber(ver, &subVersion); @@ -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::fromLatin1("BEGIN:VCALENDAR"); - TQString VEVENT = TQString::fromLatin1("BEGIN:VEVENT"); - TQString CREATED = TQString::fromLatin1("CREATED:"); + TQString VCALENDAR = TQString::tqfromLatin1("BEGIN:VCALENDAR"); + TQString VEVENT = TQString::tqfromLatin1("BEGIN:VEVENT"); + TQString CREATED = TQString::tqfromLatin1("CREATED:"); TQStringList lines = TQStringList::split(TQChar('\n'), text); for (TQStringList::ConstIterator it = lines.begin(); it != lines.end(); ++it) { -- cgit v1.2.1