summaryrefslogtreecommitdiffstats
path: root/kbabel
diff options
context:
space:
mode:
Diffstat (limited to 'kbabel')
-rw-r--r--kbabel/catalogmanager/main.cpp4
-rw-r--r--kbabel/kbabel/main.cpp4
-rw-r--r--kbabel/kbabeldict/aboutmoduledlg.cpp2
-rw-r--r--kbabel/kbabeldict/aboutmoduledlg.h4
-rw-r--r--kbabel/kbabeldict/kbabeldictbox.cpp4
-rw-r--r--kbabel/kbabeldict/main.cpp4
-rw-r--r--kbabel/kbabeldict/modules/dbsearchengine/KDBSearchEngine.cpp2
-rw-r--r--kbabel/kbabeldict/modules/dbsearchengine/KDBSearchEngine.h2
-rw-r--r--kbabel/kbabeldict/modules/dbsearchengine/dbse_factory.cpp12
-rw-r--r--kbabel/kbabeldict/modules/dbsearchengine/dbse_factory.h10
-rw-r--r--kbabel/kbabeldict/modules/dbsearchengine2/KDBSearchEngine2.cpp2
-rw-r--r--kbabel/kbabeldict/modules/dbsearchengine2/KDBSearchEngine2.h2
-rw-r--r--kbabel/kbabeldict/modules/dbsearchengine2/dbse2_factory.cpp12
-rw-r--r--kbabel/kbabeldict/modules/dbsearchengine2/dbse2_factory.h10
-rw-r--r--kbabel/kbabeldict/modules/poauxiliary/pa_factory.cpp12
-rw-r--r--kbabel/kbabeldict/modules/poauxiliary/pa_factory.h10
-rw-r--r--kbabel/kbabeldict/modules/poauxiliary/poauxiliary.cpp2
-rw-r--r--kbabel/kbabeldict/modules/poauxiliary/poauxiliary.h2
-rw-r--r--kbabel/kbabeldict/modules/pocompendium/pc_factory.cpp12
-rw-r--r--kbabel/kbabeldict/modules/pocompendium/pc_factory.h10
-rw-r--r--kbabel/kbabeldict/modules/pocompendium/pocompendium.cpp2
-rw-r--r--kbabel/kbabeldict/modules/pocompendium/pocompendium.h2
-rw-r--r--kbabel/kbabeldict/modules/tmx/pc_factory.cpp12
-rw-r--r--kbabel/kbabeldict/modules/tmx/pc_factory.h10
-rw-r--r--kbabel/kbabeldict/modules/tmx/tmxcompendium.cpp2
-rw-r--r--kbabel/kbabeldict/modules/tmx/tmxcompendium.h2
-rw-r--r--kbabel/kbabeldict/searchengine.h2
27 files changed, 77 insertions, 77 deletions
diff --git a/kbabel/catalogmanager/main.cpp b/kbabel/catalogmanager/main.cpp
index ef17c176..b7d04b43 100644
--- a/kbabel/catalogmanager/main.cpp
+++ b/kbabel/catalogmanager/main.cpp
@@ -183,8 +183,8 @@ static KCmdLineOptions options[] =
int main(int argc, char **argv)
{
KLocale::setMainCatalogue("kbabel");
- KAboutData about("catalogmanager",I18N_NOOP("KBabel - Catalog Manager"),VERSION,
- I18N_NOOP("An advanced catalog manager for KBabel"),KAboutData::License_GPL,
+ TDEAboutData about("catalogmanager",I18N_NOOP("KBabel - Catalog Manager"),VERSION,
+ I18N_NOOP("An advanced catalog manager for KBabel"),TDEAboutData::License_GPL,
I18N_NOOP("(c) 1999,2000,2001,2002,2003,2004,2005,2006 The KBabel developers"),0,"http://kbabel.kde.org");
about.addAuthor("Matthias Kiefer",I18N_NOOP("Original author"),"kiefer@kde.org");
diff --git a/kbabel/kbabel/main.cpp b/kbabel/kbabel/main.cpp
index 1e8ca625..1ecea9ed 100644
--- a/kbabel/kbabel/main.cpp
+++ b/kbabel/kbabel/main.cpp
@@ -544,8 +544,8 @@ static KCmdLineOptions options[] =
int main(int argc, char **argv)
{
- KAboutData about("kbabel",I18N_NOOP("KBabel"),VERSION,
- I18N_NOOP("An advanced PO file editor"),KAboutData::License_GPL,
+ TDEAboutData about("kbabel",I18N_NOOP("KBabel"),VERSION,
+ I18N_NOOP("An advanced PO file editor"),TDEAboutData::License_GPL,
I18N_NOOP("(c) 1999,2000,2001,2002,2003,2004,2005,2006 The KBabel developers"),0,"http://kbabel.kde.org");
about.addAuthor("Matthias Kiefer",I18N_NOOP("Original author"),"kiefer@kde.org");
diff --git a/kbabel/kbabeldict/aboutmoduledlg.cpp b/kbabel/kbabeldict/aboutmoduledlg.cpp
index 861fe01a..aaa4ca0f 100644
--- a/kbabel/kbabeldict/aboutmoduledlg.cpp
+++ b/kbabel/kbabeldict/aboutmoduledlg.cpp
@@ -35,7 +35,7 @@
#include <kbugreport.h>
#include <klocale.h>
-AboutModuleDlg::AboutModuleDlg(const KAboutData *aboutData, TQWidget *parent)
+AboutModuleDlg::AboutModuleDlg(const TDEAboutData *aboutData, TQWidget *parent)
: KAboutApplication(aboutData, parent)
, _aboutData(aboutData)
{
diff --git a/kbabel/kbabeldict/aboutmoduledlg.h b/kbabel/kbabeldict/aboutmoduledlg.h
index 56b82930..3b1abaa9 100644
--- a/kbabel/kbabeldict/aboutmoduledlg.h
+++ b/kbabel/kbabeldict/aboutmoduledlg.h
@@ -44,13 +44,13 @@ class AboutModuleDlg : public KAboutApplication
public:
- AboutModuleDlg(const KAboutData *aboutData, TQWidget* parent=0);
+ AboutModuleDlg(const TDEAboutData *aboutData, TQWidget* parent=0);
public slots:
virtual void helpClickedSlot(const TQString&);
private:
- const KAboutData *_aboutData;
+ const TDEAboutData *_aboutData;
};
#endif
diff --git a/kbabel/kbabeldict/kbabeldictbox.cpp b/kbabel/kbabeldict/kbabeldictbox.cpp
index 239801d3..fa483d85 100644
--- a/kbabel/kbabeldict/kbabeldictbox.cpp
+++ b/kbabel/kbabeldict/kbabeldictbox.cpp
@@ -372,7 +372,7 @@ KBabelDictBox::KBabelDictBox( TQWidget* parent, const char* name, WFlags fl )
rcConfig.setGroup("SearchEngine");
TQStringList appList = rcConfig.readListEntry("Applications");
- KInstance *inst = KGlobal::instance();
+ TDEInstance *inst = KGlobal::instance();
if(inst && !appList.isEmpty() && !appList.contains(inst->instanceName()))
{
continue;
@@ -1230,7 +1230,7 @@ void KBabelDictBox::about()
{
KAboutContainer *page = aboutDlg->addScrolledContainerPage(e->name());
- const KAboutData *aboutData = e->about();
+ const TDEAboutData *aboutData = e->about();
if(aboutData)
{
diff --git a/kbabel/kbabeldict/main.cpp b/kbabel/kbabeldict/main.cpp
index fb783fa4..9cdffa29 100644
--- a/kbabel/kbabeldict/main.cpp
+++ b/kbabel/kbabeldict/main.cpp
@@ -111,8 +111,8 @@ int main(int argc, char **argv)
{
KLocale::setMainCatalogue("kbabel");
- KAboutData about("kbabeldict",I18N_NOOP("KBabel - Dictionary"),VERSION,
- I18N_NOOP("A dictionary for translators"),KAboutData::License_GPL,
+ TDEAboutData about("kbabeldict",I18N_NOOP("KBabel - Dictionary"),VERSION,
+ I18N_NOOP("A dictionary for translators"),TDEAboutData::License_GPL,
I18N_NOOP("(c) 2000,2001,2002,2003 The KBabeldict developers"),0,"http://kbabel.kde.org");
about.addAuthor("Matthias Kiefer",I18N_NOOP("Original author"),"kiefer@kde.org");
diff --git a/kbabel/kbabeldict/modules/dbsearchengine/KDBSearchEngine.cpp b/kbabel/kbabeldict/modules/dbsearchengine/KDBSearchEngine.cpp
index 46948614..76b3bdc9 100644
--- a/kbabel/kbabeldict/modules/dbsearchengine/KDBSearchEngine.cpp
+++ b/kbabel/kbabeldict/modules/dbsearchengine/KDBSearchEngine.cpp
@@ -1398,7 +1398,7 @@ KDBSearchEngine::scanFile ()
delete sca;
}
-const KAboutData *
+const TDEAboutData *
KDBSearchEngine::about () const
{
diff --git a/kbabel/kbabeldict/modules/dbsearchengine/KDBSearchEngine.h b/kbabel/kbabeldict/modules/dbsearchengine/KDBSearchEngine.h
index d7715e4e..d246c5a7 100644
--- a/kbabel/kbabeldict/modules/dbsearchengine/KDBSearchEngine.h
+++ b/kbabel/kbabeldict/modules/dbsearchengine/KDBSearchEngine.h
@@ -196,7 +196,7 @@ public:
virtual PrefWidget *preferencesWidget(TQWidget *parent);
- virtual const KAboutData *about() const;
+ virtual const TDEAboutData *about() const;
virtual TQString name() const;
diff --git a/kbabel/kbabeldict/modules/dbsearchengine/dbse_factory.cpp b/kbabel/kbabeldict/modules/dbsearchengine/dbse_factory.cpp
index 86975874..d18fd691 100644
--- a/kbabel/kbabeldict/modules/dbsearchengine/dbse_factory.cpp
+++ b/kbabel/kbabeldict/modules/dbsearchengine/dbse_factory.cpp
@@ -17,8 +17,8 @@ extern "C"
}
-KInstance *DbSeFactory::s_instance = 0;
-KAboutData *DbSeFactory::s_about = 0;
+TDEInstance *DbSeFactory::s_instance = 0;
+TDEAboutData *DbSeFactory::s_about = 0;
DbSeFactory::DbSeFactory( TQObject *parent, const char *name)
@@ -58,22 +58,22 @@ TQObject *DbSeFactory::createObject( TQObject *parent, const char *name,
}
-KInstance *DbSeFactory::instance()
+TDEInstance *DbSeFactory::instance()
{
if(!s_instance)
{
- s_about = new KAboutData( "kdbsearchengine",
+ s_about = new TDEAboutData( "kdbsearchengine",
I18N_NOOP("Translation Database")
, "0.3" ,
I18N_NOOP("A fast translation search engine based on databases")
- , KAboutData::License_GPL
+ , TDEAboutData::License_GPL
, I18N_NOOP("Copyright 2000-2001 by Andrea Rizzi")
,0,0, "rizzi@kde.org");
s_about->addAuthor("Andrea Rizzi",0,"rizzi@kde.org");
- s_instance = new KInstance(s_about);
+ s_instance = new TDEInstance(s_about);
}
return s_instance;
diff --git a/kbabel/kbabeldict/modules/dbsearchengine/dbse_factory.h b/kbabel/kbabeldict/modules/dbsearchengine/dbse_factory.h
index ddebfa46..c5fb96af 100644
--- a/kbabel/kbabeldict/modules/dbsearchengine/dbse_factory.h
+++ b/kbabel/kbabeldict/modules/dbsearchengine/dbse_factory.h
@@ -2,8 +2,8 @@
#define DBSE_FACTORY_H
#include <klibloader.h>
-class KInstance;
-class KAboutData;
+class TDEInstance;
+class TDEAboutData;
class DbSeFactory : public KLibFactory
{
@@ -17,11 +17,11 @@ public:
const char *classname=TQOBJECT_OBJECT_NAME_STRING,
const TQStringList &args = TQStringList());
- static KInstance *instance();
+ static TDEInstance *instance();
private:
- static KInstance *s_instance;
- static KAboutData *s_about;
+ static TDEInstance *s_instance;
+ static TDEAboutData *s_about;
};
#endif
diff --git a/kbabel/kbabeldict/modules/dbsearchengine2/KDBSearchEngine2.cpp b/kbabel/kbabeldict/modules/dbsearchengine2/KDBSearchEngine2.cpp
index 826800d9..9620bf63 100644
--- a/kbabel/kbabeldict/modules/dbsearchengine2/KDBSearchEngine2.cpp
+++ b/kbabel/kbabeldict/modules/dbsearchengine2/KDBSearchEngine2.cpp
@@ -238,7 +238,7 @@ bool KDBSearchEngine2::init()
}
}
-const KAboutData *KDBSearchEngine2::about() const
+const TDEAboutData *KDBSearchEngine2::about() const
{
return DbSe2Factory::instance()->aboutData();
}
diff --git a/kbabel/kbabeldict/modules/dbsearchengine2/KDBSearchEngine2.h b/kbabel/kbabeldict/modules/dbsearchengine2/KDBSearchEngine2.h
index a9377d68..29615e9e 100644
--- a/kbabel/kbabeldict/modules/dbsearchengine2/KDBSearchEngine2.h
+++ b/kbabel/kbabeldict/modules/dbsearchengine2/KDBSearchEngine2.h
@@ -83,7 +83,7 @@ class KDBSearchEngine2 : public SearchEngine
virtual PrefWidget* preferencesWidget(TQWidget *parent);
/** @returns information about this SearchEngine */
- virtual const KAboutData *about() const;
+ virtual const TDEAboutData *about() const;
/** @returns the i18n name of this search engine */
TQString name() const {return i18n("DB SearchEngine II");}
diff --git a/kbabel/kbabeldict/modules/dbsearchengine2/dbse2_factory.cpp b/kbabel/kbabeldict/modules/dbsearchengine2/dbse2_factory.cpp
index 55f6a16f..b82528b9 100644
--- a/kbabel/kbabeldict/modules/dbsearchengine2/dbse2_factory.cpp
+++ b/kbabel/kbabeldict/modules/dbsearchengine2/dbse2_factory.cpp
@@ -18,8 +18,8 @@ extern "C"
};
-KInstance *DbSe2Factory::s_instance = 0;
-KAboutData *DbSe2Factory::s_about = 0;
+TDEInstance *DbSe2Factory::s_instance = 0;
+TDEAboutData *DbSe2Factory::s_about = 0;
DbSe2Factory::DbSe2Factory( TQObject *parent, const char *name)
@@ -59,22 +59,22 @@ TQObject *DbSe2Factory::createObject( TQObject *parent, const char *name,
}
-KInstance *DbSe2Factory::instance()
+TDEInstance *DbSe2Factory::instance()
{
if(!s_instance)
{
- s_about = new KAboutData( "kdbsearchengine2",
+ s_about = new TDEAboutData( "kdbsearchengine2",
I18N_NOOP("Translation Database")
, "1.99" ,
I18N_NOOP("A fast translation search engine based on databases")
- , KAboutData::License_GPL
+ , TDEAboutData::License_GPL
, I18N_NOOP("Copyright 2000-2003 by Andrea Rizzi")
,0,0, "rizzi@kde.org");
s_about->addAuthor("Andrea Rizzi",0,"rizzi@kde.org");
- s_instance = new KInstance(s_about);
+ s_instance = new TDEInstance(s_about);
}
return s_instance;
diff --git a/kbabel/kbabeldict/modules/dbsearchengine2/dbse2_factory.h b/kbabel/kbabeldict/modules/dbsearchengine2/dbse2_factory.h
index 267ec14f..a34cf1ed 100644
--- a/kbabel/kbabeldict/modules/dbsearchengine2/dbse2_factory.h
+++ b/kbabel/kbabeldict/modules/dbsearchengine2/dbse2_factory.h
@@ -2,8 +2,8 @@
#define DBSE2_FACTORY_H
#include <klibloader.h>
-class KInstance;
-class KAboutData;
+class TDEInstance;
+class TDEAboutData;
class DbSe2Factory : public KLibFactory
{
@@ -17,11 +17,11 @@ public:
const char *classname=TQOBJECT_OBJECT_NAME_STRING,
const TQStringList &args = TQStringList());
- static KInstance *instance();
+ static TDEInstance *instance();
private:
- static KInstance *s_instance;
- static KAboutData *s_about;
+ static TDEInstance *s_instance;
+ static TDEAboutData *s_about;
};
#endif
diff --git a/kbabel/kbabeldict/modules/poauxiliary/pa_factory.cpp b/kbabel/kbabeldict/modules/poauxiliary/pa_factory.cpp
index f17397f9..9d658220 100644
--- a/kbabel/kbabeldict/modules/poauxiliary/pa_factory.cpp
+++ b/kbabel/kbabeldict/modules/poauxiliary/pa_factory.cpp
@@ -50,8 +50,8 @@ extern "C"
}
-KInstance *PaFactory::s_instance = 0;
-KAboutData *PaFactory::s_about = 0;
+TDEInstance *PaFactory::s_instance = 0;
+TDEAboutData *PaFactory::s_about = 0;
PaFactory::PaFactory( TQObject *parent, const char *name)
@@ -88,20 +88,20 @@ TQObject *PaFactory::createObject( TQObject *parent, const char *name
}
-KInstance *PaFactory::instance()
+TDEInstance *PaFactory::instance()
{
if(!s_instance)
{
- s_about = new KAboutData( "poauxiliary", I18N_NOOP("PO Auxiliary")
+ s_about = new TDEAboutData( "poauxiliary", I18N_NOOP("PO Auxiliary")
, "1.0"
, I18N_NOOP("A simple module for exact searching in a PO file")
- , KAboutData::License_GPL
+ , TDEAboutData::License_GPL
, "Copyright 2000, Matthias Kiefer"
,0,0, "kiefer@kde.org");
s_about->addAuthor("Matthias Kiefer",0,"kiefer@kde.org");
- s_instance = new KInstance(s_about);
+ s_instance = new TDEInstance(s_about);
}
return s_instance;
diff --git a/kbabel/kbabeldict/modules/poauxiliary/pa_factory.h b/kbabel/kbabeldict/modules/poauxiliary/pa_factory.h
index 640bcf8a..a0a5a361 100644
--- a/kbabel/kbabeldict/modules/poauxiliary/pa_factory.h
+++ b/kbabel/kbabeldict/modules/poauxiliary/pa_factory.h
@@ -36,8 +36,8 @@
#define PA_FACTORY_H
#include <klibloader.h>
-class KInstance;
-class KAboutData;
+class TDEInstance;
+class TDEAboutData;
class PaFactory : public KLibFactory
{
@@ -51,11 +51,11 @@ public:
, const char *classname=TQOBJECT_OBJECT_NAME_STRING
, const TQStringList &args = TQStringList());
- static KInstance *instance();
+ static TDEInstance *instance();
private:
- static KInstance *s_instance;
- static KAboutData *s_about;
+ static TDEInstance *s_instance;
+ static TDEAboutData *s_about;
};
#endif
diff --git a/kbabel/kbabeldict/modules/poauxiliary/poauxiliary.cpp b/kbabel/kbabeldict/modules/poauxiliary/poauxiliary.cpp
index 110dd874..fad15a21 100644
--- a/kbabel/kbabeldict/modules/poauxiliary/poauxiliary.cpp
+++ b/kbabel/kbabeldict/modules/poauxiliary/poauxiliary.cpp
@@ -136,7 +136,7 @@ PrefWidget *PoAuxiliary::preferencesWidget(TQWidget *parent)
return prefWidget;
}
-const KAboutData *PoAuxiliary::about() const
+const TDEAboutData *PoAuxiliary::about() const
{
return PaFactory::instance()->aboutData();
}
diff --git a/kbabel/kbabeldict/modules/poauxiliary/poauxiliary.h b/kbabel/kbabeldict/modules/poauxiliary/poauxiliary.h
index b5fd7af7..eaa8b890 100644
--- a/kbabel/kbabeldict/modules/poauxiliary/poauxiliary.h
+++ b/kbabel/kbabeldict/modules/poauxiliary/poauxiliary.h
@@ -67,7 +67,7 @@ public:
virtual PrefWidget *preferencesWidget(TQWidget *parent);
- virtual const KAboutData *about() const;
+ virtual const TDEAboutData *about() const;
virtual TQString name() const;
diff --git a/kbabel/kbabeldict/modules/pocompendium/pc_factory.cpp b/kbabel/kbabeldict/modules/pocompendium/pc_factory.cpp
index cb61de6b..16101750 100644
--- a/kbabel/kbabeldict/modules/pocompendium/pc_factory.cpp
+++ b/kbabel/kbabeldict/modules/pocompendium/pc_factory.cpp
@@ -50,8 +50,8 @@ extern "C"
}
-KInstance *PcFactory::s_instance = 0;
-KAboutData *PcFactory::s_about = 0;
+TDEInstance *PcFactory::s_instance = 0;
+TDEAboutData *PcFactory::s_about = 0;
PcFactory::PcFactory( TQObject *parent, const char *name)
@@ -88,20 +88,20 @@ TQObject *PcFactory::createObject( TQObject *parent, const char *name
}
-KInstance *PcFactory::instance()
+TDEInstance *PcFactory::instance()
{
if(!s_instance)
{
- s_about = new KAboutData( "pocompendium", I18N_NOOP("PO Compendium")
+ s_about = new TDEAboutData( "pocompendium", I18N_NOOP("PO Compendium")
, "1.0"
, I18N_NOOP("A module for searching in a PO file")
- , KAboutData::License_GPL
+ , TDEAboutData::License_GPL
, "Copyright 2000-2001, Matthias Kiefer"
,0,0, "kiefer@kde.org");
s_about->addAuthor("Matthias Kiefer",0,"kiefer@kde.org");
- s_instance = new KInstance(s_about);
+ s_instance = new TDEInstance(s_about);
}
return s_instance;
diff --git a/kbabel/kbabeldict/modules/pocompendium/pc_factory.h b/kbabel/kbabeldict/modules/pocompendium/pc_factory.h
index 0d287259..bd94712a 100644
--- a/kbabel/kbabeldict/modules/pocompendium/pc_factory.h
+++ b/kbabel/kbabeldict/modules/pocompendium/pc_factory.h
@@ -36,8 +36,8 @@
#define PC_FACTORY_H
#include <klibloader.h>
-class KInstance;
-class KAboutData;
+class TDEInstance;
+class TDEAboutData;
class PcFactory : public KLibFactory
{
@@ -51,11 +51,11 @@ public:
, const char *classname=TQOBJECT_OBJECT_NAME_STRING
, const TQStringList &args = TQStringList());
- static KInstance *instance();
+ static TDEInstance *instance();
private:
- static KInstance *s_instance;
- static KAboutData *s_about;
+ static TDEInstance *s_instance;
+ static TDEAboutData *s_about;
};
#endif
diff --git a/kbabel/kbabeldict/modules/pocompendium/pocompendium.cpp b/kbabel/kbabeldict/modules/pocompendium/pocompendium.cpp
index 7c462099..95557332 100644
--- a/kbabel/kbabeldict/modules/pocompendium/pocompendium.cpp
+++ b/kbabel/kbabeldict/modules/pocompendium/pocompendium.cpp
@@ -173,7 +173,7 @@ PrefWidget *PoCompendium::preferencesWidget(TQWidget *parent)
return prefWidget;
}
-const KAboutData *PoCompendium::about() const
+const TDEAboutData *PoCompendium::about() const
{
return PcFactory::instance()->aboutData();
}
diff --git a/kbabel/kbabeldict/modules/pocompendium/pocompendium.h b/kbabel/kbabeldict/modules/pocompendium/pocompendium.h
index c0d33d5e..ef6eec63 100644
--- a/kbabel/kbabeldict/modules/pocompendium/pocompendium.h
+++ b/kbabel/kbabeldict/modules/pocompendium/pocompendium.h
@@ -70,7 +70,7 @@ public:
virtual PrefWidget *preferencesWidget(TQWidget *parent);
- virtual const KAboutData *about() const;
+ virtual const TDEAboutData *about() const;
virtual TQString name() const;
diff --git a/kbabel/kbabeldict/modules/tmx/pc_factory.cpp b/kbabel/kbabeldict/modules/tmx/pc_factory.cpp
index 864f9fed..4847283d 100644
--- a/kbabel/kbabeldict/modules/tmx/pc_factory.cpp
+++ b/kbabel/kbabeldict/modules/tmx/pc_factory.cpp
@@ -50,8 +50,8 @@ extern "C"
}
-KInstance *PcFactory::s_instance = 0;
-KAboutData *PcFactory::s_about = 0;
+TDEInstance *PcFactory::s_instance = 0;
+TDEAboutData *PcFactory::s_about = 0;
PcFactory::PcFactory( TQObject *parent, const char *name)
@@ -88,21 +88,21 @@ TQObject *PcFactory::createObject( TQObject *parent, const char *name
}
-KInstance *PcFactory::instance()
+TDEInstance *PcFactory::instance()
{
if(!s_instance)
{
- s_about = new KAboutData( "tmxcompendium", I18N_NOOP("TMX Compendium")
+ s_about = new TDEAboutData( "tmxcompendium", I18N_NOOP("TMX Compendium")
, "1.0"
, I18N_NOOP("A module for searching in a TMX file")
- , KAboutData::License_GPL
+ , TDEAboutData::License_GPL
, "Copyright 2002, Stanislav Visnovsky"
,0,0, "visnovsky@kde.org");
s_about->addAuthor("Matthias Kiefer",0,"kiefer@kde.org");
s_about->addAuthor("Stanislav Visnovsky",0,"visnovsky@kde.org");
- s_instance = new KInstance(s_about);
+ s_instance = new TDEInstance(s_about);
}
return s_instance;
diff --git a/kbabel/kbabeldict/modules/tmx/pc_factory.h b/kbabel/kbabeldict/modules/tmx/pc_factory.h
index 0e5ba547..6c8a900f 100644
--- a/kbabel/kbabeldict/modules/tmx/pc_factory.h
+++ b/kbabel/kbabeldict/modules/tmx/pc_factory.h
@@ -38,8 +38,8 @@
#define PC_FACTORY_H
#include <klibloader.h>
-class KInstance;
-class KAboutData;
+class TDEInstance;
+class TDEAboutData;
class PcFactory : public KLibFactory
{
@@ -53,11 +53,11 @@ public:
, const char *classname=TQOBJECT_OBJECT_NAME_STRING
, const TQStringList &args = TQStringList());
- static KInstance *instance();
+ static TDEInstance *instance();
private:
- static KInstance *s_instance;
- static KAboutData *s_about;
+ static TDEInstance *s_instance;
+ static TDEAboutData *s_about;
};
#endif
diff --git a/kbabel/kbabeldict/modules/tmx/tmxcompendium.cpp b/kbabel/kbabeldict/modules/tmx/tmxcompendium.cpp
index 3f212f1e..37c3f4bf 100644
--- a/kbabel/kbabeldict/modules/tmx/tmxcompendium.cpp
+++ b/kbabel/kbabeldict/modules/tmx/tmxcompendium.cpp
@@ -164,7 +164,7 @@ PrefWidget *TmxCompendium::preferencesWidget(TQWidget *parent)
return prefWidget;
}
-const KAboutData *TmxCompendium::about() const
+const TDEAboutData *TmxCompendium::about() const
{
return PcFactory::instance()->aboutData();
}
diff --git a/kbabel/kbabeldict/modules/tmx/tmxcompendium.h b/kbabel/kbabeldict/modules/tmx/tmxcompendium.h
index b4e61c9e..8f75f5e6 100644
--- a/kbabel/kbabeldict/modules/tmx/tmxcompendium.h
+++ b/kbabel/kbabeldict/modules/tmx/tmxcompendium.h
@@ -68,7 +68,7 @@ public:
virtual PrefWidget *preferencesWidget(TQWidget *parent);
- virtual const KAboutData *about() const;
+ virtual const TDEAboutData *about() const;
virtual TQString name() const;
diff --git a/kbabel/kbabeldict/searchengine.h b/kbabel/kbabeldict/searchengine.h
index 4dfb7f2a..ace70b9c 100644
--- a/kbabel/kbabeldict/searchengine.h
+++ b/kbabel/kbabeldict/searchengine.h
@@ -359,7 +359,7 @@ public:
virtual PrefWidget* preferencesWidget(TQWidget *parent)=0;
/** @returns information about this SearchEngine */
- virtual const KAboutData *about() const= 0;
+ virtual const TDEAboutData *about() const= 0;
/** @returns the i18n name of this search engine */
virtual TQString name() const= 0;