diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
commit | c6b29717327388357badda064ef1ced71932406e (patch) | |
tree | 5d0dadae0d00c60e0773be4e8ee5a60a47615342 /src/kdesvn_part.cpp | |
parent | 93f9fda465964160b66d9252d2cf9b4c284eab50 (diff) | |
download | tdesvn-c6b29717327388357badda064ef1ced71932406e.tar.gz tdesvn-c6b29717327388357badda064ef1ced71932406e.zip |
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
Diffstat (limited to 'src/kdesvn_part.cpp')
-rw-r--r-- | src/kdesvn_part.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
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<kdesvnPart*>(tqparent())->slotFileProperties(); + static_cast<kdesvnPart*>(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; } |