diff options
Diffstat (limited to 'kivio/kiviopart/kivio_factory.cpp')
-rw-r--r-- | kivio/kiviopart/kivio_factory.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kivio/kiviopart/kivio_factory.cpp b/kivio/kiviopart/kivio_factory.cpp index 079f7c12..39a367ab 100644 --- a/kivio/kiviopart/kivio_factory.cpp +++ b/kivio/kiviopart/kivio_factory.cpp @@ -29,8 +29,8 @@ KInstance* KivioFactory::s_global = 0; KAboutData* KivioFactory::s_aboutData = 0; -KivioFactory::KivioFactory( QObject* parent, const char* name ) -: KoFactory( parent, name ) +KivioFactory::KivioFactory( TQObject* tqparent, const char* name ) +: KoFactory( tqparent, name ) { global(); } @@ -43,11 +43,11 @@ KivioFactory::~KivioFactory() s_global = 0L; } -KParts::Part* KivioFactory::createPartObject( QWidget *parentWidget, const char *widgetName, QObject* parent, const char* name, const char* classname, const QStringList & ) +KParts::Part* KivioFactory::createPartObject( TQWidget *tqparentWidget, const char *widgetName, TQObject* tqparent, const char* name, const char* classname, const TQStringList & ) { bool bWantKoDocument = ( strcmp( classname, "KoDocument" ) == 0 ); - KivioDoc *doc = new KivioDoc( parentWidget, widgetName, parent, name, !bWantKoDocument ); + KivioDoc *doc = new KivioDoc( tqparentWidget, widgetName, tqparent, name, !bWantKoDocument ); if ( !bWantKoDocument ) doc->setReadWrite( false ); |