diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-28 20:34:15 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-28 20:34:15 +0000 |
commit | 1c1403293485f35fd53db45aaa77a01cdd9627e7 (patch) | |
tree | 38559cd68cd4f63023fb5f6375def9db3b8b491e /plugins/search/searchplugin.h | |
parent | 894f94545727610df22c4f73911d62d58266f695 (diff) | |
download | ktorrent-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/searchplugin.h')
-rw-r--r-- | plugins/search/searchplugin.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/plugins/search/searchplugin.h b/plugins/search/searchplugin.h index ce65499..9bfbb0b 100644 --- a/plugins/search/searchplugin.h +++ b/plugins/search/searchplugin.h @@ -20,7 +20,7 @@ #ifndef KTSEARCHPLUGIN_H #define KTSEARCHPLUGIN_H -#include <qptrlist.h> +#include <tqptrlist.h> #include <interfaces/plugin.h> #include <interfaces/guiinterface.h> #include "searchenginelist.h" @@ -37,28 +37,29 @@ namespace kt class SearchPlugin : public Plugin, public kt::CloseTabListener { Q_OBJECT + TQ_OBJECT public: - SearchPlugin(QObject* parent, const char* name, const QStringList& args); + SearchPlugin(TQObject* tqparent, const char* name, const TQStringList& args); virtual ~SearchPlugin(); virtual void load(); virtual void unload(); - virtual bool versionCheck(const QString& version) const; + virtual bool versionCheck(const TQString& version) const; void preferencesUpdated(); const SearchEngineList & getSearchEngineList() const {return engines;} private slots: - void search(const QString & text,int engine,bool external); + void search(const TQString & text,int engine,bool external); private: - virtual void tabCloseRequest(kt::GUIInterface* gui,QWidget* tab); + virtual void tabCloseRequest(kt::GUIInterface* gui,TQWidget* tab); private: SearchPrefPage* pref; SearchTab* tab; SearchEngineList engines; - QPtrList<SearchWidget> searches; + TQPtrList<SearchWidget> searches; }; } |