summaryrefslogtreecommitdiffstats
path: root/kresources/caldav/preferences.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
commit4c6f8d69e2d1501837affb472c4eb8fec4462240 (patch)
tree766a8ad7939fcf3eec534184c36bd0e0f80489e2 /kresources/caldav/preferences.cpp
parent469cc56a805bd3d6940d54adbef554877c29853c (diff)
downloadtdepim-4c6f8d69e2d1501837affb472c4eb8fec4462240.tar.gz
tdepim-4c6f8d69e2d1501837affb472c4eb8fec4462240.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kresources/caldav/preferences.cpp')
-rw-r--r--kresources/caldav/preferences.cpp30
1 files changed, 15 insertions, 15 deletions
diff --git a/kresources/caldav/preferences.cpp b/kresources/caldav/preferences.cpp
index 11de07e98..6eb87e450 100644
--- a/kresources/caldav/preferences.cpp
+++ b/kresources/caldav/preferences.cpp
@@ -218,16 +218,16 @@ TQString CalDavPrefs::getFullUrl() {
safeURL = t.toString();
- firstAt = safeURL.tqfind("@") + 1;
- while (safeURL.tqfind("@", firstAt) != -1) {
- safeURL.tqreplace(safeURL.tqfind("@", firstAt), 1, "%40");
+ firstAt = safeURL.find("@") + 1;
+ while (safeURL.find("@", firstAt) != -1) {
+ safeURL.replace(safeURL.find("@", firstAt), 1, "%40");
}
// Unencode the username, as Zimbra stupidly rejects the %40
- safeURL.tqreplace("%40", "@");
+ safeURL.replace("%40", "@");
// Encode any spaces, as libcaldav stupidly fails otherwise
- safeURL.tqreplace(" ", "%20");
+ safeURL.replace(" ", "%20");
return safeURL;
}
@@ -245,16 +245,16 @@ TQString CalDavPrefs::getFullTasksUrl() {
safeURL = t.toString();
- firstAt = safeURL.tqfind("@") + 1;
- while (safeURL.tqfind("@", firstAt) != -1) {
- safeURL.tqreplace(safeURL.tqfind("@", firstAt), 1, "%40");
+ firstAt = safeURL.find("@") + 1;
+ while (safeURL.find("@", firstAt) != -1) {
+ safeURL.replace(safeURL.find("@", firstAt), 1, "%40");
}
// Unencode the username, as Zimbra stupidly rejects the %40
- safeURL.tqreplace("%40", "@");
+ safeURL.replace("%40", "@");
// Encode any spaces, as libcaldav stupidly fails otherwise
- safeURL.tqreplace(" ", "%20");
+ safeURL.replace(" ", "%20");
return safeURL;
}
@@ -272,16 +272,16 @@ TQString CalDavPrefs::getFullJournalsUrl() {
safeURL = t.toString();
- firstAt = safeURL.tqfind("@") + 1;
- while (safeURL.tqfind("@", firstAt) != -1) {
- safeURL.tqreplace(safeURL.tqfind("@", firstAt), 1, "%40");
+ firstAt = safeURL.find("@") + 1;
+ while (safeURL.find("@", firstAt) != -1) {
+ safeURL.replace(safeURL.find("@", firstAt), 1, "%40");
}
// Unencode the username, as Zimbra stupidly rejects the %40
- safeURL.tqreplace("%40", "@");
+ safeURL.replace("%40", "@");
// Encode any spaces, as libcaldav stupidly fails otherwise
- safeURL.tqreplace(" ", "%20");
+ safeURL.replace(" ", "%20");
return safeURL;
}