summaryrefslogtreecommitdiffstats
path: root/kresources/caldav/resource.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kresources/caldav/resource.cpp')
-rw-r--r--kresources/caldav/resource.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kresources/caldav/resource.cpp b/kresources/caldav/resource.cpp
index ea391139f..7d7e2a484 100644
--- a/kresources/caldav/resource.cpp
+++ b/kresources/caldav/resource.cpp
@@ -246,8 +246,8 @@ void ResourceCalDav::init() {
mWriter = new CalDavWriter;
// creating jobs
- // Qt4 handles this quite differently, as shown below,
- // whereas Qt3 needs events (see ::event())
+ // TQt4 handles this quite differently, as shown below,
+ // whereas TQt3 needs events (see ::event())
// connect(mLoader, TQT_SIGNAL(finished()), this, TQT_SLOT(loadFinished()));
// connect(mWriter, TQT_SIGNAL(finished()), this, TQT_SLOT(writingFinished()));
@@ -726,7 +726,7 @@ TQString ResourceCalDav::getICalString(const Incidence::List& inc) {
// Get the iCal header and footer
header = ical.toString(&loc);
- int location = header.find("END:VCALENDAR", 0, true);
+ int location = header.tqfind("END:VCALENDAR", 0, true);
footer = header.mid(location, 0xffffffff);
header.remove("END:VCALENDAR");
@@ -740,8 +740,8 @@ TQString ResourceCalDav::getICalString(const Incidence::List& inc) {
data = data + footer;
// Remove any line feeds/carriage returns/white spaces from the UID field as they WILL break libcaldav
- int uidPos = data.find("UID:", 0) + 4;
- int nextPos = data.findRev("\n", data.find(":", uidPos));
+ int uidPos = data.tqfind("UID:", 0) + 4;
+ int nextPos = data.findRev("\n", data.tqfind(":", uidPos));
TQString uidField = data.mid(uidPos, nextPos-uidPos);
data.remove(uidPos, nextPos-uidPos);
uidField.tqreplace("\n", "");