summaryrefslogtreecommitdiffstats
path: root/plugins/search/searchenginelist.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
commit2a99db3ebc4c211e436f95fde24b5ac6826d0267 (patch)
treece2e122a017c12f803ea428a299c7e3cec52c8fe /plugins/search/searchenginelist.cpp
parent100dcb6968ca22bfa52836ad55eb4f01225791db (diff)
downloadktorrent-2a99db3ebc4c211e436f95fde24b5ac6826d0267.tar.gz
ktorrent-2a99db3ebc4c211e436f95fde24b5ac6826d0267.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/ktorrent@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'plugins/search/searchenginelist.cpp')
-rw-r--r--plugins/search/searchenginelist.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/search/searchenginelist.cpp b/plugins/search/searchenginelist.cpp
index 9e22990..a117f79 100644
--- a/plugins/search/searchenginelist.cpp
+++ b/plugins/search/searchenginelist.cpp
@@ -51,9 +51,9 @@ namespace kt
// replace spaces by %20
TQString name = e.name;
- name = name.tqreplace(" ","%20");
+ name = name.replace(" ","%20");
TQString u = e.url.prettyURL();
- u = u.tqreplace(" ","%20");
+ u = u.replace(" ","%20");
out << name << " " << u << ::endl;
i++;
}
@@ -85,7 +85,7 @@ namespace kt
SearchEngine se;
se.name = tokens[0];
- se.name = se.name.tqreplace("%20"," ");
+ se.name = se.name.replace("%20"," ");
se.url = KURL::fromPathOrURL(tokens[1]);
for(Uint32 i=2; i<tokens.count(); ++i)