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 5259d9877..11de07e98 100644
--- a/kresources/caldav/preferences.cpp
+++ b/kresources/caldav/preferences.cpp
@@ -218,9 +218,9 @@ TQString CalDavPrefs::getFullUrl() {
safeURL = t.toString();
- firstAt = safeURL.find("@") + 1;
- while (safeURL.find("@", firstAt) != -1) {
- safeURL.tqreplace(safeURL.find("@", firstAt), 1, "%40");
+ firstAt = safeURL.tqfind("@") + 1;
+ while (safeURL.tqfind("@", firstAt) != -1) {
+ safeURL.tqreplace(safeURL.tqfind("@", firstAt), 1, "%40");
}
// Unencode the username, as Zimbra stupidly rejects the %40
@@ -245,9 +245,9 @@ TQString CalDavPrefs::getFullTasksUrl() {
safeURL = t.toString();
- firstAt = safeURL.find("@") + 1;
- while (safeURL.find("@", firstAt) != -1) {
- safeURL.tqreplace(safeURL.find("@", firstAt), 1, "%40");
+ firstAt = safeURL.tqfind("@") + 1;
+ while (safeURL.tqfind("@", firstAt) != -1) {
+ safeURL.tqreplace(safeURL.tqfind("@", firstAt), 1, "%40");
}
// Unencode the username, as Zimbra stupidly rejects the %40
@@ -272,9 +272,9 @@ TQString CalDavPrefs::getFullJournalsUrl() {
safeURL = t.toString();
- firstAt = safeURL.find("@") + 1;
- while (safeURL.find("@", firstAt) != -1) {
- safeURL.tqreplace(safeURL.find("@", firstAt), 1, "%40");
+ firstAt = safeURL.tqfind("@") + 1;
+ while (safeURL.tqfind("@", firstAt) != -1) {
+ safeURL.tqreplace(safeURL.tqfind("@", firstAt), 1, "%40");
}
// Unencode the username, as Zimbra stupidly rejects the %40