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/scheduler | |
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/scheduler')
-rw-r--r-- | plugins/scheduler/bwsprefpagewidget.cpp | 4 | ||||
-rw-r--r-- | plugins/scheduler/bwsprefpagewidget.h | 2 | ||||
-rw-r--r-- | plugins/scheduler/bwswidget.cpp | 4 | ||||
-rw-r--r-- | plugins/scheduler/bwswidget.h | 2 | ||||
-rw-r--r-- | plugins/scheduler/schedulerplugin.cpp | 4 | ||||
-rw-r--r-- | plugins/scheduler/schedulerplugin.h | 2 | ||||
-rw-r--r-- | plugins/scheduler/schedulerprefpage.cpp | 4 | ||||
-rw-r--r-- | plugins/scheduler/schedulerprefpage.h | 2 | ||||
-rw-r--r-- | plugins/scheduler/schedulerprefpagewidget.cpp | 4 | ||||
-rw-r--r-- | plugins/scheduler/schedulerprefpagewidget.h | 2 |
10 files changed, 15 insertions, 15 deletions
diff --git a/plugins/scheduler/bwsprefpagewidget.cpp b/plugins/scheduler/bwsprefpagewidget.cpp index 96e0613..95f72d6 100644 --- a/plugins/scheduler/bwsprefpagewidget.cpp +++ b/plugins/scheduler/bwsprefpagewidget.cpp @@ -45,8 +45,8 @@ namespace kt /* PREF PAGE WIDGET --------------------------------------------------------*/ - BWSPrefPageWidget::BWSPrefPageWidget(TQWidget* tqparent, const char* name, WFlags fl) - : BWSPage(tqparent,name,fl) + BWSPrefPageWidget::BWSPrefPageWidget(TQWidget* parent, const char* name, WFlags fl) + : BWSPage(parent,name,fl) { loadDefault(); diff --git a/plugins/scheduler/bwsprefpagewidget.h b/plugins/scheduler/bwsprefpagewidget.h index 7529887..840311c 100644 --- a/plugins/scheduler/bwsprefpagewidget.h +++ b/plugins/scheduler/bwsprefpagewidget.h @@ -36,7 +36,7 @@ namespace kt Q_OBJECT TQ_OBJECT public: - BWSPrefPageWidget(TQWidget* tqparent = 0, const char* name = 0, WFlags fl = 0 ); + BWSPrefPageWidget(TQWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); ~BWSPrefPageWidget(); /*$PUBLIC_FUNCTIONS$*/ diff --git a/plugins/scheduler/bwswidget.cpp b/plugins/scheduler/bwswidget.cpp index a4180ab..dd9728f 100644 --- a/plugins/scheduler/bwswidget.cpp +++ b/plugins/scheduler/bwswidget.cpp @@ -34,8 +34,8 @@ namespace kt { - BWSWidget::BWSWidget(TQWidget* tqparent, const char* name, bool useColors) - : TQTable(tqparent,name), m_leftCategory(1), m_rightCategory(0), draw_focus(true), right_click(false), use_colors(useColors) + BWSWidget::BWSWidget(TQWidget* parent, const char* name, bool useColors) + : TQTable(parent,name), m_leftCategory(1), m_rightCategory(0), draw_focus(true), right_click(false), use_colors(useColors) { use_colors = SchedulerPluginSettings::useColors(); diff --git a/plugins/scheduler/bwswidget.h b/plugins/scheduler/bwswidget.h index c313dd1..781517a 100644 --- a/plugins/scheduler/bwswidget.h +++ b/plugins/scheduler/bwswidget.h @@ -46,7 +46,7 @@ namespace kt Q_OBJECT TQ_OBJECT public: - BWSWidget(TQWidget* tqparent = 0, const char* name = 0, bool useColors = true); + BWSWidget(TQWidget* parent = 0, const char* name = 0, bool useColors = true); ~BWSWidget(); ///Repaints the whole widget diff --git a/plugins/scheduler/schedulerplugin.cpp b/plugins/scheduler/schedulerplugin.cpp index 9177ebb..ddef7c8 100644 --- a/plugins/scheduler/schedulerplugin.cpp +++ b/plugins/scheduler/schedulerplugin.cpp @@ -55,8 +55,8 @@ namespace kt const TQString EMAIL = "ivasic@gmail.com"; const TQString DESCRIPTION = i18n("Bandwidth scheduling plugin"); - SchedulerPlugin::SchedulerPlugin(TQObject* tqparent, const char* name, const TQStringList& args) - : Plugin(tqparent, name, args,NAME,i18n("Bandwidth Scheduler"),AUTHOR,EMAIL,DESCRIPTION, "clock") + SchedulerPlugin::SchedulerPlugin(TQObject* parent, const char* name, const TQStringList& args) + : Plugin(parent, name, args,NAME,i18n("Bandwidth Scheduler"),AUTHOR,EMAIL,DESCRIPTION, "clock") { setXMLFile("ktschedulerpluginui.rc"); bws_action = 0; diff --git a/plugins/scheduler/schedulerplugin.h b/plugins/scheduler/schedulerplugin.h index 96dad21..8d228c3 100644 --- a/plugins/scheduler/schedulerplugin.h +++ b/plugins/scheduler/schedulerplugin.h @@ -45,7 +45,7 @@ namespace kt Q_OBJECT TQ_OBJECT public: - SchedulerPlugin(TQObject* tqparent, const char* name, const TQStringList& args); + SchedulerPlugin(TQObject* parent, const char* name, const TQStringList& args); virtual ~SchedulerPlugin(); virtual void load(); diff --git a/plugins/scheduler/schedulerprefpage.cpp b/plugins/scheduler/schedulerprefpage.cpp index 076fb5c..8af124b 100644 --- a/plugins/scheduler/schedulerprefpage.cpp +++ b/plugins/scheduler/schedulerprefpage.cpp @@ -48,9 +48,9 @@ namespace kt return true; } - void SchedulerPrefPage::createWidget( TQWidget * tqparent ) + void SchedulerPrefPage::createWidget( TQWidget * parent ) { - widget = new SchedulerPrefPageWidget(tqparent); + widget = new SchedulerPrefPageWidget(parent); } void SchedulerPrefPage::updateData() diff --git a/plugins/scheduler/schedulerprefpage.h b/plugins/scheduler/schedulerprefpage.h index a2efa21..56fbe3b 100644 --- a/plugins/scheduler/schedulerprefpage.h +++ b/plugins/scheduler/schedulerprefpage.h @@ -40,7 +40,7 @@ namespace kt virtual ~SchedulerPrefPage(); virtual bool apply(); - virtual void createWidget(TQWidget* tqparent); + virtual void createWidget(TQWidget* parent); virtual void updateData(); virtual void deleteWidget(); diff --git a/plugins/scheduler/schedulerprefpagewidget.cpp b/plugins/scheduler/schedulerprefpagewidget.cpp index ad12e73..65d600b 100644 --- a/plugins/scheduler/schedulerprefpagewidget.cpp +++ b/plugins/scheduler/schedulerprefpagewidget.cpp @@ -30,8 +30,8 @@ namespace kt { - SchedulerPrefPageWidget::SchedulerPrefPageWidget(TQWidget* tqparent, const char* name, WFlags fl) - : SchedulerPage(tqparent,name,fl) + SchedulerPrefPageWidget::SchedulerPrefPageWidget(TQWidget* parent, const char* name, WFlags fl) + : SchedulerPage(parent,name,fl) { groupBWS->setEnabled(false); bool useit = SchedulerPluginSettings::enableBWS(); diff --git a/plugins/scheduler/schedulerprefpagewidget.h b/plugins/scheduler/schedulerprefpagewidget.h index 5274f3d..567e5d7 100644 --- a/plugins/scheduler/schedulerprefpagewidget.h +++ b/plugins/scheduler/schedulerprefpagewidget.h @@ -34,7 +34,7 @@ namespace kt Q_OBJECT TQ_OBJECT public: - SchedulerPrefPageWidget(TQWidget* tqparent = 0, const char* name = 0, WFlags fl = 0 ); + SchedulerPrefPageWidget(TQWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); ~SchedulerPrefPageWidget(); |