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/upnp/upnpprefpage.cpp | |
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/upnp/upnpprefpage.cpp')
-rw-r--r-- | plugins/upnp/upnpprefpage.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/upnp/upnpprefpage.cpp b/plugins/upnp/upnpprefpage.cpp index dc50c2f..aa7a241 100644 --- a/plugins/upnp/upnpprefpage.cpp +++ b/plugins/upnp/upnpprefpage.cpp @@ -43,11 +43,11 @@ namespace kt return true; } - void UPnPPrefPage::createWidget(QWidget* parent) + void UPnPPrefPage::createWidget(TQWidget* tqparent) { - widget = new UPnPPrefWidget(parent); - QObject::connect(sock,SIGNAL(discovered(UPnPRouter* )),widget,SLOT(addDevice(UPnPRouter* ))); - QObject::connect(widget,SIGNAL(rescan()),sock,SLOT(discover())); + widget = new UPnPPrefWidget(tqparent); + TQObject::connect(sock,TQT_SIGNAL(discovered(UPnPRouter* )),widget,TQT_SLOT(addDevice(UPnPRouter* ))); + TQObject::connect(widget,TQT_SIGNAL(rescan()),sock,TQT_SLOT(discover())); } void UPnPPrefPage::deleteWidget() |