summaryrefslogtreecommitdiffstats
path: root/kresources/caldav/preferences.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-16 20:17:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-16 20:17:18 +0000
commitf4fae92b6768541e2952173c3d4b09040f95bf7e (patch)
treed8c5d93232235cd635f3310b4d95490df181ba2d /kresources/caldav/preferences.cpp
parent125c0a08265b75a133644d3b55f47e37c919f45d (diff)
downloadtdepim-f4fae92b6768541e2952173c3d4b09040f95bf7e.tar.gz
tdepim-f4fae92b6768541e2952173c3d4b09040f95bf7e.zip
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
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;
}