From c6b29717327388357badda064ef1ced71932406e 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/kdesvn@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- src/kdesvn_part.cpp | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'src/kdesvn_part.cpp') diff --git a/src/kdesvn_part.cpp b/src/kdesvn_part.cpp index 0aae6db..7d041fb 100644 --- a/src/kdesvn_part.cpp +++ b/src/kdesvn_part.cpp @@ -60,15 +60,15 @@ static const char description[] = I18N_NOOP("A Subversion Client for KDE (dynamic Part component)"); kdesvnPart::kdesvnPart( TQWidget *parentWidget, const char *widgetName, - TQObject *tqparent, const char *name , const TQStringList&) - : KParts::ReadOnlyPart(tqparent, name) + TQObject *parent, const char *name , const TQStringList&) + : KParts::ReadOnlyPart(parent, name) { init(parentWidget,widgetName,false); } kdesvnPart::kdesvnPart(TQWidget *parentWidget, const char *widgetName, - TQObject *tqparent, const char *name,bool ownapp, const TQStringList&) - : KParts::ReadOnlyPart(tqparent, name) + TQObject *parent, const char *name,bool ownapp, const TQStringList&) + : KParts::ReadOnlyPart(parent, name) { init(parentWidget,widgetName,ownapp); } @@ -302,7 +302,7 @@ void KdesvnBrowserExtension::setPropertiesActionEnabled(bool enabled) void KdesvnBrowserExtension::properties() { - static_cast(tqparent())->slotFileProperties(); + static_cast(parent())->slotFileProperties(); } @@ -401,21 +401,21 @@ KAboutData* cFactory::s_about = 0L; commandline_part* cFactory::s_cline = 0L; KParts::Part* cFactory::createPartObject( TQWidget *parentWidget, const char *widgetName, - TQObject *tqparent, const char *name, + TQObject *parent, const char *name, const char *classname, const TQStringList &args ) { Q_UNUSED(classname); // Create an instance of our Part - return new kdesvnPart( parentWidget, widgetName, tqparent, name, args ); + return new kdesvnPart( parentWidget, widgetName, parent, name, args ); } KParts::Part* cFactory::createAppPart( TQWidget *parentWidget, const char *widgetName, - TQObject *tqparent, const char *name, + TQObject *parent, const char *name, const char *classname, const TQStringList &args ) { Q_UNUSED(classname); // Create an instance of our Part - kdesvnPart* obj = new kdesvnPart( parentWidget, widgetName, tqparent, name, false, args); + kdesvnPart* obj = new kdesvnPart( parentWidget, widgetName, parent, name, false, args); emit objectCreated( obj ); return obj; } @@ -439,11 +439,11 @@ KInstance* cFactory::instance() return s_instance; } -commandline_part*cFactory::createCommandIf(TQObject*tqparent,const char*name, KCmdLineArgs *args) +commandline_part*cFactory::createCommandIf(TQObject*parent,const char*name, KCmdLineArgs *args) { if (!s_cline) { // no emit of creation - we will delete this object in destructor - s_cline = new commandline_part(tqparent,name,args); + s_cline = new commandline_part(parent,name,args); } return s_cline; } -- cgit v1.2.1