diff options
Diffstat (limited to 'kivio/plugins/kiviosmlconnector/plugin.cpp')
-rw-r--r-- | kivio/plugins/kiviosmlconnector/plugin.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kivio/plugins/kiviosmlconnector/plugin.cpp b/kivio/plugins/kiviosmlconnector/plugin.cpp index ee12cf17..a622f6e3 100644 --- a/kivio/plugins/kiviosmlconnector/plugin.cpp +++ b/kivio/plugins/kiviosmlconnector/plugin.cpp @@ -31,8 +31,8 @@ K_EXPORT_COMPONENT_FACTORY( libkiviosmlconnector, SMLConnectorFactory ) KInstance* SMLConnectorFactory::s_global = 0; -SMLConnectorFactory::SMLConnectorFactory( QObject* parent, const char* name ) -: KLibFactory( parent, name ) +SMLConnectorFactory::SMLConnectorFactory( TQObject* tqparent, const char* name ) +: KLibFactory( tqparent, name ) { s_global = new KInstance("kivio"); } @@ -42,12 +42,12 @@ SMLConnectorFactory::~SMLConnectorFactory() delete s_global; } -QObject* SMLConnectorFactory::createObject( QObject* parent, const char*, const char*, const QStringList& ) +TQObject* SMLConnectorFactory::createObject( TQObject* tqparent, const char*, const char*, const TQStringList& ) { - if ( !parent->inherits("KivioView") ) + if ( !tqparent->inherits("KivioView") ) return 0; - QObject *obj = new SMLConnector( (KivioView*)parent ); + TQObject *obj = new SMLConnector( (KivioView*)tqparent ); return obj; } |