diff options
Diffstat (limited to 'kopete/plugins/statistics')
-rw-r--r-- | kopete/plugins/statistics/statisticsdialog.cpp | 4 | ||||
-rw-r--r-- | kopete/plugins/statistics/statisticsdialog.h | 2 | ||||
-rw-r--r-- | kopete/plugins/statistics/statisticsplugin.cpp | 4 | ||||
-rw-r--r-- | kopete/plugins/statistics/statisticsplugin.h | 2 |
4 files changed, 6 insertions, 6 deletions
diff --git a/kopete/plugins/statistics/statisticsdialog.cpp b/kopete/plugins/statistics/statisticsdialog.cpp index 59b2da59..1404e075 100644 --- a/kopete/plugins/statistics/statisticsdialog.cpp +++ b/kopete/plugins/statistics/statisticsdialog.cpp @@ -40,8 +40,8 @@ #include "statisticsplugin.h" #include "statisticsdb.h" -StatisticsDialog::StatisticsDialog(StatisticsContact *contact, StatisticsDB *db, TQWidget* tqparent, - const char* name) : KDialogBase(tqparent, name, false, +StatisticsDialog::StatisticsDialog(StatisticsContact *contact, StatisticsDB *db, TQWidget* parent, + const char* name) : KDialogBase(parent, name, false, i18n("Statistics for %1").tqarg(contact->metaContact()->displayName()), Close, Close), m_db(db), m_contact(contact) { mainWidget = new StatisticsWidget(this); diff --git a/kopete/plugins/statistics/statisticsdialog.h b/kopete/plugins/statistics/statisticsdialog.h index 63d5f499..30d16a33 100644 --- a/kopete/plugins/statistics/statisticsdialog.h +++ b/kopete/plugins/statistics/statisticsdialog.h @@ -41,7 +41,7 @@ class StatisticsDialog : public KDialogBase Q_OBJECT TQ_OBJECT public: - StatisticsDialog(StatisticsContact *contact, StatisticsDB* db, TQWidget* tqparent=0, + StatisticsDialog(StatisticsContact *contact, StatisticsDB* db, TQWidget* parent=0, const char* name="StatisticsDialog"); private: TQString generateHTMLChart(const int *hours, const int *hours2, const int *hours3, const TQString & caption, const TQString & color); diff --git a/kopete/plugins/statistics/statisticsplugin.cpp b/kopete/plugins/statistics/statisticsplugin.cpp index 1d37768f..79135598 100644 --- a/kopete/plugins/statistics/statisticsplugin.cpp +++ b/kopete/plugins/statistics/statisticsplugin.cpp @@ -46,9 +46,9 @@ typedef KGenericFactory<StatisticsPlugin> StatisticsPluginFactory; static const KAboutData aboutdata("kopete_statistics", I18N_NOOP("Statistics") , "0.1" ); K_EXPORT_COMPONENT_FACTORY( kopete_statistics, StatisticsPluginFactory( &aboutdata ) ) -StatisticsPlugin::StatisticsPlugin( TQObject *tqparent, const char *name, const TQStringList &) +StatisticsPlugin::StatisticsPlugin( TQObject *parent, const char *name, const TQStringList &) : DCOPObject("StatisticsDCOPIface"), - Kopete::Plugin( StatisticsPluginFactory::instance(), tqparent, name ) + Kopete::Plugin( StatisticsPluginFactory::instance(), parent, name ) { diff --git a/kopete/plugins/statistics/statisticsplugin.h b/kopete/plugins/statistics/statisticsplugin.h index b3b9c9f9..b6c87d85 100644 --- a/kopete/plugins/statistics/statisticsplugin.h +++ b/kopete/plugins/statistics/statisticsplugin.h @@ -102,7 +102,7 @@ class StatisticsPlugin : public Kopete::Plugin, virtual public StatisticsDCOPIfa TQ_OBJECT public: /// Standard plugin constructors - StatisticsPlugin(TQObject *tqparent, const char *name, const TQStringList &args); + StatisticsPlugin(TQObject *parent, const char *name, const TQStringList &args); ~StatisticsPlugin(); /// Method to access m_db member |