summaryrefslogtreecommitdiffstats
path: root/plugins/upnp/upnpprefwidget.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/upnp/upnpprefwidget.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/upnp/upnpprefwidget.h')
-rw-r--r--plugins/upnp/upnpprefwidget.h7
1 files changed, 4 insertions, 3 deletions
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 <qmap.h>
+#include <tqmap.h>
#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<KListViewItem*,UPnPRouter*> itemmap;
+ TQMap<KListViewItem*,UPnPRouter*> itemmap;
UPnPRouter* def_router;
};
}