diff options
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; } |