diff options
Diffstat (limited to 'kivio/plugins/kiviotargettool/kiviotargettoolfactory.cpp')
-rw-r--r-- | kivio/plugins/kiviotargettool/kiviotargettoolfactory.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kivio/plugins/kiviotargettool/kiviotargettoolfactory.cpp b/kivio/plugins/kiviotargettool/kiviotargettoolfactory.cpp index 599c3a01..048c8e32 100644 --- a/kivio/plugins/kiviotargettool/kiviotargettoolfactory.cpp +++ b/kivio/plugins/kiviotargettool/kiviotargettoolfactory.cpp @@ -24,8 +24,8 @@ K_EXPORT_COMPONENT_FACTORY( libkiviotargettool, KivioTargetToolFactory ) KInstance* KivioTargetToolFactory::s_global = 0; -KivioTargetToolFactory::KivioTargetToolFactory(TQObject *tqparent, const char *name) - : KLibFactory(tqparent, name) +KivioTargetToolFactory::KivioTargetToolFactory(TQObject *parent, const char *name) + : KLibFactory(parent, name) { s_global = new KInstance("kivio"); } @@ -35,12 +35,12 @@ KivioTargetToolFactory::~KivioTargetToolFactory() delete s_global; } -TQObject* KivioTargetToolFactory::createObject( TQObject* tqparent, const char*, const char*, const TQStringList& ) +TQObject* KivioTargetToolFactory::createObject( TQObject* parent, const char*, const char*, const TQStringList& ) { - if ( !tqparent->inherits("KivioView") ) + if ( !parent->inherits("KivioView") ) return 0; - TQObject *obj = new Kivio::TargetTool(static_cast<KivioView*>(TQT_TQWIDGET(tqparent))); + TQObject *obj = new Kivio::TargetTool(static_cast<KivioView*>(TQT_TQWIDGET(parent))); return obj; } |