From 936370a6413e14b322ce808be07c6c66714941b6 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 22:19:39 +0000 Subject: 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 --- plugins/stats/StatsPluginPrefs.cc | 4 ++-- plugins/stats/StatsPluginPrefs.h | 2 +- plugins/stats/statsplugin.cc | 8 ++++---- plugins/stats/statsplugin.h | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) (limited to 'plugins/stats') diff --git a/plugins/stats/StatsPluginPrefs.cc b/plugins/stats/StatsPluginPrefs.cc index 1d501a6..63a853d 100644 --- a/plugins/stats/StatsPluginPrefs.cc +++ b/plugins/stats/StatsPluginPrefs.cc @@ -54,9 +54,9 @@ bool StatsPluginPrefs::apply () return true; } -void StatsPluginPrefs::createWidget (TQWidget *tqparent) +void StatsPluginPrefs::createWidget (TQWidget *parent) { - pmUi = new StatsPluginPrefsPage(tqparent); + pmUi = new StatsPluginPrefsPage(parent); } void StatsPluginPrefs::updateData () diff --git a/plugins/stats/StatsPluginPrefs.h b/plugins/stats/StatsPluginPrefs.h index 2eabcac..1d5b4f7 100644 --- a/plugins/stats/StatsPluginPrefs.h +++ b/plugins/stats/StatsPluginPrefs.h @@ -55,7 +55,7 @@ class StatsPluginPrefs : public TQObject, public PrefPageInterface virtual ~StatsPluginPrefs(); virtual bool apply (); - virtual void createWidget (TQWidget *tqparent); + virtual void createWidget (TQWidget *parent); virtual void updateData (); virtual void deleteWidget (); signals: diff --git a/plugins/stats/statsplugin.cc b/plugins/stats/statsplugin.cc index 224d736..2980cb3 100644 --- a/plugins/stats/statsplugin.cc +++ b/plugins/stats/statsplugin.cc @@ -25,8 +25,8 @@ K_EXPORT_COMPONENT_FACTORY(ktstatsplugin, KGenericFactory("ktst namespace kt { -StatsPlugin::StatsPlugin(TQObject* tqparent, const char* qt_name, const TQStringList& args): - Plugin(tqparent, qt_name, args, "Statistics", i18n("Statistics"),"Krzysztof Kundzicz", "athantor@gmail.com", i18n("Shows transfers statistics"),"ktimemon"), pmUiSpd(0), pmUiCon(0), pmPrefsUi(0), pmUpdTmr(0) +StatsPlugin::StatsPlugin(TQObject* parent, const char* qt_name, const TQStringList& args): + Plugin(parent, qt_name, args, "Statistics", i18n("Statistics"),"Krzysztof Kundzicz", "athantor@gmail.com", i18n("Shows transfers statistics"),"ktimemon"), pmUiSpd(0), pmUiCon(0), pmPrefsUi(0), pmUpdTmr(0) { mUpAvg = std::make_pair(0.0, 0.0); mDownAvg = std::make_pair(0.0, 0.0); @@ -46,8 +46,8 @@ void StatsPlugin::load() mUpdCtr = 1; mPeerSpdUpdCtr = 1; - pmUiSpd = new StatsSpd(dynamic_cast(tqparent())); - pmUiCon = new StatsCon(dynamic_cast(tqparent())); + pmUiSpd = new StatsSpd(dynamic_cast(parent())); + pmUiCon = new StatsCon(dynamic_cast(parent())); pmPrefsUi = new StatsPluginPrefs(); pmUpdTmr = new TQTimer(this); diff --git a/plugins/stats/statsplugin.h b/plugins/stats/statsplugin.h index df482a7..4266d43 100644 --- a/plugins/stats/statsplugin.h +++ b/plugins/stats/statsplugin.h @@ -134,11 +134,11 @@ class StatsPlugin : public Plugin public: /** \brief Constructor - \param tqparent Parent + \param parent Parent \param qt_name \param args */ - StatsPlugin(TQObject* tqparent, const char* qt_name, const TQStringList& args); + StatsPlugin(TQObject* parent, const char* qt_name, const TQStringList& args); ///Destructor virtual ~StatsPlugin(); -- cgit v1.2.1