summaryrefslogtreecommitdiffstats
path: root/kbabel/kbabeldict
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
commit22253cd8fbc0bd2e70f32aaf1f95ea3a3e819a60 (patch)
treebabc4a761925023e16fa94633959f35d1c251887 /kbabel/kbabeldict
parent0813b39aed2cf4c84157a22c4c9594336d93d412 (diff)
downloadtdesdk-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')
-rw-r--r--kbabel/kbabeldict/aboutmoduledlg.cpp4
-rw-r--r--kbabel/kbabeldict/aboutmoduledlg.h2
-rw-r--r--kbabel/kbabeldict/dictchooser.cpp4
-rw-r--r--kbabel/kbabeldict/dictchooser.h2
-rw-r--r--kbabel/kbabeldict/dictionarymenu.cpp4
-rw-r--r--kbabel/kbabeldict/dictionarymenu.h2
-rw-r--r--kbabel/kbabeldict/kbabeldictbox.cpp16
-rw-r--r--kbabel/kbabeldict/kbabeldictbox.h4
-rw-r--r--kbabel/kbabeldict/kbabeldictview.cpp6
-rw-r--r--kbabel/kbabeldict/kbabeldictview.h2
-rw-r--r--kbabel/kbabeldict/kbabelsplash.cpp4
-rw-r--r--kbabel/kbabeldict/kbabelsplash.h2
-rw-r--r--kbabel/kbabeldict/modules/dbsearchengine/KDBSearchEngine.cpp8
-rw-r--r--kbabel/kbabeldict/modules/dbsearchengine/KDBSearchEngine.h4
-rw-r--r--kbabel/kbabeldict/modules/dbsearchengine/database.cpp4
-rw-r--r--kbabel/kbabeldict/modules/dbsearchengine/database.h2
-rw-r--r--kbabel/kbabeldict/modules/dbsearchengine/dbscan.cpp2
-rw-r--r--kbabel/kbabeldict/modules/dbsearchengine/dbscan.h2
-rw-r--r--kbabel/kbabeldict/modules/dbsearchengine/dbse_factory.cpp8
-rw-r--r--kbabel/kbabeldict/modules/dbsearchengine/dbse_factory.h4
-rw-r--r--kbabel/kbabeldict/modules/dbsearchengine/preferenceswidget.cpp4
-rw-r--r--kbabel/kbabeldict/modules/dbsearchengine/preferenceswidget.h2
-rw-r--r--kbabel/kbabeldict/modules/dbsearchengine2/KDBSearchEngine2.cpp8
-rw-r--r--kbabel/kbabeldict/modules/dbsearchengine2/KDBSearchEngine2.h6
-rw-r--r--kbabel/kbabeldict/modules/dbsearchengine2/dbscan.cpp2
-rw-r--r--kbabel/kbabeldict/modules/dbsearchengine2/dbscan.h2
-rw-r--r--kbabel/kbabeldict/modules/dbsearchengine2/dbse2_factory.cpp8
-rw-r--r--kbabel/kbabeldict/modules/dbsearchengine2/dbse2_factory.h4
-rw-r--r--kbabel/kbabeldict/modules/dbsearchengine2/preferenceswidget.cpp4
-rw-r--r--kbabel/kbabeldict/modules/dbsearchengine2/preferenceswidget.h2
-rw-r--r--kbabel/kbabeldict/modules/poauxiliary/pa_factory.cpp8
-rw-r--r--kbabel/kbabeldict/modules/poauxiliary/pa_factory.h4
-rw-r--r--kbabel/kbabeldict/modules/poauxiliary/poauxiliary.cpp8
-rw-r--r--kbabel/kbabeldict/modules/poauxiliary/poauxiliary.h4
-rw-r--r--kbabel/kbabeldict/modules/poauxiliary/preferenceswidget.cpp4
-rw-r--r--kbabel/kbabeldict/modules/poauxiliary/preferenceswidget.h2
-rw-r--r--kbabel/kbabeldict/modules/pocompendium/compendiumdata.cpp4
-rw-r--r--kbabel/kbabeldict/modules/pocompendium/compendiumdata.h2
-rw-r--r--kbabel/kbabeldict/modules/pocompendium/pc_factory.cpp8
-rw-r--r--kbabel/kbabeldict/modules/pocompendium/pc_factory.h4
-rw-r--r--kbabel/kbabeldict/modules/pocompendium/pocompendium.cpp8
-rw-r--r--kbabel/kbabeldict/modules/pocompendium/pocompendium.h4
-rw-r--r--kbabel/kbabeldict/modules/pocompendium/preferenceswidget.cpp4
-rw-r--r--kbabel/kbabeldict/modules/pocompendium/preferenceswidget.h2
-rw-r--r--kbabel/kbabeldict/modules/tmx/pc_factory.cpp8
-rw-r--r--kbabel/kbabeldict/modules/tmx/pc_factory.h4
-rw-r--r--kbabel/kbabeldict/modules/tmx/preferenceswidget.cpp4
-rw-r--r--kbabel/kbabeldict/modules/tmx/preferenceswidget.h2
-rw-r--r--kbabel/kbabeldict/modules/tmx/tmxcompendium.cpp8
-rw-r--r--kbabel/kbabeldict/modules/tmx/tmxcompendium.h4
-rw-r--r--kbabel/kbabeldict/modules/tmx/tmxcompendiumdata.cpp4
-rw-r--r--kbabel/kbabeldict/modules/tmx/tmxcompendiumdata.h2
-rw-r--r--kbabel/kbabeldict/searchengine.cpp8
-rw-r--r--kbabel/kbabeldict/searchengine.h8
54 files changed, 123 insertions, 123 deletions
diff --git a/kbabel/kbabeldict/aboutmoduledlg.cpp b/kbabel/kbabeldict/aboutmoduledlg.cpp
index c4a5969e..861fe01a 100644
--- a/kbabel/kbabeldict/aboutmoduledlg.cpp
+++ b/kbabel/kbabeldict/aboutmoduledlg.cpp
@@ -35,8 +35,8 @@
#include <kbugreport.h>
#include <klocale.h>
-AboutModuleDlg::AboutModuleDlg(const KAboutData *aboutData, TQWidget *tqparent)
- : KAboutApplication(aboutData, tqparent)
+AboutModuleDlg::AboutModuleDlg(const KAboutData *aboutData, TQWidget *parent)
+ : KAboutApplication(aboutData, parent)
, _aboutData(aboutData)
{
setHelpLinkText(i18n("Report Bug..."));
diff --git a/kbabel/kbabeldict/aboutmoduledlg.h b/kbabel/kbabeldict/aboutmoduledlg.h
index a3b1656e..399ea38f 100644
--- a/kbabel/kbabeldict/aboutmoduledlg.h
+++ b/kbabel/kbabeldict/aboutmoduledlg.h
@@ -44,7 +44,7 @@ class AboutModuleDlg : public KAboutApplication
TQ_OBJECT
public:
- AboutModuleDlg(const KAboutData *aboutData, TQWidget* tqparent=0);
+ AboutModuleDlg(const KAboutData *aboutData, TQWidget* parent=0);
public slots:
virtual void helpClickedSlot(const TQString&);
diff --git a/kbabel/kbabeldict/dictchooser.cpp b/kbabel/kbabeldict/dictchooser.cpp
index e0ccbaf5..d3b8df63 100644
--- a/kbabel/kbabeldict/dictchooser.cpp
+++ b/kbabel/kbabeldict/dictchooser.cpp
@@ -45,8 +45,8 @@
#include <ktempfile.h>
DictChooser::DictChooser(KBabelDictBox*b, TQStringList selected
- , TQWidget *tqparent, const char *name)
- : TQWidget(tqparent,name), box(b)
+ , TQWidget *parent, const char *name)
+ : TQWidget(parent,name), box(b)
{
tempConfig.clear();
tempConfig.setAutoDelete(true);
diff --git a/kbabel/kbabeldict/dictchooser.h b/kbabel/kbabeldict/dictchooser.h
index e8ef1d71..ba5e5c56 100644
--- a/kbabel/kbabeldict/dictchooser.h
+++ b/kbabel/kbabeldict/dictchooser.h
@@ -54,7 +54,7 @@ class KDE_EXPORT DictChooser : public TQWidget
public:
DictChooser(KBabelDictBox* box, TQStringList selected,
- TQWidget *tqparent , const char *name=0);
+ TQWidget *parent , const char *name=0);
TQStringList selectedDicts();
diff --git a/kbabel/kbabeldict/dictionarymenu.cpp b/kbabel/kbabeldict/dictionarymenu.cpp
index ff23e972..d850f9a6 100644
--- a/kbabel/kbabeldict/dictionarymenu.cpp
+++ b/kbabel/kbabeldict/dictionarymenu.cpp
@@ -39,8 +39,8 @@
#include <tqsignalmapper.h>
DictionaryMenu::DictionaryMenu(KPopupMenu *popupMenu, KActionCollection *collection
- , TQObject *tqparent)
- : TQObject(tqparent, "dictionarymenu")
+ , TQObject *parent)
+ : TQObject(parent, "dictionarymenu")
, popup(popupMenu)
, actionCollection(collection)
, maxId(10)
diff --git a/kbabel/kbabeldict/dictionarymenu.h b/kbabel/kbabeldict/dictionarymenu.h
index 5cbc151c..0687ff54 100644
--- a/kbabel/kbabeldict/dictionarymenu.h
+++ b/kbabel/kbabeldict/dictionarymenu.h
@@ -49,7 +49,7 @@ class KDE_EXPORT DictionaryMenu : public TQObject
TQ_OBJECT
public:
- DictionaryMenu(KPopupMenu *menu, KActionCollection *collection, TQObject *tqparent=0);
+ DictionaryMenu(KPopupMenu *menu, KActionCollection *collection, TQObject *parent=0);
~DictionaryMenu();
void add(const TQString& name,const TQString& id);
diff --git a/kbabel/kbabeldict/kbabeldictbox.cpp b/kbabel/kbabeldict/kbabeldictbox.cpp
index 21bd9154..e5c67b57 100644
--- a/kbabel/kbabeldict/kbabeldictbox.cpp
+++ b/kbabel/kbabeldict/kbabeldictbox.cpp
@@ -77,7 +77,7 @@ using namespace KBabel;
class ResultListItem : public TQListViewItem
{
public:
- ResultListItem(TQListView *tqparent, const SearchResult& result,bool richText);
+ ResultListItem(TQListView *parent, const SearchResult& result,bool richText);
virtual TQString key(int column, bool ascending) const;
const SearchResult* result() const;
@@ -88,9 +88,9 @@ private:
bool _richText;
};
-ResultListItem::ResultListItem(TQListView *tqparent, const SearchResult& result
+ResultListItem::ResultListItem(TQListView *parent, const SearchResult& result
, bool richText)
- : TQListViewItem(tqparent)
+ : TQListViewItem(parent)
, _result(result)
, _richText(richText)
{
@@ -179,11 +179,11 @@ const SearchResult *ResultListItem::result() const
}
/*
- * Constructs a KBabelDictBox which is a child of 'tqparent', with the
+ * Constructs a KBabelDictBox which is a child of 'parent', with the
* name 'name' and widget flags set to 'f'
*/
-KBabelDictBox::KBabelDictBox( TQWidget* tqparent, const char* name, WFlags fl )
- : DCOPObject("KBabelDict"), TQWidget( tqparent, name, fl )
+KBabelDictBox::KBabelDictBox( TQWidget* parent, const char* name, WFlags fl )
+ : DCOPObject("KBabelDict"), TQWidget( parent, name, fl )
{
active=-1;
currentResult=0;
@@ -929,7 +929,7 @@ TQPtrList<ModuleInfo> KBabelDictBox::moduleInfos()
}
-TQPtrList<PrefWidget> KBabelDictBox::modPrefWidgets(TQWidget *tqparent)
+TQPtrList<PrefWidget> KBabelDictBox::modPrefWidgets(TQWidget *parent)
{
TQPtrList<PrefWidget> list;
list.setAutoDelete(false);
@@ -937,7 +937,7 @@ TQPtrList<PrefWidget> KBabelDictBox::modPrefWidgets(TQWidget *tqparent)
for(e = moduleList.first(); e != 0; e = moduleList.next())
{
- list.append(e->preferencesWidget(tqparent));
+ list.append(e->preferencesWidget(parent));
}
return list;
diff --git a/kbabel/kbabeldict/kbabeldictbox.h b/kbabel/kbabeldict/kbabeldictbox.h
index 0b850798..147f000a 100644
--- a/kbabel/kbabeldict/kbabeldictbox.h
+++ b/kbabel/kbabeldict/kbabeldictbox.h
@@ -66,7 +66,7 @@ class KDE_EXPORT KBabelDictBox : public TQWidget, virtual public KBabelDictIFace
TQ_OBJECT
public:
- KBabelDictBox( TQWidget* tqparent = 0, const char* name = 0
+ KBabelDictBox( TQWidget* parent = 0, const char* name = 0
, WFlags fl = 0 );
~KBabelDictBox();
@@ -83,7 +83,7 @@ public:
TQPtrList<ModuleInfo> moduleInfos();
/** @returns preferencesWidgets of modules */
- TQPtrList<PrefWidget> modPrefWidgets(TQWidget* tqparent);
+ TQPtrList<PrefWidget> modPrefWidgets(TQWidget* parent);
int activeModule();
bool activeModuleEditable();
diff --git a/kbabel/kbabeldict/kbabeldictview.cpp b/kbabel/kbabeldict/kbabeldictview.cpp
index 5346e758..18bb20ac 100644
--- a/kbabel/kbabeldict/kbabeldictview.cpp
+++ b/kbabel/kbabeldict/kbabeldictview.cpp
@@ -61,11 +61,11 @@
#include <kiconloader.h>
/*
- * Constructs a KBabelDictView which is a child of 'tqparent', with the
+ * Constructs a KBabelDictView which is a child of 'parent', with the
* name 'name' and widget flags set to 'f'
*/
-KBabelDictView::KBabelDictView( TQWidget* tqparent, const char* name, WFlags fl )
- : TQWidget( tqparent, name, fl )
+KBabelDictView::KBabelDictView( TQWidget* parent, const char* name, WFlags fl )
+ : TQWidget( parent, name, fl )
{
TQVBoxLayout *mainLayout = new TQVBoxLayout(this);
mainLayout->setSpacing(KDialog::spacingHint());
diff --git a/kbabel/kbabeldict/kbabeldictview.h b/kbabel/kbabeldict/kbabeldictview.h
index fbde9928..46d082db 100644
--- a/kbabel/kbabeldict/kbabeldictview.h
+++ b/kbabel/kbabeldict/kbabeldictview.h
@@ -54,7 +54,7 @@ class KBabelDictView : public TQWidget
TQ_OBJECT
public:
- KBabelDictView( TQWidget* tqparent = 0, const char* name = 0, WFlags fl = 0 );
+ KBabelDictView( TQWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
~KBabelDictView();
bool prefVisible();
diff --git a/kbabel/kbabeldict/kbabelsplash.cpp b/kbabel/kbabeldict/kbabelsplash.cpp
index eec450c6..a62cec5f 100644
--- a/kbabel/kbabeldict/kbabelsplash.cpp
+++ b/kbabel/kbabeldict/kbabelsplash.cpp
@@ -40,8 +40,8 @@
KBabelSplash* KBabelSplash::instance = 0;
-KBabelSplash::KBabelSplash( TQWidget* tqparent, const char* name )
- : TQVBox( tqparent, name, WType_Dialog|WShowModal|WStyle_Customize|WStyle_NoBorder|WDestructiveClose )
+KBabelSplash::KBabelSplash( TQWidget* parent, const char* name )
+ : TQVBox( parent, name, WType_Dialog|WShowModal|WStyle_Customize|WStyle_NoBorder|WDestructiveClose )
{
setMargin( 0 );
setSpacing( 0 );
diff --git a/kbabel/kbabeldict/kbabelsplash.h b/kbabel/kbabeldict/kbabelsplash.h
index 22ed99d7..25c15f12 100644
--- a/kbabel/kbabeldict/kbabelsplash.h
+++ b/kbabel/kbabeldict/kbabelsplash.h
@@ -44,7 +44,7 @@ Q_OBJECT
TQ_OBJECT
public:
- KBabelSplash( TQWidget* tqparent = 0, const char* name = 0 );
+ KBabelSplash( TQWidget* parent = 0, const char* name = 0 );
~KBabelSplash() { instance = 0; }
static KBabelSplash* instance;
diff --git a/kbabel/kbabeldict/modules/dbsearchengine/KDBSearchEngine.cpp b/kbabel/kbabeldict/modules/dbsearchengine/KDBSearchEngine.cpp
index fe312253..16458a75 100644
--- a/kbabel/kbabeldict/modules/dbsearchengine/KDBSearchEngine.cpp
+++ b/kbabel/kbabeldict/modules/dbsearchengine/KDBSearchEngine.cpp
@@ -72,8 +72,8 @@
using namespace KBabel;
-KDBSearchEngine::KDBSearchEngine (TQObject * tqparent, const char *name):
-SearchEngine (tqparent, name)
+KDBSearchEngine::KDBSearchEngine (TQObject * parent, const char *name):
+SearchEngine (parent, name)
{
edited = "unknown";
dm = 0; //Database Manager
@@ -1203,10 +1203,10 @@ KDBSearchEngine::readSettings (KConfigBase * config)
}
PrefWidget *
-KDBSearchEngine::preferencesWidget (TQWidget * tqparent)
+KDBSearchEngine::preferencesWidget (TQWidget * parent)
{
- pw = new PreferencesWidget (tqparent);
+ pw = new PreferencesWidget (parent);
setSettings ();
connect (pw, TQT_SIGNAL (restoreNow ()), this, TQT_SLOT (setSettings ()));
connect (pw, TQT_SIGNAL (applyNow ()), this, TQT_SLOT (updateSettings ()));
diff --git a/kbabel/kbabeldict/modules/dbsearchengine/KDBSearchEngine.h b/kbabel/kbabeldict/modules/dbsearchengine/KDBSearchEngine.h
index d884f233..2f56247c 100644
--- a/kbabel/kbabeldict/modules/dbsearchengine/KDBSearchEngine.h
+++ b/kbabel/kbabeldict/modules/dbsearchengine/KDBSearchEngine.h
@@ -99,7 +99,7 @@ class KDBSearchEngine : public SearchEngine
public:
- KDBSearchEngine(TQObject *tqparent=0,const char *name=0);
+ KDBSearchEngine(TQObject *parent=0,const char *name=0);
~KDBSearchEngine();
enum Rules {Equal = 1, Contains = 2, Contained = 4, RegExp = 8};
enum FormatRules { Dots = 1, Ampersand = 2, FirstWordUpper = 4, //Not yet used
@@ -194,7 +194,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/dbsearchengine/database.cpp b/kbabel/kbabeldict/modules/dbsearchengine/database.cpp
index 6fa383df..05f31654 100644
--- a/kbabel/kbabeldict/modules/dbsearchengine/database.cpp
+++ b/kbabel/kbabeldict/modules/dbsearchengine/database.cpp
@@ -294,8 +294,8 @@ DataBaseItem::toRawData (char *_data)
DataBaseManager::DataBaseManager (TQString directory, TQString lang,
- TQObject * tqparent, const char *name):
-TQObject (tqparent, name)
+ TQObject * parent, const char *name):
+TQObject (parent, name)
{
TQString filename;
diff --git a/kbabel/kbabeldict/modules/dbsearchengine/database.h b/kbabel/kbabeldict/modules/dbsearchengine/database.h
index 05a09955..76342634 100644
--- a/kbabel/kbabeldict/modules/dbsearchengine/database.h
+++ b/kbabel/kbabeldict/modules/dbsearchengine/database.h
@@ -176,7 +176,7 @@ class DataBaseManager : public TQObject
*/
- DataBaseManager(TQString directory,TQString lang,TQObject *tqparent=0,const char *name=0);
+ DataBaseManager(TQString directory,TQString lang,TQObject *parent=0,const char *name=0);
~DataBaseManager();
/*
Create a new databse structure.
diff --git a/kbabel/kbabeldict/modules/dbsearchengine/dbscan.cpp b/kbabel/kbabeldict/modules/dbsearchengine/dbscan.cpp
index 5a4d5a6e..2969a9df 100644
--- a/kbabel/kbabeldict/modules/dbsearchengine/dbscan.cpp
+++ b/kbabel/kbabeldict/modules/dbsearchengine/dbscan.cpp
@@ -39,7 +39,7 @@
using namespace KBabel;
PoScanner::PoScanner(DataBaseManager *dbm,
- TQObject *tqparent,const char *name):TQObject(tqparent,name)
+ TQObject *parent,const char *name):TQObject(parent,name)
{
dm=dbm;
removeOldCatalogTranslation=false; //Check if this flag do something.
diff --git a/kbabel/kbabeldict/modules/dbsearchengine/dbscan.h b/kbabel/kbabeldict/modules/dbsearchengine/dbscan.h
index c6212fbd..85ab77d5 100644
--- a/kbabel/kbabeldict/modules/dbsearchengine/dbscan.h
+++ b/kbabel/kbabeldict/modules/dbsearchengine/dbscan.h
@@ -48,7 +48,7 @@ class PoScanner : public TQObject
public:
- PoScanner(DataBaseManager *dbm,TQObject *tqparent=0,const char *name=0);
+ PoScanner(DataBaseManager *dbm,TQObject *parent=0,const char *name=0);
/*
Scan a single PO file.
diff --git a/kbabel/kbabeldict/modules/dbsearchengine/dbse_factory.cpp b/kbabel/kbabeldict/modules/dbsearchengine/dbse_factory.cpp
index 599ace4c..86975874 100644
--- a/kbabel/kbabeldict/modules/dbsearchengine/dbse_factory.cpp
+++ b/kbabel/kbabeldict/modules/dbsearchengine/dbse_factory.cpp
@@ -21,8 +21,8 @@ KInstance *DbSeFactory::s_instance = 0;
KAboutData *DbSeFactory::s_about = 0;
-DbSeFactory::DbSeFactory( TQObject *tqparent, const char *name)
- : KLibFactory(tqparent,name)
+DbSeFactory::DbSeFactory( TQObject *parent, const char *name)
+ : KLibFactory(parent,name)
{
}
@@ -42,7 +42,7 @@ DbSeFactory::~DbSeFactory()
}
-TQObject *DbSeFactory::createObject( TQObject *tqparent, const char *name,
+TQObject *DbSeFactory::createObject( TQObject *parent, const char *name,
const char *classname, const TQStringList &)
{
if(TQCString(classname) != "SearchEngine")
@@ -51,7 +51,7 @@ TQObject *DbSeFactory::createObject( TQObject *tqparent, const char *name,
return 0;
}
- KDBSearchEngine *se = new KDBSearchEngine(tqparent,name);
+ KDBSearchEngine *se = new KDBSearchEngine(parent,name);
emit objectCreated(se);
return se;
diff --git a/kbabel/kbabeldict/modules/dbsearchengine/dbse_factory.h b/kbabel/kbabeldict/modules/dbsearchengine/dbse_factory.h
index b146b021..1016f74d 100644
--- a/kbabel/kbabeldict/modules/dbsearchengine/dbse_factory.h
+++ b/kbabel/kbabeldict/modules/dbsearchengine/dbse_factory.h
@@ -10,10 +10,10 @@ class DbSeFactory : public KLibFactory
Q_OBJECT
TQ_OBJECT
public:
- DbSeFactory( TQObject *tqparent=0, const char *name=0);
+ DbSeFactory( TQObject *parent=0, const char *name=0);
~DbSeFactory();
- 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/dbsearchengine/preferenceswidget.cpp b/kbabel/kbabeldict/modules/dbsearchengine/preferenceswidget.cpp
index c81a8562..a2c8c289 100644
--- a/kbabel/kbabeldict/modules/dbsearchengine/preferenceswidget.cpp
+++ b/kbabel/kbabeldict/modules/dbsearchengine/preferenceswidget.cpp
@@ -14,8 +14,8 @@
#include "dbseprefwidget.h"
#include "preferenceswidget.h"
-PreferencesWidget::PreferencesWidget(TQWidget *tqparent, const char* name)
- : PrefWidget(tqparent,name)
+PreferencesWidget::PreferencesWidget(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/dbsearchengine/preferenceswidget.h b/kbabel/kbabeldict/modules/dbsearchengine/preferenceswidget.h
index 134c60bd..980a8f74 100644
--- a/kbabel/kbabeldict/modules/dbsearchengine/preferenceswidget.h
+++ b/kbabel/kbabeldict/modules/dbsearchengine/preferenceswidget.h
@@ -10,7 +10,7 @@ class PreferencesWidget : public PrefWidget
TQ_OBJECT
public:
- PreferencesWidget(TQWidget *tqparent=0, const char* name=0);
+ PreferencesWidget(TQWidget *parent=0, const char* name=0);
virtual ~PreferencesWidget();
virtual void apply();
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();
diff --git a/kbabel/kbabeldict/modules/poauxiliary/pa_factory.cpp b/kbabel/kbabeldict/modules/poauxiliary/pa_factory.cpp
index 730424f1..f17397f9 100644
--- a/kbabel/kbabeldict/modules/poauxiliary/pa_factory.cpp
+++ b/kbabel/kbabeldict/modules/poauxiliary/pa_factory.cpp
@@ -54,8 +54,8 @@ KInstance *PaFactory::s_instance = 0;
KAboutData *PaFactory::s_about = 0;
-PaFactory::PaFactory( TQObject *tqparent, const char *name)
- : KLibFactory(tqparent,name)
+PaFactory::PaFactory( TQObject *parent, const char *name)
+ : KLibFactory(parent,name)
{
}
@@ -75,7 +75,7 @@ PaFactory::~PaFactory()
}
-TQObject *PaFactory::createObject( TQObject *tqparent, const char *name
+TQObject *PaFactory::createObject( TQObject *parent, const char *name
, const char *classname, const TQStringList &)
{
if(TQCString(classname) != "SearchEngine")
@@ -84,7 +84,7 @@ TQObject *PaFactory::createObject( TQObject *tqparent, const char *name
return 0;
}
- return new PoAuxiliary(tqparent,name);
+ return new PoAuxiliary(parent,name);
}
diff --git a/kbabel/kbabeldict/modules/poauxiliary/pa_factory.h b/kbabel/kbabeldict/modules/poauxiliary/pa_factory.h
index 7c92e008..ab0fad0e 100644
--- a/kbabel/kbabeldict/modules/poauxiliary/pa_factory.h
+++ b/kbabel/kbabeldict/modules/poauxiliary/pa_factory.h
@@ -44,10 +44,10 @@ class PaFactory : public KLibFactory
Q_OBJECT
TQ_OBJECT
public:
- PaFactory( TQObject *tqparent=0, const char *name=0);
+ PaFactory( TQObject *parent=0, const char *name=0);
~PaFactory();
- 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/poauxiliary/poauxiliary.cpp b/kbabel/kbabeldict/modules/poauxiliary/poauxiliary.cpp
index ce4b7800..9025d716 100644
--- a/kbabel/kbabeldict/modules/poauxiliary/poauxiliary.cpp
+++ b/kbabel/kbabeldict/modules/poauxiliary/poauxiliary.cpp
@@ -50,8 +50,8 @@
using namespace KBabel;
-PoAuxiliary::PoAuxiliary(TQObject *tqparent, const char *name)
- : SearchEngine(tqparent, name)
+PoAuxiliary::PoAuxiliary(TQObject *parent, const char *name)
+ : SearchEngine(parent, name)
{
catalog = new Catalog(this, "PoAuxiliary::catalog");
prefWidget=0;
@@ -124,9 +124,9 @@ void PoAuxiliary::readSettings(KConfigBase *config)
restoreSettings();
}
-PrefWidget *PoAuxiliary::preferencesWidget(TQWidget *tqparent)
+PrefWidget *PoAuxiliary::preferencesWidget(TQWidget *parent)
{
- prefWidget = new AuxiliaryPreferencesWidget(tqparent,"pocompendium_prefwidget");
+ prefWidget = new AuxiliaryPreferencesWidget(parent,"pocompendium_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/poauxiliary/poauxiliary.h b/kbabel/kbabeldict/modules/poauxiliary/poauxiliary.h
index 0ad4c635..d3769237 100644
--- a/kbabel/kbabeldict/modules/poauxiliary/poauxiliary.h
+++ b/kbabel/kbabeldict/modules/poauxiliary/poauxiliary.h
@@ -53,7 +53,7 @@ class PoAuxiliary : public SearchEngine
TQ_OBJECT
public:
- PoAuxiliary(TQObject *tqparent=0, const char *name=0);
+ PoAuxiliary(TQObject *parent=0, const char *name=0);
virtual ~PoAuxiliary();
virtual bool isReady() const;
@@ -65,7 +65,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/poauxiliary/preferenceswidget.cpp b/kbabel/kbabeldict/modules/poauxiliary/preferenceswidget.cpp
index 2c984c46..873c07b6 100644
--- a/kbabel/kbabeldict/modules/poauxiliary/preferenceswidget.cpp
+++ b/kbabel/kbabeldict/modules/poauxiliary/preferenceswidget.cpp
@@ -43,8 +43,8 @@
#include "preferenceswidget.h"
#include "pwidget.h"
-AuxiliaryPreferencesWidget::AuxiliaryPreferencesWidget(TQWidget *tqparent, const char* name)
- : PrefWidget(tqparent,name)
+AuxiliaryPreferencesWidget::AuxiliaryPreferencesWidget(TQWidget *parent, const char* name)
+ : PrefWidget(parent,name)
, changed(false)
{
TQVBoxLayout *tqlayout = new TQVBoxLayout(this);
diff --git a/kbabel/kbabeldict/modules/poauxiliary/preferenceswidget.h b/kbabel/kbabeldict/modules/poauxiliary/preferenceswidget.h
index e967d958..ac4e024f 100644
--- a/kbabel/kbabeldict/modules/poauxiliary/preferenceswidget.h
+++ b/kbabel/kbabeldict/modules/poauxiliary/preferenceswidget.h
@@ -45,7 +45,7 @@ class AuxiliaryPreferencesWidget : public PrefWidget
TQ_OBJECT
public:
- AuxiliaryPreferencesWidget(TQWidget *tqparent=0, const char* name=0);
+ AuxiliaryPreferencesWidget(TQWidget *parent=0, const char* name=0);
virtual ~AuxiliaryPreferencesWidget();
virtual void apply();
diff --git a/kbabel/kbabeldict/modules/pocompendium/compendiumdata.cpp b/kbabel/kbabeldict/modules/pocompendium/compendiumdata.cpp
index 71d79641..e6565e54 100644
--- a/kbabel/kbabeldict/modules/pocompendium/compendiumdata.cpp
+++ b/kbabel/kbabeldict/modules/pocompendium/compendiumdata.cpp
@@ -42,8 +42,8 @@
using namespace KBabel;
-CompendiumData::CompendiumData(TQObject *tqparent)
- : TQObject(tqparent)
+CompendiumData::CompendiumData(TQObject *parent)
+ : TQObject(parent)
, _active(false)
, _error(false)
, _initialized(false)
diff --git a/kbabel/kbabeldict/modules/pocompendium/compendiumdata.h b/kbabel/kbabeldict/modules/pocompendium/compendiumdata.h
index 6d229d74..1d621bd8 100644
--- a/kbabel/kbabeldict/modules/pocompendium/compendiumdata.h
+++ b/kbabel/kbabeldict/modules/pocompendium/compendiumdata.h
@@ -52,7 +52,7 @@ class CompendiumData : public TQObject
TQ_OBJECT
public:
- CompendiumData(TQObject *tqparent=0);
+ CompendiumData(TQObject *parent=0);
bool load(KURL url);
diff --git a/kbabel/kbabeldict/modules/pocompendium/pc_factory.cpp b/kbabel/kbabeldict/modules/pocompendium/pc_factory.cpp
index 0d3d2d24..cb61de6b 100644
--- a/kbabel/kbabeldict/modules/pocompendium/pc_factory.cpp
+++ b/kbabel/kbabeldict/modules/pocompendium/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 PoCompendium(tqparent,name);
+ return new PoCompendium(parent,name);
}
diff --git a/kbabel/kbabeldict/modules/pocompendium/pc_factory.h b/kbabel/kbabeldict/modules/pocompendium/pc_factory.h
index b92cfcb0..dca44e09 100644
--- a/kbabel/kbabeldict/modules/pocompendium/pc_factory.h
+++ b/kbabel/kbabeldict/modules/pocompendium/pc_factory.h
@@ -44,10 +44,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/pocompendium/pocompendium.cpp b/kbabel/kbabeldict/modules/pocompendium/pocompendium.cpp
index 6e664316..60de6a4f 100644
--- a/kbabel/kbabeldict/modules/pocompendium/pocompendium.cpp
+++ b/kbabel/kbabeldict/modules/pocompendium/pocompendium.cpp
@@ -63,8 +63,8 @@ using namespace KBabel;
static KStaticDeleter< TQDict<CompendiumData> > compDataDeleter;
TQDict<CompendiumData> *PoCompendium::_compDict = 0;
-PoCompendium::PoCompendium(TQObject *tqparent, const char *name)
- : SearchEngine(tqparent, name)
+PoCompendium::PoCompendium(TQObject *parent, const char *name)
+ : SearchEngine(parent, name)
{
prefWidget=0;
data=0;
@@ -160,9 +160,9 @@ void PoCompendium::readSettings(KConfigBase *config)
restoreSettings();
}
-PrefWidget *PoCompendium::preferencesWidget(TQWidget *tqparent)
+PrefWidget *PoCompendium::preferencesWidget(TQWidget *parent)
{
- prefWidget = new CompendiumPreferencesWidget(tqparent,"pocompendium_prefwidget");
+ prefWidget = new CompendiumPreferencesWidget(parent,"pocompendium_prefwidget");
kdDebug(KBABEL_SEARCH) << "PreferencesWidget is " << prefWidget << endl;
connect(prefWidget, TQT_SIGNAL(applySettings()), this, TQT_SLOT(applySettings()));
connect(prefWidget, TQT_SIGNAL(restoreSettings())
diff --git a/kbabel/kbabeldict/modules/pocompendium/pocompendium.h b/kbabel/kbabeldict/modules/pocompendium/pocompendium.h
index 1b3d1496..8f2b19a8 100644
--- a/kbabel/kbabeldict/modules/pocompendium/pocompendium.h
+++ b/kbabel/kbabeldict/modules/pocompendium/pocompendium.h
@@ -54,7 +54,7 @@ class PoCompendium : public SearchEngine
TQ_OBJECT
public:
- PoCompendium(TQObject *tqparent=0, const char *name=0);
+ PoCompendium(TQObject *parent=0, const char *name=0);
virtual ~PoCompendium();
virtual bool isReady() const;
@@ -68,7 +68,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/pocompendium/preferenceswidget.cpp b/kbabel/kbabeldict/modules/pocompendium/preferenceswidget.cpp
index 9cbeb381..74321121 100644
--- a/kbabel/kbabeldict/modules/pocompendium/preferenceswidget.cpp
+++ b/kbabel/kbabeldict/modules/pocompendium/preferenceswidget.cpp
@@ -44,8 +44,8 @@
#include "preferenceswidget.h"
#include "pwidget.h"
-CompendiumPreferencesWidget::CompendiumPreferencesWidget(TQWidget *tqparent, const char* name)
- : PrefWidget(tqparent,name)
+CompendiumPreferencesWidget::CompendiumPreferencesWidget(TQWidget *parent, const char* name)
+ : PrefWidget(parent,name)
, changed(false)
{
TQVBoxLayout *tqlayout = new TQVBoxLayout(this);
diff --git a/kbabel/kbabeldict/modules/pocompendium/preferenceswidget.h b/kbabel/kbabeldict/modules/pocompendium/preferenceswidget.h
index e67a00d9..d98fe9c2 100644
--- a/kbabel/kbabeldict/modules/pocompendium/preferenceswidget.h
+++ b/kbabel/kbabeldict/modules/pocompendium/preferenceswidget.h
@@ -45,7 +45,7 @@ class CompendiumPreferencesWidget : public PrefWidget
TQ_OBJECT
public:
- CompendiumPreferencesWidget(TQWidget *tqparent=0, const char* name=0);
+ CompendiumPreferencesWidget(TQWidget *parent=0, const char* name=0);
virtual ~CompendiumPreferencesWidget();
virtual void apply();
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<TmxCompendiumData> > compDataDeleter;
TQDict<TmxCompendiumData> *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);
diff --git a/kbabel/kbabeldict/searchengine.cpp b/kbabel/kbabeldict/searchengine.cpp
index 912f4da7..bceec8a8 100644
--- a/kbabel/kbabeldict/searchengine.cpp
+++ b/kbabel/kbabeldict/searchengine.cpp
@@ -62,8 +62,8 @@ SearchResult::SearchResult(const SearchResult& r)
}
-PrefWidget::PrefWidget(TQWidget *tqparent, const char *name)
- : TQWidget(tqparent,name)
+PrefWidget::PrefWidget(TQWidget *parent, const char *name)
+ : TQWidget(parent,name)
{
}
@@ -72,8 +72,8 @@ PrefWidget::~PrefWidget()
}
-SearchEngine::SearchEngine(TQObject *tqparent, const char *name)
- : TQObject(tqparent, name)
+SearchEngine::SearchEngine(TQObject *parent, const char *name)
+ : TQObject(parent, name)
{
autoUpdate=false;
results.setAutoDelete(true);
diff --git a/kbabel/kbabeldict/searchengine.h b/kbabel/kbabeldict/searchengine.h
index f14baa1e..c5b28ad5 100644
--- a/kbabel/kbabeldict/searchengine.h
+++ b/kbabel/kbabeldict/searchengine.h
@@ -247,7 +247,7 @@ class KDE_EXPORT PrefWidget : public TQWidget
TQ_OBJECT
public:
- PrefWidget(TQWidget *tqparent, const char* name=0);
+ PrefWidget(TQWidget *parent, const char* name=0);
virtual ~PrefWidget();
public slots:
@@ -272,7 +272,7 @@ class KDE_EXPORT SearchEngine : public TQObject
TQ_OBJECT
public:
- SearchEngine(TQObject *tqparent=0, const char *name=0);
+ SearchEngine(TQObject *parent=0, const char *name=0);
virtual ~SearchEngine();
@@ -354,9 +354,9 @@ public:
* 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)=0;
+ virtual PrefWidget* preferencesWidget(TQWidget *parent)=0;
/** @returns information about this SearchEngine */
virtual const KAboutData *about() const= 0;