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 b80e9734..599c3a01 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(QObject *parent, const char *name) - : KLibFactory(parent, name) +KivioTargetToolFactory::KivioTargetToolFactory(TQObject *tqparent, const char *name) + : KLibFactory(tqparent, name) { s_global = new KInstance("kivio"); } @@ -35,12 +35,12 @@ KivioTargetToolFactory::~KivioTargetToolFactory() delete s_global; } -QObject* KivioTargetToolFactory::createObject( QObject* parent, const char*, const char*, const QStringList& ) +TQObject* KivioTargetToolFactory::createObject( TQObject* tqparent, const char*, const char*, const TQStringList& ) { - if ( !parent->inherits("KivioView") ) + if ( !tqparent->inherits("KivioView") ) return 0; - QObject *obj = new Kivio::TargetTool(static_cast<KivioView*>(parent)); + TQObject *obj = new Kivio::TargetTool(static_cast<KivioView*>(TQT_TQWIDGET(tqparent))); return obj; } |