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/interfaces/core.cpp | 4 ++-- kontact/interfaces/plugin.cpp | 4 ++-- kontact/interfaces/plugin.h | 4 ++-- kontact/interfaces/summary.cpp | 8 ++++---- kontact/interfaces/summary.h | 4 ++-- 5 files changed, 12 insertions(+), 12 deletions(-) (limited to 'kontact/interfaces') diff --git a/kontact/interfaces/core.cpp b/kontact/interfaces/core.cpp index 997ad8c48..e4e44e704 100644 --- a/kontact/interfaces/core.cpp +++ b/kontact/interfaces/core.cpp @@ -37,8 +37,8 @@ public: TQString lastErrorMessage; }; -Core::Core( TQWidget *tqparent, const char *name ) - : KParts::MainWindow( tqparent, name ) +Core::Core( TQWidget *parent, const char *name ) + : KParts::MainWindow( parent, name ) { d = new Private; TQTimer* timer = new TQTimer( this ); diff --git a/kontact/interfaces/plugin.cpp b/kontact/interfaces/plugin.cpp index 1d7a2a1a4..14248250e 100644 --- a/kontact/interfaces/plugin.cpp +++ b/kontact/interfaces/plugin.cpp @@ -53,8 +53,8 @@ class Plugin::Private }; -Plugin::Plugin( Kontact::Core *core, TQObject *tqparent, const char *name ) - : KXMLGUIClient( core ), TQObject( tqparent, name ), d( new Private ) +Plugin::Plugin( Kontact::Core *core, TQObject *parent, const char *name ) + : KXMLGUIClient( core ), TQObject( parent, name ), d( new Private ) { core->factory()->addClient( this ); KGlobal::locale()->insertCatalogue(name); diff --git a/kontact/interfaces/plugin.h b/kontact/interfaces/plugin.h index f0fcc1547..c532f86f1 100644 --- a/kontact/interfaces/plugin.h +++ b/kontact/interfaces/plugin.h @@ -69,7 +69,7 @@ class KDE_EXPORT Plugin : public TQObject, virtual public KXMLGUIClient provides the part! This is the name used for DCOP registration. It's ok to have several plugins using the same application name. */ - Plugin( Core *core, TQObject *tqparent, const char *name ); + Plugin( Core *core, TQObject *parent, const char *name ); ~Plugin(); @@ -172,7 +172,7 @@ class KDE_EXPORT Plugin : public TQObject, virtual public KXMLGUIClient Reimplement this method if you want to add a widget for your application to Kontact's summary page. */ - virtual Summary *createSummaryWidget( TQWidget * /*tqparent*/ ) { return 0; } + virtual Summary *createSummaryWidget( TQWidget * /*parent*/ ) { return 0; } /** Returns whether the plugin provides a part that should be shown in the sidebar. diff --git a/kontact/interfaces/summary.cpp b/kontact/interfaces/summary.cpp index 4fa495bf1..085125222 100644 --- a/kontact/interfaces/summary.cpp +++ b/kontact/interfaces/summary.cpp @@ -34,8 +34,8 @@ using namespace Kontact; -Summary::Summary( TQWidget *tqparent, const char *name ) - : TQWidget( tqparent, name ) +Summary::Summary( TQWidget *parent, const char *name ) + : TQWidget( parent, name ) { setAcceptDrops( true ); } @@ -44,9 +44,9 @@ Summary::~Summary() { } -TQWidget* Summary::createHeader(TQWidget *tqparent, const TQPixmap& icon, const TQString& heading) +TQWidget* Summary::createHeader(TQWidget *parent, const TQPixmap& icon, const TQString& heading) { - TQHBox* hbox = new TQHBox( tqparent ); + TQHBox* hbox = new TQHBox( parent ); hbox->setMargin( 2 ); TQFont boldFont; diff --git a/kontact/interfaces/summary.h b/kontact/interfaces/summary.h index a845401fc..f6efa3087 100644 --- a/kontact/interfaces/summary.h +++ b/kontact/interfaces/summary.h @@ -39,7 +39,7 @@ class KDE_EXPORT Summary : public TQWidget TQ_OBJECT public: - Summary( TQWidget *tqparent, const char *name = 0 ); + Summary( TQWidget *parent, const char *name = 0 ); virtual ~Summary(); @@ -53,7 +53,7 @@ class KDE_EXPORT Summary : public TQWidget /** Creates a heading for a typical summary view with an icon and a heading. */ - TQWidget *createHeader( TQWidget* tqparent, const TQPixmap &icon, + TQWidget *createHeader( TQWidget* parent, const TQPixmap &icon, const TQString& heading ); /** -- cgit v1.2.1