diff options
Diffstat (limited to 'kivio/plugins/kiviotargettool')
4 files changed, 9 insertions, 9 deletions
diff --git a/kivio/plugins/kiviotargettool/kiviotargettool.cpp b/kivio/plugins/kiviotargettool/kiviotargettool.cpp index 672c0a43..c25fb36b 100644 --- a/kivio/plugins/kiviotargettool/kiviotargettool.cpp +++ b/kivio/plugins/kiviotargettool/kiviotargettool.cpp @@ -32,7 +32,7 @@ #include "kivio_command.h" namespace Kivio { - TargetTool::TargetTool(KivioView* tqparent) : MouseTool(tqparent, "Add Target Mouse Tool") + TargetTool::TargetTool(KivioView* parent) : MouseTool(parent, "Add Target Mouse Tool") { m_targetAction = new Kivio::MouseToolAction(i18n("Add Connector Target"), "add_target", 0, actionCollection(), "addTargetTool"); diff --git a/kivio/plugins/kiviotargettool/kiviotargettool.h b/kivio/plugins/kiviotargettool/kiviotargettool.h index 52286f82..064c4f05 100644 --- a/kivio/plugins/kiviotargettool/kiviotargettool.h +++ b/kivio/plugins/kiviotargettool/kiviotargettool.h @@ -38,7 +38,7 @@ namespace Kivio { Q_OBJECT TQ_OBJECT public: - TargetTool(KivioView* tqparent); + TargetTool(KivioView* parent); ~TargetTool(); virtual bool processEvent(TQEvent* e); 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; } diff --git a/kivio/plugins/kiviotargettool/kiviotargettoolfactory.h b/kivio/plugins/kiviotargettool/kiviotargettoolfactory.h index e1ba4521..84619e47 100644 --- a/kivio/plugins/kiviotargettool/kiviotargettoolfactory.h +++ b/kivio/plugins/kiviotargettool/kiviotargettoolfactory.h @@ -31,10 +31,10 @@ class KivioTargetToolFactory : public KLibFactory Q_OBJECT TQ_OBJECT public: - KivioTargetToolFactory(TQObject *tqparent = 0, const char *name = 0); + KivioTargetToolFactory(TQObject *parent = 0, const char *name = 0); ~KivioTargetToolFactory(); - virtual TQObject* createObject( TQObject* tqparent = 0, const char* name = 0, + virtual TQObject* createObject( TQObject* parent = 0, const char* name = 0, const char* classname = TQOBJECT_OBJECT_NAME_STRING, const TQStringList &args = TQStringList() ); static KInstance* global(); |