summaryrefslogtreecommitdiffstats
path: root/plugins/search
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:39:49 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:39:49 -0600
commitbb37c4052a9edfff2196984cef241b1ce2df7bb3 (patch)
tree20f184005dcb8d5315aec18cb3253c7ff452c8ca /plugins/search
parenta90eb215f53c95d81f95b32255098066d90556d9 (diff)
downloadktorrent-bb37c4052a9edfff2196984cef241b1ce2df7bb3.tar.gz
ktorrent-bb37c4052a9edfff2196984cef241b1ce2df7bb3.zip
Remove additional unneeded tq method conversions
Diffstat (limited to 'plugins/search')
-rw-r--r--plugins/search/searchplugin.cpp2
-rw-r--r--plugins/search/searchprefpage.cpp4
-rw-r--r--plugins/search/searchwidget.cpp2
3 files changed, 4 insertions, 4 deletions
diff --git a/plugins/search/searchplugin.cpp b/plugins/search/searchplugin.cpp
index b22e858..2f63f4e 100644
--- a/plugins/search/searchplugin.cpp
+++ b/plugins/search/searchplugin.cpp
@@ -108,7 +108,7 @@ namespace kt
if(SearchPluginSettings::useDefaultBrowser())
kapp->invokeBrowser(url.url());
else
- KRun::runCommand(TQString("%1 \"%2\"").tqarg(SearchPluginSettings::customBrowser()).tqarg(url.url()), SearchPluginSettings::customBrowser(), "viewmag" );
+ KRun::runCommand(TQString("%1 \"%2\"").arg(SearchPluginSettings::customBrowser()).arg(url.url()), SearchPluginSettings::customBrowser(), "viewmag" );
return;
}
diff --git a/plugins/search/searchprefpage.cpp b/plugins/search/searchprefpage.cpp
index adf78ba..c3f1517 100644
--- a/plugins/search/searchprefpage.cpp
+++ b/plugins/search/searchprefpage.cpp
@@ -53,9 +53,9 @@ namespace kt
" (capital letters) on the search engine you want to add. <br> "
"Then copy the URL in the addressbar after the search is finished, and paste it here.<br><br>Searching for %1"
" on Google for example, will result in http://www.google.com/search?q=FOOBAR&ie=UTF-8&oe=UTF-8. <br> "
- "If you add this URL here, ktorrent can search using Google.").tqarg("FOOBAR").tqarg("FOOBAR");
+ "If you add this URL here, ktorrent can search using Google.").arg("FOOBAR").arg("FOOBAR");
TQString info_short = i18n("Use your web browser to search for the string %1 (capital letters) "
- "on the search engine you want to add. Use the resulting URL below.").tqarg("FOOBAR");
+ "on the search engine you want to add. Use the resulting URL below.").arg("FOOBAR");
m_infoLabel->setText(info_short);
TQToolTip::add(m_infoLabel,info);
TQToolTip::add(m_engine_name,info);
diff --git a/plugins/search/searchwidget.cpp b/plugins/search/searchwidget.cpp
index abe1f39..67f6dfa 100644
--- a/plugins/search/searchwidget.cpp
+++ b/plugins/search/searchwidget.cpp
@@ -175,7 +175,7 @@ namespace kt
s_url.replace("FOOBAR", KURL::encode_string(text), true);
KURL url = KURL::fromPathOrURL(s_url);
- statusBarMsg(i18n("Searching for %1...").tqarg(text));
+ statusBarMsg(i18n("Searching for %1...").arg(text));
//html_part->openURL(url);
html_part->openURLRequest(url,KParts::URLArgs());
}