diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
commit | 936370a6413e14b322ce808be07c6c66714941b6 (patch) | |
tree | 31b9f37bb64beac5eddafef05312da5b48736bd6 /plugins/upnp | |
parent | 2a99db3ebc4c211e436f95fde24b5ac6826d0267 (diff) | |
download | ktorrent-936370a6413e14b322ce808be07c6c66714941b6.tar.gz ktorrent-936370a6413e14b322ce808be07c6c66714941b6.zip |
rename the following methods:
tqparent parent
tqmask mask
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/ktorrent@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'plugins/upnp')
-rw-r--r-- | plugins/upnp/upnpplugin.cpp | 4 | ||||
-rw-r--r-- | plugins/upnp/upnpplugin.h | 2 | ||||
-rw-r--r-- | plugins/upnp/upnpprefpage.cpp | 4 | ||||
-rw-r--r-- | plugins/upnp/upnpprefpage.h | 2 | ||||
-rw-r--r-- | plugins/upnp/upnpprefwidget.cpp | 4 | ||||
-rw-r--r-- | plugins/upnp/upnpprefwidget.h | 2 |
6 files changed, 9 insertions, 9 deletions
diff --git a/plugins/upnp/upnpplugin.cpp b/plugins/upnp/upnpplugin.cpp index 95df507..66ee23c 100644 --- a/plugins/upnp/upnpplugin.cpp +++ b/plugins/upnp/upnpplugin.cpp @@ -42,8 +42,8 @@ K_EXPORT_COMPONENT_FACTORY(ktupnpplugin,KGenericFactory<kt::UPnPPlugin>("ktupnpp namespace kt { - UPnPPlugin::UPnPPlugin(TQObject* tqparent, const char* name, const TQStringList& args) - : Plugin(tqparent, name, args,NAME,i18n("UPnP"),AUTHOR,EMAIL,i18n("Uses UPnP to automatically forward ports on your router"),"ktupnp") + UPnPPlugin::UPnPPlugin(TQObject* parent, const char* name, const TQStringList& args) + : Plugin(parent, name, args,NAME,i18n("UPnP"),AUTHOR,EMAIL,i18n("Uses UPnP to automatically forward ports on your router"),"ktupnp") { sock = 0; pref = 0; diff --git a/plugins/upnp/upnpplugin.h b/plugins/upnp/upnpplugin.h index f6e10f0..54fc619 100644 --- a/plugins/upnp/upnpplugin.h +++ b/plugins/upnp/upnpplugin.h @@ -35,7 +35,7 @@ namespace kt Q_OBJECT TQ_OBJECT public: - UPnPPlugin(TQObject* tqparent, const char* name, const TQStringList& args); + UPnPPlugin(TQObject* parent, const char* name, const TQStringList& args); virtual ~UPnPPlugin(); virtual void load(); diff --git a/plugins/upnp/upnpprefpage.cpp b/plugins/upnp/upnpprefpage.cpp index aa7a241..bce2285 100644 --- a/plugins/upnp/upnpprefpage.cpp +++ b/plugins/upnp/upnpprefpage.cpp @@ -43,9 +43,9 @@ namespace kt return true; } - void UPnPPrefPage::createWidget(TQWidget* tqparent) + void UPnPPrefPage::createWidget(TQWidget* parent) { - widget = new UPnPPrefWidget(tqparent); + widget = new UPnPPrefWidget(parent); TQObject::connect(sock,TQT_SIGNAL(discovered(UPnPRouter* )),widget,TQT_SLOT(addDevice(UPnPRouter* ))); TQObject::connect(widget,TQT_SIGNAL(rescan()),sock,TQT_SLOT(discover())); } diff --git a/plugins/upnp/upnpprefpage.h b/plugins/upnp/upnpprefpage.h index abba967..b66576e 100644 --- a/plugins/upnp/upnpprefpage.h +++ b/plugins/upnp/upnpprefpage.h @@ -46,7 +46,7 @@ namespace kt virtual ~UPnPPrefPage(); virtual bool apply(); - virtual void createWidget(TQWidget* tqparent); + virtual void createWidget(TQWidget* parent); virtual void deleteWidget(); virtual void updateData(); diff --git a/plugins/upnp/upnpprefwidget.cpp b/plugins/upnp/upnpprefwidget.cpp index bc05ad4..9b4c453 100644 --- a/plugins/upnp/upnpprefwidget.cpp +++ b/plugins/upnp/upnpprefwidget.cpp @@ -37,8 +37,8 @@ using namespace bt; namespace kt { - UPnPPrefWidget::UPnPPrefWidget(TQWidget* tqparent, const char* name, WFlags fl) - : UPnPWidget(tqparent,name,fl) + UPnPPrefWidget::UPnPPrefWidget(TQWidget* parent, const char* name, WFlags fl) + : UPnPWidget(parent,name,fl) { def_router = 0; connect(m_forward_btn,TQT_SIGNAL(clicked()),this,TQT_SLOT(onForwardBtnClicked())); diff --git a/plugins/upnp/upnpprefwidget.h b/plugins/upnp/upnpprefwidget.h index 4c2c954..4164943 100644 --- a/plugins/upnp/upnpprefwidget.h +++ b/plugins/upnp/upnpprefwidget.h @@ -44,7 +44,7 @@ namespace kt TQ_OBJECT public: - UPnPPrefWidget(TQWidget* tqparent = 0, const char* name = 0, WFlags fl = 0 ); + UPnPPrefWidget(TQWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); virtual ~UPnPPrefWidget(); void shutdown(bt::WaitJob* job); |