summaryrefslogtreecommitdiffstats
path: root/kpresenter/KPrFactory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kpresenter/KPrFactory.cpp')
-rw-r--r--kpresenter/KPrFactory.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kpresenter/KPrFactory.cpp b/kpresenter/KPrFactory.cpp
index 96f71348..076c1ce8 100644
--- a/kpresenter/KPrFactory.cpp
+++ b/kpresenter/KPrFactory.cpp
@@ -43,12 +43,12 @@ KPrFactory::~KPrFactory()
s_global=0;
}
-KParts::Part* KPrFactory::createPartObject( TQWidget *tqparentWidget, const char *widgetName, TQObject* tqparent,
+KParts::Part* KPrFactory::createPartObject( TQWidget *parentWidget, const char *widgetName, TQObject* tqparent,
const char* name, const char* classname, const TQStringList & )
{
bool bWantKoDocument = ( strcmp( classname, "KoDocument" ) == 0 );
- KPrDocument *doc = new KPrDocument( tqparentWidget, widgetName, tqparent, name, !bWantKoDocument );
+ KPrDocument *doc = new KPrDocument( parentWidget, widgetName, tqparent, name, !bWantKoDocument );
if ( !bWantKoDocument )
doc->setReadWrite( false );