summaryrefslogtreecommitdiffstats
path: root/plugins/search/searchtab.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/searchtab.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/searchtab.h')
-rw-r--r--plugins/search/searchtab.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/plugins/search/searchtab.h b/plugins/search/searchtab.h
index c392de9..9c62bf3 100644
--- a/plugins/search/searchtab.h
+++ b/plugins/search/searchtab.h
@@ -33,9 +33,10 @@ namespace kt
/**
Holds all widgets of the toolbar of the search plugin.
*/
- class SearchTab : public QObject
+ class SearchTab : public TQObject
{
Q_OBJECT
+ TQ_OBJECT
public:
SearchTab(KToolBar* toolbar);
@@ -53,12 +54,12 @@ namespace kt
protected slots:
void clearButtonPressed();
void searchNewTabPressed();
- void searchBoxReturn(const QString & str);
- void textChanged(const QString & str);
+ void searchBoxReturn(const TQString & str);
+ void textChanged(const TQString & str);
signals:
/// Emitted when the user presses enter or clicks search
- void search(const QString & text,int engine,bool external);
+ void search(const TQString & text,int engine,bool external);
private:
void loadSearchHistory();