summaryrefslogtreecommitdiffstats
path: root/kword/KWFactory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kword/KWFactory.cpp')
-rw-r--r--kword/KWFactory.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kword/KWFactory.cpp b/kword/KWFactory.cpp
index f19bdc8a..142fb1fb 100644
--- a/kword/KWFactory.cpp
+++ b/kword/KWFactory.cpp
@@ -28,8 +28,8 @@
KInstance* KWFactory::s_instance = 0;
KAboutData* KWFactory::s_aboutData = 0;
-KWFactory::KWFactory( QObject* parent, const char* name )
- : KoFactory( parent, name )
+KWFactory::KWFactory( TQObject* tqparent, const char* name )
+ : KoFactory( tqparent, name )
{
// Create our instance, so that it becomes KGlobal::instance if the
// main app is KWord.
@@ -44,11 +44,11 @@ KWFactory::~KWFactory()
s_instance=0L;
}
-KParts::Part* KWFactory::createPartObject( QWidget *parentWidget, const char *widname, QObject* parent, const char* name, const char* classname, const QStringList & )
+KParts::Part* KWFactory::createPartObject( TQWidget *tqparentWidget, const char *widname, TQObject* tqparent, const char* name, const char* classname, const TQStringList & )
{
bool bWantKoDocument = ( strcmp( classname, "KoDocument" ) == 0 );
- KWDocument *doc = new KWDocument( parentWidget, widname, parent, name, !bWantKoDocument );
+ KWDocument *doc = new KWDocument( tqparentWidget, widname, tqparent, name, !bWantKoDocument );
if ( !bWantKoDocument )
doc->setReadWrite( false );