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