From 1c1403293485f35fd53db45aaa77a01cdd9627e7 Mon Sep 17 00:00:00 2001 From: tpearson Date: Tue, 28 Jun 2011 20:34:15 +0000 Subject: 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 --- plugins/upnp/upnpprefwidget.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'plugins/upnp/upnpprefwidget.h') diff --git a/plugins/upnp/upnpprefwidget.h b/plugins/upnp/upnpprefwidget.h index 16fa31b..4c2c954 100644 --- a/plugins/upnp/upnpprefwidget.h +++ b/plugins/upnp/upnpprefwidget.h @@ -21,7 +21,7 @@ #ifndef UPNPPREFWIDGET_H #define UPNPPREFWIDGET_H -#include +#include #include "upnprouter.h" #include "upnpwidget.h" @@ -41,9 +41,10 @@ namespace kt class UPnPPrefWidget : public UPnPWidget,public net::PortListener { Q_OBJECT + TQ_OBJECT public: - UPnPPrefWidget(QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); + UPnPPrefWidget(TQWidget* tqparent = 0, const char* name = 0, WFlags fl = 0 ); virtual ~UPnPPrefWidget(); void shutdown(bt::WaitJob* job); @@ -74,7 +75,7 @@ namespace kt virtual void portRemoved(const net::Port & port); private: - QMap itemmap; + TQMap itemmap; UPnPRouter* def_router; }; } -- cgit v1.2.1