From 42a9872891eba166e81cf4f8c062261cc77398f8 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 16 Dec 2011 09:57:16 -0600 Subject: Revert "Rename a number of old tq methods that are no longer tq specific" This reverts commit f96f74ffa7040e64ae3352e08c810c383c8a0ba2. --- plugins/search/htmlpart.cpp | 4 ++-- plugins/search/searchbar.ui | 2 +- plugins/search/searchenginelist.cpp | 2 +- plugins/search/searchplugin.cpp | 2 +- plugins/search/searchpref.ui | 16 ++++++++-------- plugins/search/searchprefpage.cpp | 4 ++-- plugins/search/searchtab.cpp | 2 +- plugins/search/searchwidget.cpp | 10 +++++----- 8 files changed, 21 insertions(+), 21 deletions(-) (limited to 'plugins/search') diff --git a/plugins/search/htmlpart.cpp b/plugins/search/htmlpart.cpp index 52cb764..bad55d6 100644 --- a/plugins/search/htmlpart.cpp +++ b/plugins/search/htmlpart.cpp @@ -21,7 +21,7 @@ #include #include //#include -#include +#include #include #include #include @@ -60,7 +60,7 @@ namespace kt void HTMLPart::copy() { TQString txt = selectedText(); - TQClipboard *cb = TQApplication::clipboard(); + TQClipboard *cb = TQApplication::tqclipboard(); // Copy text into the clipboard if (cb) cb->setText(txt,TQClipboard::Clipboard); diff --git a/plugins/search/searchbar.ui b/plugins/search/searchbar.ui index 7784264..370da86 100644 --- a/plugins/search/searchbar.ui +++ b/plugins/search/searchbar.ui @@ -63,7 +63,7 @@ Maximum - + 60 20 diff --git a/plugins/search/searchenginelist.cpp b/plugins/search/searchenginelist.cpp index 63b932a..a117f79 100644 --- a/plugins/search/searchenginelist.cpp +++ b/plugins/search/searchenginelist.cpp @@ -18,7 +18,7 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * ***************************************************************************/ #include -#include +#include #include #include "searchenginelist.h" diff --git a/plugins/search/searchplugin.cpp b/plugins/search/searchplugin.cpp index 2f63f4e..b22e858 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\"").arg(SearchPluginSettings::customBrowser()).arg(url.url()), SearchPluginSettings::customBrowser(), "viewmag" ); + KRun::runCommand(TQString("%1 \"%2\"").tqarg(SearchPluginSettings::customBrowser()).tqarg(url.url()), SearchPluginSettings::customBrowser(), "viewmag" ); return; } diff --git a/plugins/search/searchpref.ui b/plugins/search/searchpref.ui index 2baa1af..cadfbd8 100644 --- a/plugins/search/searchpref.ui +++ b/plugins/search/searchpref.ui @@ -20,7 +20,7 @@ 0 - + 500 350 @@ -65,7 +65,7 @@ - layout29 + tqlayout29 @@ -97,7 +97,7 @@ Expanding - + 40 20 @@ -129,7 +129,7 @@ - layout22 + tqlayout22 @@ -152,7 +152,7 @@ - layout23 + tqlayout23 @@ -223,7 +223,7 @@ 0 - + 0 50 @@ -235,7 +235,7 @@ - layout5 + tqlayout5 @@ -267,7 +267,7 @@ Maximum - + 16 20 diff --git a/plugins/search/searchprefpage.cpp b/plugins/search/searchprefpage.cpp index c3f1517..adf78ba 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.").arg("FOOBAR").arg("FOOBAR"); + "If you add this URL here, ktorrent can search using Google.").tqarg("FOOBAR").tqarg("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.").arg("FOOBAR"); + "on the search engine you want to add. Use the resulting URL below.").tqarg("FOOBAR"); m_infoLabel->setText(info_short); TQToolTip::add(m_infoLabel,info); TQToolTip::add(m_engine_name,info); diff --git a/plugins/search/searchtab.cpp b/plugins/search/searchtab.cpp index 591fcdb..02f3acf 100644 --- a/plugins/search/searchtab.cpp +++ b/plugins/search/searchtab.cpp @@ -18,7 +18,7 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * ***************************************************************************/ #include -#include +#include #include #include #include diff --git a/plugins/search/searchwidget.cpp b/plugins/search/searchwidget.cpp index adecd51..abe1f39 100644 --- a/plugins/search/searchwidget.cpp +++ b/plugins/search/searchwidget.cpp @@ -21,9 +21,9 @@ #include #include -#include +#include #include -#include +#include #include #include #include @@ -59,8 +59,8 @@ namespace kt SearchWidget::SearchWidget(SearchPlugin* sp) : html_part(0),sp(sp) { - TQVBoxLayout* layout = new TQVBoxLayout(this); - layout->setAutoAdd(true); + TQVBoxLayout* tqlayout = new TQVBoxLayout(this); + tqlayout->setAutoAdd(true); sbar = new SearchBar(this); html_part = new HTMLPart(this); @@ -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...").arg(text)); + statusBarMsg(i18n("Searching for %1...").tqarg(text)); //html_part->openURL(url); html_part->openURLRequest(url,KParts::URLArgs()); } -- cgit v1.2.1