summaryrefslogtreecommitdiffstats
path: root/plugins/stats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/stats')
-rw-r--r--plugins/stats/StatsPluginPrefs.cc4
-rw-r--r--plugins/stats/StatsPluginPrefs.h2
-rw-r--r--plugins/stats/statsplugin.cc8
-rw-r--r--plugins/stats/statsplugin.h4
4 files changed, 9 insertions, 9 deletions
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<kt::StatsPlugin>("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<TQWidget *>(tqparent()));
- pmUiCon = new StatsCon(dynamic_cast<TQWidget *>(tqparent()));
+ pmUiSpd = new StatsSpd(dynamic_cast<TQWidget *>(parent()));
+ pmUiCon = new StatsCon(dynamic_cast<TQWidget *>(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();