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