From 04766b207afba7961d4d802313e426f5a2fbef63 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 22:19:39 +0000 Subject: rename the following methods: tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kivio/plugins/kiviotargettool/kiviotargettoolfactory.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'kivio/plugins/kiviotargettool/kiviotargettoolfactory.cpp') 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(TQT_TQWIDGET(tqparent))); + TQObject *obj = new Kivio::TargetTool(static_cast(TQT_TQWIDGET(parent))); return obj; } -- cgit v1.2.1