diff options
Diffstat (limited to 'kbabel/kbabeldict/modules')
40 files changed, 89 insertions, 89 deletions
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); |