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