summaryrefslogtreecommitdiffstats
path: root/kresources/caldav/preferences.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kresources/caldav/preferences.cpp')
-rw-r--r--kresources/caldav/preferences.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/kresources/caldav/preferences.cpp b/kresources/caldav/preferences.cpp
index 6eb87e450..5259d9877 100644
--- a/kresources/caldav/preferences.cpp
+++ b/kresources/caldav/preferences.cpp
@@ -220,14 +220,14 @@ TQString CalDavPrefs::getFullUrl() {
firstAt = safeURL.find("@") + 1;
while (safeURL.find("@", firstAt) != -1) {
- safeURL.replace(safeURL.find("@", firstAt), 1, "%40");
+ safeURL.tqreplace(safeURL.find("@", firstAt), 1, "%40");
}
// Unencode the username, as Zimbra stupidly rejects the %40
- safeURL.replace("%40", "@");
+ safeURL.tqreplace("%40", "@");
// Encode any spaces, as libcaldav stupidly fails otherwise
- safeURL.replace(" ", "%20");
+ safeURL.tqreplace(" ", "%20");
return safeURL;
}
@@ -247,14 +247,14 @@ TQString CalDavPrefs::getFullTasksUrl() {
firstAt = safeURL.find("@") + 1;
while (safeURL.find("@", firstAt) != -1) {
- safeURL.replace(safeURL.find("@", firstAt), 1, "%40");
+ safeURL.tqreplace(safeURL.find("@", firstAt), 1, "%40");
}
// Unencode the username, as Zimbra stupidly rejects the %40
- safeURL.replace("%40", "@");
+ safeURL.tqreplace("%40", "@");
// Encode any spaces, as libcaldav stupidly fails otherwise
- safeURL.replace(" ", "%20");
+ safeURL.tqreplace(" ", "%20");
return safeURL;
}
@@ -274,14 +274,14 @@ TQString CalDavPrefs::getFullJournalsUrl() {
firstAt = safeURL.find("@") + 1;
while (safeURL.find("@", firstAt) != -1) {
- safeURL.replace(safeURL.find("@", firstAt), 1, "%40");
+ safeURL.tqreplace(safeURL.find("@", firstAt), 1, "%40");
}
// Unencode the username, as Zimbra stupidly rejects the %40
- safeURL.replace("%40", "@");
+ safeURL.tqreplace("%40", "@");
// Encode any spaces, as libcaldav stupidly fails otherwise
- safeURL.replace(" ", "%20");
+ safeURL.tqreplace(" ", "%20");
return safeURL;
}