summaryrefslogtreecommitdiffstats
path: root/plugins/search
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/search')
-rw-r--r--plugins/search/htmlpart.cpp4
-rw-r--r--plugins/search/searchbar.ui2
-rw-r--r--plugins/search/searchenginelist.cpp2
-rw-r--r--plugins/search/searchplugin.cpp2
-rw-r--r--plugins/search/searchpref.ui16
-rw-r--r--plugins/search/searchprefpage.cpp4
-rw-r--r--plugins/search/searchtab.cpp2
-rw-r--r--plugins/search/searchwidget.cpp10
8 files changed, 21 insertions, 21 deletions
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 <kio/job.h>
#include <kio/jobclasses.h>
//#include <tqfile.h>
-#include <clipboard.h>
+#include <tqclipboard.h>
#include <tqapplication.h>
#include <kio/netaccess.h>
#include <klocale.h>
@@ -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 @@
<property name="sizeType">
<enum>Maximum</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>60</width>
<height>20</height>
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 <tqfile.h>
-#include <textstream.h>
+#include <tqtextstream.h>
#include <tqstringlist.h>
#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 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
- <property name="minimumSize">
+ <property name="tqminimumSize">
<size>
<width>500</width>
<height>350</height>
@@ -65,7 +65,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>layout29</cstring>
+ <cstring>tqlayout29</cstring>
</property>
<hbox>
<property name="name">
@@ -97,7 +97,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>40</width>
<height>20</height>
@@ -129,7 +129,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>layout22</cstring>
+ <cstring>tqlayout22</cstring>
</property>
<hbox>
<property name="name">
@@ -152,7 +152,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>layout23</cstring>
+ <cstring>tqlayout23</cstring>
</property>
<hbox>
<property name="name">
@@ -223,7 +223,7 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
- <property name="minimumSize">
+ <property name="tqminimumSize">
<size>
<width>0</width>
<height>50</height>
@@ -235,7 +235,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>layout5</cstring>
+ <cstring>tqlayout5</cstring>
</property>
<hbox>
<property name="name">
@@ -267,7 +267,7 @@
<property name="sizeType">
<enum>Maximum</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>16</width>
<height>20</height>
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. <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.").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 <tqfile.h>
-#include <textstream.h>
+#include <tqtextstream.h>
#include <tqapplication.h>
#include <tqlistbox.h>
#include <tqcheckbox.h>
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 <kapplication.h>
#include <khtmlview.h>
-#include <layout.h>
+#include <tqlayout.h>
#include <tqfile.h>
-#include <textstream.h>
+#include <tqtextstream.h>
#include <tqstring.h>
#include <tqstringlist.h>
#include <klineedit.h>
@@ -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());
}