summaryrefslogtreecommitdiffstats
path: root/plugins/search/searchplugin.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/searchplugin.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/searchplugin.cpp')
-rw-r--r--plugins/search/searchplugin.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/search/searchplugin.cpp b/plugins/search/searchplugin.cpp
index 8638dfe..9b13680 100644
--- a/plugins/search/searchplugin.cpp
+++ b/plugins/search/searchplugin.cpp
@@ -102,7 +102,7 @@ namespace kt
engine = 0;
TQString s_url = sl.getSearchURL(engine).prettyURL();
- s_url.tqreplace("FOOBAR", KURL::encode_string(text), true);
+ s_url.replace("FOOBAR", KURL::encode_string(text), true);
KURL url = KURL::fromPathOrURL(s_url);
if(SearchPluginSettings::useDefaultBrowser())
@@ -141,7 +141,7 @@ namespace kt
void SearchPlugin::tabCloseRequest(kt::GUIInterface* gui,TQWidget* tab)
{
- if (searches.tqcontains((SearchWidget*)tab))
+ if (searches.contains((SearchWidget*)tab))
{
searches.remove((SearchWidget*)tab);
gui->removeTabPage(tab);