summaryrefslogtreecommitdiffstats
path: root/kalarm/calendarcompat.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:59:50 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:59:50 -0600
commit9cc13dcbb01a96c9e60a07ca63c61d24b374f50d (patch)
treeab537a329b9613e11dce8195761f93ffe82aed24 /kalarm/calendarcompat.cpp
parent3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12 (diff)
downloadtdepim-9cc13dcbb01a96c9e60a07ca63c61d24b374f50d.tar.gz
tdepim-9cc13dcbb01a96c9e60a07ca63c61d24b374f50d.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12.
Diffstat (limited to 'kalarm/calendarcompat.cpp')
-rw-r--r--kalarm/calendarcompat.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kalarm/calendarcompat.cpp b/kalarm/calendarcompat.cpp
index 87708497..0d049fed 100644
--- a/kalarm/calendarcompat.cpp
+++ b/kalarm/calendarcompat.cpp
@@ -21,7 +21,7 @@
#include "kalarm.h"
#include <tqfile.h>
-#include <textstream.h>
+#include <tqtextstream.h>
#include <tqstringlist.h>
#include <kapplication.h>
@@ -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)
{
@@ -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)
{