summaryrefslogtreecommitdiffstats
path: root/plugins/search/searchwidget.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-28 20:34:15 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-28 20:34:15 +0000
commit1c1403293485f35fd53db45aaa77a01cdd9627e7 (patch)
tree38559cd68cd4f63023fb5f6375def9db3b8b491e /plugins/search/searchwidget.h
parent894f94545727610df22c4f73911d62d58266f695 (diff)
downloadktorrent-1c1403293485f35fd53db45aaa77a01cdd9627e7.tar.gz
ktorrent-1c1403293485f35fd53db45aaa77a01cdd9627e7.zip
TQt4 port ktorrent
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/ktorrent@1238733 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'plugins/search/searchwidget.h')
-rw-r--r--plugins/search/searchwidget.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/plugins/search/searchwidget.h b/plugins/search/searchwidget.h
index 36fb73e..fc03a06 100644
--- a/plugins/search/searchwidget.h
+++ b/plugins/search/searchwidget.h
@@ -20,8 +20,8 @@
#ifndef BTSEARCHWIDGET_H
#define BTSEARCHWIDGET_H
-#include <qwidget.h>
-#include <qvaluevector.h>
+#include <tqwidget.h>
+#include <tqvaluevector.h>
#include <kurl.h>
class SearchBar;
@@ -45,9 +45,10 @@ namespace kt
Widget which shows a KHTML window with the users search in it
*/
- class SearchWidget : public QWidget
+ class SearchWidget : public TQWidget
{
Q_OBJECT
+ TQ_OBJECT
public:
SearchWidget(SearchPlugin* sp);
virtual ~SearchWidget();
@@ -57,21 +58,21 @@ namespace kt
void updateSearchEngines(const SearchEngineList & sl);
public slots:
- void search(const QString & text,int engine = 0);
+ void search(const TQString & text,int engine = 0);
void copy();
void onShutDown();
private slots:
void searchPressed();
void clearPressed();
- void onURLHover(const QString & url);
+ void onURLHover(const TQString & url);
void onFinished();
void onOpenTorrent(const KURL & url);
void onSaveTorrent(const KURL & url);
- void showPopupMenu(const QString & s,const QPoint & p);
+ void showPopupMenu(const TQString & s,const TQPoint & p);
void onBackAvailable(bool available);
void onFrameAdded(KParts::Part* p);
- void statusBarMsg(const QString & url);
+ void statusBarMsg(const TQString & url);
void openTorrent(const KURL & url);
void loadingProgress(int perc);