From 22253cd8fbc0bd2e70f32aaf1f95ea3a3e819a60 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/kdesdk@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kbabel/kbabeldict/modules/tmx/pc_factory.cpp | 8 ++++---- kbabel/kbabeldict/modules/tmx/pc_factory.h | 4 ++-- kbabel/kbabeldict/modules/tmx/preferenceswidget.cpp | 4 ++-- kbabel/kbabeldict/modules/tmx/preferenceswidget.h | 2 +- kbabel/kbabeldict/modules/tmx/tmxcompendium.cpp | 8 ++++---- kbabel/kbabeldict/modules/tmx/tmxcompendium.h | 4 ++-- kbabel/kbabeldict/modules/tmx/tmxcompendiumdata.cpp | 4 ++-- kbabel/kbabeldict/modules/tmx/tmxcompendiumdata.h | 2 +- 8 files changed, 18 insertions(+), 18 deletions(-) (limited to 'kbabel/kbabeldict/modules/tmx') diff --git a/kbabel/kbabeldict/modules/tmx/pc_factory.cpp b/kbabel/kbabeldict/modules/tmx/pc_factory.cpp index 772eae41..864f9fed 100644 --- a/kbabel/kbabeldict/modules/tmx/pc_factory.cpp +++ b/kbabel/kbabeldict/modules/tmx/pc_factory.cpp @@ -54,8 +54,8 @@ KInstance *PcFactory::s_instance = 0; KAboutData *PcFactory::s_about = 0; -PcFactory::PcFactory( TQObject *tqparent, const char *name) - : KLibFactory(tqparent,name) +PcFactory::PcFactory( TQObject *parent, const char *name) + : KLibFactory(parent,name) { } @@ -75,7 +75,7 @@ PcFactory::~PcFactory() } -TQObject *PcFactory::createObject( TQObject *tqparent, const char *name +TQObject *PcFactory::createObject( TQObject *parent, const char *name , const char *classname, const TQStringList &) { if(TQCString(classname) != "SearchEngine") @@ -84,7 +84,7 @@ TQObject *PcFactory::createObject( TQObject *tqparent, const char *name return 0; } - return new TmxCompendium(tqparent,name); + return new TmxCompendium(parent,name); } diff --git a/kbabel/kbabeldict/modules/tmx/pc_factory.h b/kbabel/kbabeldict/modules/tmx/pc_factory.h index f4337116..9ddaf873 100644 --- a/kbabel/kbabeldict/modules/tmx/pc_factory.h +++ b/kbabel/kbabeldict/modules/tmx/pc_factory.h @@ -46,10 +46,10 @@ class PcFactory : public KLibFactory Q_OBJECT TQ_OBJECT public: - PcFactory( TQObject *tqparent=0, const char *name=0); + PcFactory( TQObject *parent=0, const char *name=0); ~PcFactory(); - 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()); diff --git a/kbabel/kbabeldict/modules/tmx/preferenceswidget.cpp b/kbabel/kbabeldict/modules/tmx/preferenceswidget.cpp index 16200985..7aed4474 100644 --- a/kbabel/kbabeldict/modules/tmx/preferenceswidget.cpp +++ b/kbabel/kbabeldict/modules/tmx/preferenceswidget.cpp @@ -46,8 +46,8 @@ #include "preferenceswidget.h" #include "pwidget.h" -TmxCompendiumPreferencesWidget::TmxCompendiumPreferencesWidget(TQWidget *tqparent, const char* name) - : PrefWidget(tqparent,name) +TmxCompendiumPreferencesWidget::TmxCompendiumPreferencesWidget(TQWidget *parent, const char* name) + : PrefWidget(parent,name) , changed(false) { TQVBoxLayout *tqlayout = new TQVBoxLayout(this); diff --git a/kbabel/kbabeldict/modules/tmx/preferenceswidget.h b/kbabel/kbabeldict/modules/tmx/preferenceswidget.h index a91aff42..ad18a169 100644 --- a/kbabel/kbabeldict/modules/tmx/preferenceswidget.h +++ b/kbabel/kbabeldict/modules/tmx/preferenceswidget.h @@ -47,7 +47,7 @@ class TmxCompendiumPreferencesWidget : public PrefWidget TQ_OBJECT public: - TmxCompendiumPreferencesWidget(TQWidget *tqparent=0, const char* name=0); + TmxCompendiumPreferencesWidget(TQWidget *parent=0, const char* name=0); virtual ~TmxCompendiumPreferencesWidget(); virtual void apply(); diff --git a/kbabel/kbabeldict/modules/tmx/tmxcompendium.cpp b/kbabel/kbabeldict/modules/tmx/tmxcompendium.cpp index 42dfbdee..9163d7cb 100644 --- a/kbabel/kbabeldict/modules/tmx/tmxcompendium.cpp +++ b/kbabel/kbabeldict/modules/tmx/tmxcompendium.cpp @@ -58,8 +58,8 @@ static KStaticDeleter< TQDict > compDataDeleter; TQDict *TmxCompendium::_compDict = 0; -TmxCompendium::TmxCompendium(TQObject *tqparent, const char *name) - : SearchEngine(tqparent, name) +TmxCompendium::TmxCompendium(TQObject *parent, const char *name) + : SearchEngine(parent, name) { prefWidget=0; data=0; @@ -152,9 +152,9 @@ void TmxCompendium::readSettings(KConfigBase *config) restoreSettings(); } -PrefWidget *TmxCompendium::preferencesWidget(TQWidget *tqparent) +PrefWidget *TmxCompendium::preferencesWidget(TQWidget *parent) { - prefWidget = new TmxCompendiumPreferencesWidget(tqparent,"tmxcompendium_prefwidget"); + prefWidget = new TmxCompendiumPreferencesWidget(parent,"tmxcompendium_prefwidget"); connect(prefWidget, TQT_SIGNAL(applySettings()), this, TQT_SLOT(applySettings())); connect(prefWidget, TQT_SIGNAL(restoreSettings()) , this, TQT_SLOT(restoreSettings())); diff --git a/kbabel/kbabeldict/modules/tmx/tmxcompendium.h b/kbabel/kbabeldict/modules/tmx/tmxcompendium.h index 8e96fbd5..9fec1b92 100644 --- a/kbabel/kbabeldict/modules/tmx/tmxcompendium.h +++ b/kbabel/kbabeldict/modules/tmx/tmxcompendium.h @@ -53,7 +53,7 @@ class TmxCompendium : public SearchEngine TQ_OBJECT public: - TmxCompendium(TQObject *tqparent=0, const char *name=0); + TmxCompendium(TQObject *parent=0, const char *name=0); virtual ~TmxCompendium(); virtual bool isReady() const; @@ -66,7 +66,7 @@ public: virtual void saveSettings(KConfigBase *config); virtual void readSettings(KConfigBase *config); - virtual PrefWidget *preferencesWidget(TQWidget *tqparent); + virtual PrefWidget *preferencesWidget(TQWidget *parent); virtual const KAboutData *about() const; diff --git a/kbabel/kbabeldict/modules/tmx/tmxcompendiumdata.cpp b/kbabel/kbabeldict/modules/tmx/tmxcompendiumdata.cpp index d4497e29..8646806e 100644 --- a/kbabel/kbabeldict/modules/tmx/tmxcompendiumdata.cpp +++ b/kbabel/kbabeldict/modules/tmx/tmxcompendiumdata.cpp @@ -47,8 +47,8 @@ using namespace KBabel; -TmxCompendiumData::TmxCompendiumData(TQObject *tqparent) - : TQObject(tqparent) +TmxCompendiumData::TmxCompendiumData(TQObject *parent) + : TQObject(parent) , _active(false) , _error(false) , _initialized(false) diff --git a/kbabel/kbabeldict/modules/tmx/tmxcompendiumdata.h b/kbabel/kbabeldict/modules/tmx/tmxcompendiumdata.h index 325fb9b5..3e8f2825 100644 --- a/kbabel/kbabeldict/modules/tmx/tmxcompendiumdata.h +++ b/kbabel/kbabeldict/modules/tmx/tmxcompendiumdata.h @@ -50,7 +50,7 @@ class TmxCompendiumData : public TQObject TQ_OBJECT public: - TmxCompendiumData(TQObject *tqparent=0); + TmxCompendiumData(TQObject *parent=0); bool load(const KURL& url, const TQString& language); -- cgit v1.2.1