From bb37c4052a9edfff2196984cef241b1ce2df7bb3 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 19 Dec 2011 11:39:49 -0600 Subject: Remove additional unneeded tq method conversions --- plugins/search/searchplugin.cpp | 2 +- plugins/search/searchprefpage.cpp | 4 ++-- plugins/search/searchwidget.cpp | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'plugins/search') 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.
" "Then copy the URL in the addressbar after the search is finished, and paste it here.

Searching for %1" " on Google for example, will result in http://www.google.com/search?q=FOOBAR&ie=UTF-8&oe=UTF-8.
" - "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()); } -- cgit v1.2.1