diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
commit | 22253cd8fbc0bd2e70f32aaf1f95ea3a3e819a60 (patch) | |
tree | babc4a761925023e16fa94633959f35d1c251887 /kbabel/kbabeldict/modules/dbsearchengine2 | |
parent | 0813b39aed2cf4c84157a22c4c9594336d93d412 (diff) | |
download | tdesdk-22253cd8fbc0bd2e70f32aaf1f95ea3a3e819a60.tar.gz tdesdk-22253cd8fbc0bd2e70f32aaf1f95ea3a3e819a60.zip |
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
Diffstat (limited to 'kbabel/kbabeldict/modules/dbsearchengine2')
8 files changed, 18 insertions, 18 deletions
diff --git a/kbabel/kbabeldict/modules/dbsearchengine2/KDBSearchEngine2.cpp b/kbabel/kbabeldict/modules/dbsearchengine2/KDBSearchEngine2.cpp index 077565d4..826800d9 100644 --- a/kbabel/kbabeldict/modules/dbsearchengine2/KDBSearchEngine2.cpp +++ b/kbabel/kbabeldict/modules/dbsearchengine2/KDBSearchEngine2.cpp @@ -47,8 +47,8 @@ #include <kdebug.h> #define i18n (const char *) -KDBSearchEngine2::KDBSearchEngine2(TQObject *tqparent,const char*name) - : SearchEngine(tqparent,name) +KDBSearchEngine2::KDBSearchEngine2(TQObject *parent,const char*name) + : SearchEngine(parent,name) { pw=0; dbDirectory="."; @@ -255,10 +255,10 @@ void KDBSearchEngine2::stringChanged( TQString orig, TQString translated } -PrefWidget * KDBSearchEngine2::preferencesWidget(TQWidget *tqparent) +PrefWidget * KDBSearchEngine2::preferencesWidget(TQWidget *parent) { - pw = new KDB2PreferencesWidget(tqparent); + pw = new KDB2PreferencesWidget(parent); kdDebug(0) << "new KDB2 preferences widget" << endl; setSettings(); connect(pw,TQT_SIGNAL(restoreNow()),this,TQT_SLOT(setSettings())); diff --git a/kbabel/kbabeldict/modules/dbsearchengine2/KDBSearchEngine2.h b/kbabel/kbabeldict/modules/dbsearchengine2/KDBSearchEngine2.h index 89a32571..6bc46ab1 100644 --- a/kbabel/kbabeldict/modules/dbsearchengine2/KDBSearchEngine2.h +++ b/kbabel/kbabeldict/modules/dbsearchengine2/KDBSearchEngine2.h @@ -26,7 +26,7 @@ class KDBSearchEngine2 : public SearchEngine public: - KDBSearchEngine2(TQObject *tqparent=0, const char *name=0); + KDBSearchEngine2(TQObject *parent=0, const char *name=0); virtual ~KDBSearchEngine2(); //init if needed. @@ -78,9 +78,9 @@ class KDBSearchEngine2 : public SearchEngine * search engine. The returned widget should not be bigger than * 400x400. If you need more space, you maybe want to use * a tabbed widget. - * @param tqparent the tqparent of the returned widget + * @param parent the parent of the returned widget */ - virtual PrefWidget* preferencesWidget(TQWidget *tqparent); + virtual PrefWidget* preferencesWidget(TQWidget *parent); /** @returns information about this SearchEngine */ virtual const KAboutData *about() const; diff --git a/kbabel/kbabeldict/modules/dbsearchengine2/dbscan.cpp b/kbabel/kbabeldict/modules/dbsearchengine2/dbscan.cpp index 96239ba9..a21252a2 100644 --- a/kbabel/kbabeldict/modules/dbsearchengine2/dbscan.cpp +++ b/kbabel/kbabeldict/modules/dbsearchengine2/dbscan.cpp @@ -120,7 +120,7 @@ TQValueList<KURL> MessagesSource::filesInDir(KURL url,bool recursive) //FIXME: clean this class PoScanner::PoScanner(DataBaseInterface *dbi, - TQObject *tqparent,const char *name):TQObject(tqparent,name) + TQObject *parent,const char *name):TQObject(parent,name) { di=dbi; removeOldCatalogTranslation=true; diff --git a/kbabel/kbabeldict/modules/dbsearchengine2/dbscan.h b/kbabel/kbabeldict/modules/dbsearchengine2/dbscan.h index cbf1d2e6..f3ee15d4 100644 --- a/kbabel/kbabeldict/modules/dbsearchengine2/dbscan.h +++ b/kbabel/kbabeldict/modules/dbsearchengine2/dbscan.h @@ -76,7 +76,7 @@ class PoScanner : public TQObject public: - PoScanner(DataBaseInterface *dbi,TQObject *tqparent=0,const char *name=0); + PoScanner(DataBaseInterface *dbi,TQObject *parent=0,const char *name=0); /* Scan a single PO file. diff --git a/kbabel/kbabeldict/modules/dbsearchengine2/dbse2_factory.cpp b/kbabel/kbabeldict/modules/dbsearchengine2/dbse2_factory.cpp index 0c65710c..55f6a16f 100644 --- a/kbabel/kbabeldict/modules/dbsearchengine2/dbse2_factory.cpp +++ b/kbabel/kbabeldict/modules/dbsearchengine2/dbse2_factory.cpp @@ -22,8 +22,8 @@ KInstance *DbSe2Factory::s_instance = 0; KAboutData *DbSe2Factory::s_about = 0; -DbSe2Factory::DbSe2Factory( TQObject *tqparent, const char *name) - : KLibFactory(tqparent,name) +DbSe2Factory::DbSe2Factory( TQObject *parent, const char *name) + : KLibFactory(parent,name) { } @@ -43,7 +43,7 @@ DbSe2Factory::~DbSe2Factory() } -TQObject *DbSe2Factory::createObject( TQObject *tqparent, const char *name, +TQObject *DbSe2Factory::createObject( TQObject *parent, const char *name, const char *classname, const TQStringList &) { if(TQCString(classname) != "SearchEngine") @@ -52,7 +52,7 @@ TQObject *DbSe2Factory::createObject( TQObject *tqparent, const char *name, return 0; } - KDBSearchEngine2 *se = new KDBSearchEngine2(tqparent,name); + KDBSearchEngine2 *se = new KDBSearchEngine2(parent,name); emit objectCreated(se); return se; diff --git a/kbabel/kbabeldict/modules/dbsearchengine2/dbse2_factory.h b/kbabel/kbabeldict/modules/dbsearchengine2/dbse2_factory.h index 2f1b98ca..793c03d3 100644 --- a/kbabel/kbabeldict/modules/dbsearchengine2/dbse2_factory.h +++ b/kbabel/kbabeldict/modules/dbsearchengine2/dbse2_factory.h @@ -10,10 +10,10 @@ class DbSe2Factory : public KLibFactory Q_OBJECT TQ_OBJECT public: - DbSe2Factory( TQObject *tqparent=0, const char *name=0); + DbSe2Factory( TQObject *parent=0, const char *name=0); ~DbSe2Factory(); - 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/dbsearchengine2/preferenceswidget.cpp b/kbabel/kbabeldict/modules/dbsearchengine2/preferenceswidget.cpp index ba16327c..ff767436 100644 --- a/kbabel/kbabeldict/modules/dbsearchengine2/preferenceswidget.cpp +++ b/kbabel/kbabeldict/modules/dbsearchengine2/preferenceswidget.cpp @@ -15,8 +15,8 @@ #include "dbse2.h" #include "preferenceswidget.h" -KDB2PreferencesWidget::KDB2PreferencesWidget(TQWidget *tqparent, const char* name) - : PrefWidget(tqparent,name) +KDB2PreferencesWidget::KDB2PreferencesWidget(TQWidget *parent, const char* name) + : PrefWidget(parent,name) { TQVBoxLayout *tqlayout = new TQVBoxLayout(this); // TQLabel *label = new TQLabel(i18n("Settings for KDE Database Search Engine"),this); diff --git a/kbabel/kbabeldict/modules/dbsearchengine2/preferenceswidget.h b/kbabel/kbabeldict/modules/dbsearchengine2/preferenceswidget.h index 68e283bd..3aa9bcb8 100644 --- a/kbabel/kbabeldict/modules/dbsearchengine2/preferenceswidget.h +++ b/kbabel/kbabeldict/modules/dbsearchengine2/preferenceswidget.h @@ -10,7 +10,7 @@ class KDB2PreferencesWidget : public PrefWidget TQ_OBJECT public: - KDB2PreferencesWidget(TQWidget *tqparent=0, const char* name=0); + KDB2PreferencesWidget(TQWidget *parent=0, const char* name=0); virtual ~KDB2PreferencesWidget(); virtual void apply(); |