From 36a36a5c1015aa0d03f4515c401e907ddb9d6291 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/kdepim@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kontact/plugins/korganizer/kcmkorgsummary.cpp | 8 ++++---- kontact/plugins/korganizer/kcmkorgsummary.h | 2 +- kontact/plugins/korganizer/korganizerplugin.cpp | 4 ++-- kontact/plugins/korganizer/korganizerplugin.h | 2 +- kontact/plugins/korganizer/summarywidget.cpp | 4 ++-- kontact/plugins/korganizer/summarywidget.h | 2 +- kontact/plugins/korganizer/todoplugin.cpp | 4 ++-- kontact/plugins/korganizer/todoplugin.h | 2 +- kontact/plugins/korganizer/todosummarywidget.cpp | 6 +++--- kontact/plugins/korganizer/todosummarywidget.h | 2 +- 10 files changed, 18 insertions(+), 18 deletions(-) (limited to 'kontact/plugins/korganizer') diff --git a/kontact/plugins/korganizer/kcmkorgsummary.cpp b/kontact/plugins/korganizer/kcmkorgsummary.cpp index 9e698a2bd..7aa684f45 100644 --- a/kontact/plugins/korganizer/kcmkorgsummary.cpp +++ b/kontact/plugins/korganizer/kcmkorgsummary.cpp @@ -41,14 +41,14 @@ extern "C" { - KDE_EXPORT KCModule *create_korgsummary( TQWidget *tqparent, const char * ) + KDE_EXPORT KCModule *create_korgsummary( TQWidget *parent, const char * ) { - return new KCMKOrgSummary( tqparent, "kcmkorgsummary" ); + return new KCMKOrgSummary( parent, "kcmkorgsummary" ); } } -KCMKOrgSummary::KCMKOrgSummary( TQWidget *tqparent, const char *name ) - : KCModule( tqparent, name ) +KCMKOrgSummary::KCMKOrgSummary( TQWidget *parent, const char *name ) + : KCModule( parent, name ) { initGUI(); diff --git a/kontact/plugins/korganizer/kcmkorgsummary.h b/kontact/plugins/korganizer/kcmkorgsummary.h index 6d19f30f3..ea698f91a 100644 --- a/kontact/plugins/korganizer/kcmkorgsummary.h +++ b/kontact/plugins/korganizer/kcmkorgsummary.h @@ -35,7 +35,7 @@ class KCMKOrgSummary : public KCModule TQ_OBJECT public: - KCMKOrgSummary( TQWidget *tqparent = 0, const char *name = 0 ); + KCMKOrgSummary( TQWidget *parent = 0, const char *name = 0 ); virtual void load(); virtual void save(); diff --git a/kontact/plugins/korganizer/korganizerplugin.cpp b/kontact/plugins/korganizer/korganizerplugin.cpp index d626c9519..beba17382 100644 --- a/kontact/plugins/korganizer/korganizerplugin.cpp +++ b/kontact/plugins/korganizer/korganizerplugin.cpp @@ -80,14 +80,14 @@ KOrganizerPlugin::~KOrganizerPlugin() { } -Kontact::Summary *KOrganizerPlugin::createSummaryWidget( TQWidget *tqparent ) +Kontact::Summary *KOrganizerPlugin::createSummaryWidget( TQWidget *parent ) { // korg part must be loaded, otherwise when starting kontact on summary view // it won't display our stuff. // If the part is already loaded loadPart() is harmless and just returns loadPart(); - return new SummaryWidget( this, tqparent ); + return new SummaryWidget( this, parent ); } KParts::ReadOnlyPart *KOrganizerPlugin::createPart() diff --git a/kontact/plugins/korganizer/korganizerplugin.h b/kontact/plugins/korganizer/korganizerplugin.h index 4aaa4a0b6..83abfa914 100644 --- a/kontact/plugins/korganizer/korganizerplugin.h +++ b/kontact/plugins/korganizer/korganizerplugin.h @@ -51,7 +51,7 @@ class KOrganizerPlugin : public Kontact::Plugin bool canDecodeDrag( TQMimeSource * ); void processDropEvent( TQDropEvent * ); - virtual Kontact::Summary *createSummaryWidget( TQWidget *tqparent ); + virtual Kontact::Summary *createSummaryWidget( TQWidget *parent ); virtual TQString tipFile() const; virtual TQStringList invisibleToolbarActions() const; diff --git a/kontact/plugins/korganizer/summarywidget.cpp b/kontact/plugins/korganizer/summarywidget.cpp index 03be389c2..b3f73fdf2 100644 --- a/kontact/plugins/korganizer/summarywidget.cpp +++ b/kontact/plugins/korganizer/summarywidget.cpp @@ -50,9 +50,9 @@ #include "summarywidget.h" -SummaryWidget::SummaryWidget( KOrganizerPlugin *plugin, TQWidget *tqparent, +SummaryWidget::SummaryWidget( KOrganizerPlugin *plugin, TQWidget *parent, const char *name ) - : Kontact::Summary( tqparent, name ), mPlugin( plugin ), mCalendar( 0 ) + : Kontact::Summary( parent, name ), mPlugin( plugin ), mCalendar( 0 ) { TQVBoxLayout *mainLayout = new TQVBoxLayout( this, 3, 3 ); diff --git a/kontact/plugins/korganizer/summarywidget.h b/kontact/plugins/korganizer/summarywidget.h index 9e2350ead..1f7df4f1f 100644 --- a/kontact/plugins/korganizer/summarywidget.h +++ b/kontact/plugins/korganizer/summarywidget.h @@ -42,7 +42,7 @@ class SummaryWidget : public Kontact::Summary TQ_OBJECT public: - SummaryWidget( KOrganizerPlugin *plugin, TQWidget *tqparent, + SummaryWidget( KOrganizerPlugin *plugin, TQWidget *parent, const char *name = 0 ); ~SummaryWidget(); diff --git a/kontact/plugins/korganizer/todoplugin.cpp b/kontact/plugins/korganizer/todoplugin.cpp index 6b6238bfe..fa788778e 100644 --- a/kontact/plugins/korganizer/todoplugin.cpp +++ b/kontact/plugins/korganizer/todoplugin.cpp @@ -77,9 +77,9 @@ TodoPlugin::~TodoPlugin() { } -Kontact::Summary *TodoPlugin::createSummaryWidget( TQWidget *tqparent ) +Kontact::Summary *TodoPlugin::createSummaryWidget( TQWidget *parent ) { - return new TodoSummaryWidget( this, tqparent ); + return new TodoSummaryWidget( this, parent ); } KParts::ReadOnlyPart *TodoPlugin::createPart() diff --git a/kontact/plugins/korganizer/todoplugin.h b/kontact/plugins/korganizer/todoplugin.h index 9bff00d0b..4d2896cd2 100644 --- a/kontact/plugins/korganizer/todoplugin.h +++ b/kontact/plugins/korganizer/todoplugin.h @@ -48,7 +48,7 @@ class TodoPlugin : public Kontact::Plugin virtual TQStringList invisibleToolbarActions() const; - virtual Kontact::Summary *createSummaryWidget( TQWidget *tqparent ); + virtual Kontact::Summary *createSummaryWidget( TQWidget *parent ); void select(); diff --git a/kontact/plugins/korganizer/todosummarywidget.cpp b/kontact/plugins/korganizer/todosummarywidget.cpp index 1109f314a..8d78d3725 100644 --- a/kontact/plugins/korganizer/todosummarywidget.cpp +++ b/kontact/plugins/korganizer/todosummarywidget.cpp @@ -53,8 +53,8 @@ #include "todosummarywidget.h" TodoSummaryWidget::TodoSummaryWidget( TodoPlugin *plugin, - TQWidget *tqparent, const char *name ) - : Kontact::Summary( tqparent, name ), mPlugin( plugin ) + TQWidget *parent, const char *name ) + : Kontact::Summary( parent, name ), mPlugin( plugin ) { TQVBoxLayout *mainLayout = new TQVBoxLayout( this, 3, 3 ); @@ -152,7 +152,7 @@ void TodoSummaryWidget::updateView() mLabels.append( label ); TQString sSummary = todo->summary(); - if ( todo->relatedTo() ) { // show tqparent only, not entire ancestry + if ( todo->relatedTo() ) { // show parent only, not entire ancestry sSummary = todo->relatedTo()->summary() + ":" + todo->summary(); } KURLLabel *urlLabel = new KURLLabel( this ); diff --git a/kontact/plugins/korganizer/todosummarywidget.h b/kontact/plugins/korganizer/todosummarywidget.h index 974a45b30..e8374edc1 100644 --- a/kontact/plugins/korganizer/todosummarywidget.h +++ b/kontact/plugins/korganizer/todosummarywidget.h @@ -42,7 +42,7 @@ class TodoSummaryWidget : public Kontact::Summary TQ_OBJECT public: - TodoSummaryWidget( TodoPlugin *plugin, TQWidget *tqparent, + TodoSummaryWidget( TodoPlugin *plugin, TQWidget *parent, const char *name = 0 ); ~TodoSummaryWidget(); -- cgit v1.2.1