summaryrefslogtreecommitdiffstats
path: root/kugar/part/kugar_factory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kugar/part/kugar_factory.cpp')
-rw-r--r--kugar/part/kugar_factory.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kugar/part/kugar_factory.cpp b/kugar/part/kugar_factory.cpp
index 69d16f21..cc7631e3 100644
--- a/kugar/part/kugar_factory.cpp
+++ b/kugar/part/kugar_factory.cpp
@@ -65,7 +65,7 @@ KAboutData *KugarFactory::aboutData()
// Create a new part.
-KParts::Part* KugarFactory::createPartObject( TQWidget *tqparentWidget, const char *widgetName,
+KParts::Part* KugarFactory::createPartObject( TQWidget *parentWidget, const char *widgetName,
TQObject* tqparent, const char* name, const char* classname, const TQStringList & data )
{
TQString forcedUserTemplate;
@@ -77,15 +77,15 @@ KParts::Part* KugarFactory::createPartObject( TQWidget *tqparentWidget, const ch
}
bool bWantKoDocument = ( strcmp( classname, "KoDocument" ) == 0 );
- // tqparentWidget and widgetName are used by KoDocument for the "readonly+singleView" case.
- KugarPart *part = new KugarPart( tqparentWidget, widgetName, tqparent, name, !bWantKoDocument );
+ // parentWidget and widgetName are used by KoDocument for the "readonly+singleView" case.
+ KugarPart *part = new KugarPart( parentWidget, widgetName, tqparent, name, !bWantKoDocument );
// if ( !bWantKoDocument )
part->setReadWrite( false );
part->setForcedUserTemplate( forcedUserTemplate );
return part;
- //return ( new KugarPart(tqparentWidget,name,forcedUserTemplate));
+ //return ( new KugarPart(parentWidget,name,forcedUserTemplate));
}