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