summaryrefslogtreecommitdiffstats
path: root/languages/cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:38:54 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:38:54 -0600
commitda1522385e5367bae56b90fac55c4355e475905b (patch)
treebfa432864dbf322feb4ed3a878f1222ee8ea7727 /languages/cpp
parentb9e542d0c805e9adee3a67e44532d5321032e21e (diff)
downloadtdevelop-da1522385e5367bae56b90fac55c4355e475905b.tar.gz
tdevelop-da1522385e5367bae56b90fac55c4355e475905b.zip
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'languages/cpp')
-rw-r--r--languages/cpp/app_templates/kapp/README2
-rw-r--r--languages/cpp/app_templates/kapp/app.cpp8
-rw-r--r--languages/cpp/app_templates/kapp/app.h6
-rw-r--r--languages/cpp/app_templates/kcmodule/module.cpp4
-rw-r--r--languages/cpp/app_templates/kcmodule/module.h2
-rw-r--r--languages/cpp/app_templates/kconfig35/README2
-rw-r--r--languages/cpp/app_templates/kconfig35/app.cpp2
-rw-r--r--languages/cpp/app_templates/kconfig35/kconfig35.kdevtemplate86
-rw-r--r--languages/cpp/app_templates/kde4app/kapp4.cpp4
-rw-r--r--languages/cpp/app_templates/kicker/applet.h2
-rw-r--r--languages/cpp/app_templates/kioslave/slave.cpp2
-rw-r--r--languages/cpp/app_templates/kioslave/slave.h2
-rw-r--r--languages/cpp/app_templates/kpartapp/app.cpp4
-rw-r--r--languages/cpp/app_templates/kpartapp/app.h6
-rw-r--r--languages/cpp/app_templates/kscons_kmdi/README2
-rw-r--r--languages/cpp/app_templates/kscons_kmdi/appkmdi.cpp8
-rw-r--r--languages/cpp/app_templates/kscons_kxt/README2
-rw-r--r--languages/cpp/app_templates/kscons_kxt/app.cpp2
-rw-r--r--languages/cpp/app_templates/kscreensaver/kscreensaver.cpp6
-rw-r--r--languages/cpp/app_templates/kxt/README2
-rw-r--r--languages/cpp/app_templates/kxt/app.cpp2
-rw-r--r--languages/cpp/app_templates/kxt/kxt.kdevtemplate116
-rw-r--r--languages/cpp/ccconfigwidget.cpp4
-rw-r--r--languages/cpp/classgeneratorconfig.cpp4
-rw-r--r--languages/cpp/configproblemreporter.ui.h4
-rw-r--r--languages/cpp/cppsupport_utils.cpp4
-rw-r--r--languages/cpp/cppsupportpart.cpp14
-rw-r--r--languages/cpp/cppsupportpart.h2
-rw-r--r--languages/cpp/doc/kde2book.toc24
-rw-r--r--languages/cpp/subclassingdlg.cpp6
30 files changed, 167 insertions, 167 deletions
diff --git a/languages/cpp/app_templates/kapp/README b/languages/cpp/app_templates/kapp/README
index a94ee3db..1db7896b 100644
--- a/languages/cpp/app_templates/kapp/README
+++ b/languages/cpp/app_templates/kapp/README
@@ -42,7 +42,7 @@ For more details, consult :
http://devel-home.kde.org/~larrosa/tutorial/p9.html
http://developer.kde.org/documentation/tutorials/xmlui/preface.html
-* Use KConfig XT to create your configuration dialogs and make
+* Use TDEConfig XT to create your configuration dialogs and make
them more maintainable.
For more details, consult :
diff --git a/languages/cpp/app_templates/kapp/app.cpp b/languages/cpp/app_templates/kapp/app.cpp
index f3872d04..cc77371d 100644
--- a/languages/cpp/app_templates/kapp/app.cpp
+++ b/languages/cpp/app_templates/kapp/app.cpp
@@ -69,7 +69,7 @@ void %{APPNAME}::load(const KURL& url)
#if 0
// download the contents
- if (KIO::NetAccess::download(url, target))
+ if (TDEIO::NetAccess::download(url, target))
{
// set our caption
setCaption(url);
@@ -78,7 +78,7 @@ void %{APPNAME}::load(const KURL& url)
loadFile(target);
// and remove the temp file
- KIO::NetAccess::removeTempFile(target);
+ TDEIO::NetAccess::removeTempFile(target);
}
#endif
@@ -104,7 +104,7 @@ void %{APPNAME}::setupActions()
actionCollection(), "custom_action");
}
-void %{APPNAME}::saveProperties(KConfig *config)
+void %{APPNAME}::saveProperties(TDEConfig *config)
{
// the 'config' object points to the session managed
// config file. anything you write here will be available
@@ -119,7 +119,7 @@ void %{APPNAME}::saveProperties(KConfig *config)
}
}
-void %{APPNAME}::readProperties(KConfig *config)
+void %{APPNAME}::readProperties(TDEConfig *config)
{
// the 'config' object points to the session managed
// config file. this function is automatically called whenever
diff --git a/languages/cpp/app_templates/kapp/app.h b/languages/cpp/app_templates/kapp/app.h
index 8c40e1fc..2085e6e6 100644
--- a/languages/cpp/app_templates/kapp/app.h
+++ b/languages/cpp/app_templates/kapp/app.h
@@ -55,14 +55,14 @@ protected:
* This function is called when it is time for the app to save its
* properties for session management purposes.
*/
- void saveProperties(KConfig *);
+ void saveProperties(TDEConfig *);
/**
- * This function is called when this app is restored. The KConfig
+ * This function is called when this app is restored. The TDEConfig
* object points to the session management config file that was saved
* with @ref saveProperties
*/
- void readProperties(KConfig *);
+ void readProperties(TDEConfig *);
private slots:
diff --git a/languages/cpp/app_templates/kcmodule/module.cpp b/languages/cpp/app_templates/kcmodule/module.cpp
index bb15b923..2c8d9271 100644
--- a/languages/cpp/app_templates/kcmodule/module.cpp
+++ b/languages/cpp/app_templates/kcmodule/module.cpp
@@ -12,7 +12,7 @@ typedef KGenericFactory<%{APPNAME}, TQWidget> %{APPNAME}Factory;
K_EXPORT_COMPONENT_FACTORY( kcm_%{APPNAME}, %{APPNAME}Factory("kcm%{APPNAMELC}"))
%{APPNAME}::%{APPNAME}(TQWidget *parent, const char *name, const TQStringList&)
- : KCModule(parent, name), myAboutData(0)
+ : TDECModule(parent, name), myAboutData(0)
{
// place widgets here
load();
@@ -46,7 +46,7 @@ void %{APPNAME}::save()
int %{APPNAME}::buttons()
{
- return KCModule::Default|KCModule::Apply|KCModule::Help;
+ return TDECModule::Default|TDECModule::Apply|TDECModule::Help;
}
diff --git a/languages/cpp/app_templates/kcmodule/module.h b/languages/cpp/app_templates/kcmodule/module.h
index e9b97c38..169ff030 100644
--- a/languages/cpp/app_templates/kcmodule/module.h
+++ b/languages/cpp/app_templates/kcmodule/module.h
@@ -6,7 +6,7 @@
#include <kcmodule.h>
#include <kaboutdata.h>
-class %{APPNAME}: public KCModule
+class %{APPNAME}: public TDECModule
{
Q_OBJECT
diff --git a/languages/cpp/app_templates/kconfig35/README b/languages/cpp/app_templates/kconfig35/README
index 4047745e..6f91629b 100644
--- a/languages/cpp/app_templates/kconfig35/README
+++ b/languages/cpp/app_templates/kconfig35/README
@@ -46,7 +46,7 @@ For more details, consult :
http://devel-home.kde.org/~larrosa/tutorial/p9.html
http://developer.kde.org/documentation/tutorials/xmlui/preface.html
-* Use KConfig XT to create your configuration dialogs and make
+* Use TDEConfig XT to create your configuration dialogs and make
them more maintainable.
For that, you will need to write two simple configuration files
diff --git a/languages/cpp/app_templates/kconfig35/app.cpp b/languages/cpp/app_templates/kconfig35/app.cpp
index e18b4148..0fb99ee1 100644
--- a/languages/cpp/app_templates/kconfig35/app.cpp
+++ b/languages/cpp/app_templates/kconfig35/app.cpp
@@ -73,7 +73,7 @@ void %{APPNAMELC}::optionsPreferences()
//
// compare the names of the widgets in the .ui file
// to the names of the variables in the .kcfg file
- KConfigDialog *dialog = new KConfigDialog(this, "settings", Settings::self(), KDialogBase::Swallow);
+ TDEConfigDialog *dialog = new TDEConfigDialog(this, "settings", Settings::self(), KDialogBase::Swallow);
dialog->addPage(new Prefs(), i18n("General"), "package_settings");
connect(dialog, TQT_SIGNAL(settingsChanged()), m_view, TQT_SLOT(settingsChanged()));
dialog->show();
diff --git a/languages/cpp/app_templates/kconfig35/kconfig35.kdevtemplate b/languages/cpp/app_templates/kconfig35/kconfig35.kdevtemplate
index 5786904e..3f5a2a81 100644
--- a/languages/cpp/app_templates/kconfig35/kconfig35.kdevtemplate
+++ b/languages/cpp/app_templates/kconfig35/kconfig35.kdevtemplate
@@ -1,26 +1,26 @@
# TDE Config File
[General]
-Name=KConfig XT for TDE 3.5
-Name[ca]=KConfig XT per a TDE 3.5
-Name[de]=KConfigXT-Anwendung für TDE 3.5
-Name[el]=Εφαρμογή KConfig XT για το TDE 3.5
-Name[es]=KConfig XT para TDE 3.5
-Name[et]=KConfig XT TDE 3.5 jaoks
-Name[fr]=Application KConfig XT pour TDE 3.5
-Name[hu]=KConfig XT a TDE 3.5-höz
-Name[it]=KConfig XT per TDE 3.5
-Name[ja]=TDE 3.5 用 KConfig XT
-Name[nds]=KConfig-XT-Programm för TDE 3.5
-Name[nl]=KConfig XT voor TDE 3.5
-Name[pl]=Program KConfig XT dla TDE 3.5
-Name[pt]=Aplicação do KConfig XT para o TDE 3.5
-Name[pt_BR]=Aplicação do KConfig XT para o TDE 3.5
-Name[ru]=Приложение TDE 3.5 с KConfig XT
-Name[sk]=KConfig XT pre TDE 3.5
-Name[sr]=KConfig XT програм за TDE 3.5
-Name[sr@Latn]=KConfig XT program za TDE 3.5
-Name[sv]=KConfig XT för TDE 3.5
-Name[zh_TW]=TDE 3.5 的 KConfig XT 應用程式
+Name=TDEConfig XT for TDE 3.5
+Name[ca]=TDEConfig XT per a TDE 3.5
+Name[de]=TDEConfigXT-Anwendung für TDE 3.5
+Name[el]=Εφαρμογή TDEConfig XT για το TDE 3.5
+Name[es]=TDEConfig XT para TDE 3.5
+Name[et]=TDEConfig XT TDE 3.5 jaoks
+Name[fr]=Application TDEConfig XT pour TDE 3.5
+Name[hu]=TDEConfig XT a TDE 3.5-höz
+Name[it]=TDEConfig XT per TDE 3.5
+Name[ja]=TDE 3.5 用 TDEConfig XT
+Name[nds]=TDEConfig-XT-Programm för TDE 3.5
+Name[nl]=TDEConfig XT voor TDE 3.5
+Name[pl]=Program TDEConfig XT dla TDE 3.5
+Name[pt]=Aplicação do TDEConfig XT para o TDE 3.5
+Name[pt_BR]=Aplicação do TDEConfig XT para o TDE 3.5
+Name[ru]=Приложение TDE 3.5 с TDEConfig XT
+Name[sk]=TDEConfig XT pre TDE 3.5
+Name[sr]=TDEConfig XT програм за TDE 3.5
+Name[sr@Latn]=TDEConfig XT program za TDE 3.5
+Name[sv]=TDEConfig XT för TDE 3.5
+Name[zh_TW]=TDE 3.5 的 TDEConfig XT 應用程式
Category=C++/TDE
Icon=kxt.png
Comment=Generates a simple TDE application with one widget and a configuration dialog compatible with TDE 3.5 only
@@ -221,25 +221,25 @@ Dest=%{dest}/configure.in.in
[MSG]
Type=message
-Comment=A TDE 3.5 KConfig XT application was created in %{dest}
-Comment[ca]=Una aplicació KConfig XT per al TDE ha estat creada en %{dest}
-Comment[da]=Et TDE 3.5 KConfig XT-program blev oprettet i %{dest}
-Comment[de]=Eine KConfig-XT-Anwendung für TDE 3.5 wurde in %{dest} erstellt.
-Comment[el]=Μια εφαρμογή KConfig XT του TDE 3.5 δημιουργήθηκε στο %{dest}
-Comment[es]=Una aplicación KConfig XT para TDE 3.5 ha sido creada en %{dest}
-Comment[et]=TDE 3.5 KConfig XT rakendus loodi asukohta %{dest}
-Comment[fr]=Une application KConfig XT pour TDE 3.5 a été créée dans %{dest}
-Comment[hu]=Létrejött egy KConfig XT-alapú TDE 3.5-alkalmazás itt: %{dest}
-Comment[it]=È stata creata un'applicazione KConfig XT per TDE 3.5 in %{dest}
-Comment[ja]=TDE 3.5 用 KConfig XT アプリケーションを %{dest} に作成しました
-Comment[nds]=In %{dest} wöör en KConfig-XT-Programm för TDE 3.5 opstellt
-Comment[nl]=Een TDE 3.5 KConfig XT-toepassing is aangemaakt in %{dest}
-Comment[pl]=Program KConfig XT dla TDE 3.5 został utworzony w %{dest}
-Comment[pt]=Foi criada uma aplicação do KConfig XT para o TDE 3.5 em %{dest}
-Comment[pt_BR]=Foi criada uma aplicação do KConfig XT para o TDE 3.5 em %{dest}
-Comment[ru]=Приложение TDE с KConfig XT создано в %{dest}
-Comment[sk]=KConfig XT pre TDE 3.5 bola vytvorená v %{dest}
-Comment[sr]=KConfig XT програм за TDE 3.5 направљен је у %{dest}
-Comment[sr@Latn]=KConfig XT program za TDE 3.5 napravljen je u %{dest}
-Comment[sv]=Ett TDE 3.5 KConfig XT-program skapades i %{dest}
-Comment[zh_TW]=一個 TDE 3.5 上的 KConfig XT 應用程式已建立於 %{dest}
+Comment=A TDE 3.5 TDEConfig XT application was created in %{dest}
+Comment[ca]=Una aplicació TDEConfig XT per al TDE ha estat creada en %{dest}
+Comment[da]=Et TDE 3.5 TDEConfig XT-program blev oprettet i %{dest}
+Comment[de]=Eine TDEConfig-XT-Anwendung für TDE 3.5 wurde in %{dest} erstellt.
+Comment[el]=Μια εφαρμογή TDEConfig XT του TDE 3.5 δημιουργήθηκε στο %{dest}
+Comment[es]=Una aplicación TDEConfig XT para TDE 3.5 ha sido creada en %{dest}
+Comment[et]=TDE 3.5 TDEConfig XT rakendus loodi asukohta %{dest}
+Comment[fr]=Une application TDEConfig XT pour TDE 3.5 a été créée dans %{dest}
+Comment[hu]=Létrejött egy TDEConfig XT-alapú TDE 3.5-alkalmazás itt: %{dest}
+Comment[it]=È stata creata un'applicazione TDEConfig XT per TDE 3.5 in %{dest}
+Comment[ja]=TDE 3.5 用 TDEConfig XT アプリケーションを %{dest} に作成しました
+Comment[nds]=In %{dest} wöör en TDEConfig-XT-Programm för TDE 3.5 opstellt
+Comment[nl]=Een TDE 3.5 TDEConfig XT-toepassing is aangemaakt in %{dest}
+Comment[pl]=Program TDEConfig XT dla TDE 3.5 został utworzony w %{dest}
+Comment[pt]=Foi criada uma aplicação do TDEConfig XT para o TDE 3.5 em %{dest}
+Comment[pt_BR]=Foi criada uma aplicação do TDEConfig XT para o TDE 3.5 em %{dest}
+Comment[ru]=Приложение TDE с TDEConfig XT создано в %{dest}
+Comment[sk]=TDEConfig XT pre TDE 3.5 bola vytvorená v %{dest}
+Comment[sr]=TDEConfig XT програм за TDE 3.5 направљен је у %{dest}
+Comment[sr@Latn]=TDEConfig XT program za TDE 3.5 napravljen je u %{dest}
+Comment[sv]=Ett TDE 3.5 TDEConfig XT-program skapades i %{dest}
+Comment[zh_TW]=一個 TDE 3.5 上的 TDEConfig XT 應用程式已建立於 %{dest}
diff --git a/languages/cpp/app_templates/kde4app/kapp4.cpp b/languages/cpp/app_templates/kde4app/kapp4.cpp
index bb91d42e..d2e09025 100644
--- a/languages/cpp/app_templates/kde4app/kapp4.cpp
+++ b/languages/cpp/app_templates/kde4app/kapp4.cpp
@@ -75,10 +75,10 @@ void %{APPNAME}::optionsPreferences()
// compare the names of the widgets in the .ui file
// to the names of the variables in the .kcfg file
//avoid to have 2 dialogs shown
- if ( KConfigDialog::showDialog( "settings" ) ) {
+ if ( TDEConfigDialog::showDialog( "settings" ) ) {
return;
}
- KConfigDialog *dialog = new KConfigDialog(this, "settings", Settings::self());
+ TDEConfigDialog *dialog = new TDEConfigDialog(this, "settings", Settings::self());
TQWidget *generalSettingsDlg = new TQWidget;
ui_prefs_base.setupUi(generalSettingsDlg);
dialog->addPage(generalSettingsDlg, i18n("General"), "package_setting");
diff --git a/languages/cpp/app_templates/kicker/applet.h b/languages/cpp/app_templates/kicker/applet.h
index 4266f8eb..ba7157a3 100644
--- a/languages/cpp/app_templates/kicker/applet.h
+++ b/languages/cpp/app_templates/kicker/applet.h
@@ -101,7 +101,7 @@ protected:
void resizeEvent(TQResizeEvent *);
private:
- KConfig *ksConfig;
+ TDEConfig *ksConfig;
TQWidget *mainView;
};
diff --git a/languages/cpp/app_templates/kioslave/slave.cpp b/languages/cpp/app_templates/kioslave/slave.cpp
index 3dbd8cac..3c780e7f 100644
--- a/languages/cpp/app_templates/kioslave/slave.cpp
+++ b/languages/cpp/app_templates/kioslave/slave.cpp
@@ -23,7 +23,7 @@
#include "%{APPNAMELC}.h"
-using namespace KIO;
+using namespace TDEIO;
kio_%{APPNAMELC}Protocol::kio_%{APPNAMELC}Protocol(const TQCString &pool_socket, const TQCString &app_socket)
diff --git a/languages/cpp/app_templates/kioslave/slave.h b/languages/cpp/app_templates/kioslave/slave.h
index bdfef93c..07bf9c6e 100644
--- a/languages/cpp/app_templates/kioslave/slave.h
+++ b/languages/cpp/app_templates/kioslave/slave.h
@@ -11,7 +11,7 @@
class TQCString;
-class kio_%{APPNAMELC}Protocol : public KIO::SlaveBase
+class kio_%{APPNAMELC}Protocol : public TDEIO::SlaveBase
{
public:
kio_%{APPNAMELC}Protocol(const TQCString &pool_socket, const TQCString &app_socket);
diff --git a/languages/cpp/app_templates/kpartapp/app.cpp b/languages/cpp/app_templates/kpartapp/app.cpp
index 1a306aee..c5d30f14 100644
--- a/languages/cpp/app_templates/kpartapp/app.cpp
+++ b/languages/cpp/app_templates/kpartapp/app.cpp
@@ -88,14 +88,14 @@ void %{APPNAME}::setupActions()
KStdAction::configureToolbars(this, TQT_SLOT(optionsConfigureToolbars()), actionCollection());
}
-void %{APPNAME}::saveProperties(KConfig* /*config*/)
+void %{APPNAME}::saveProperties(TDEConfig* /*config*/)
{
// the 'config' object points to the session managed
// config file. anything you write here will be available
// later when this app is restored
}
-void %{APPNAME}::readProperties(KConfig* /*config*/)
+void %{APPNAME}::readProperties(TDEConfig* /*config*/)
{
// the 'config' object points to the session managed
// config file. this function is automatically called whenever
diff --git a/languages/cpp/app_templates/kpartapp/app.h b/languages/cpp/app_templates/kpartapp/app.h
index f2dd9bb3..91207694 100644
--- a/languages/cpp/app_templates/kpartapp/app.h
+++ b/languages/cpp/app_templates/kpartapp/app.h
@@ -44,14 +44,14 @@ protected:
* This method is called when it is time for the app to save its
* properties for session management purposes.
*/
- void saveProperties(KConfig *);
+ void saveProperties(TDEConfig *);
/**
- * This method is called when this app is restored. The KConfig
+ * This method is called when this app is restored. The TDEConfig
* object points to the session management config file that was saved
* with @ref saveProperties
*/
- void readProperties(KConfig *);
+ void readProperties(TDEConfig *);
private slots:
void fileNew();
diff --git a/languages/cpp/app_templates/kscons_kmdi/README b/languages/cpp/app_templates/kscons_kmdi/README
index a8de4e35..bf4edf71 100644
--- a/languages/cpp/app_templates/kscons_kmdi/README
+++ b/languages/cpp/app_templates/kscons_kmdi/README
@@ -67,7 +67,7 @@ For more details, consult :
http://devel-home.kde.org/~larrosa/tutorial/p9.html
http://developer.kde.org/documentation/tutorials/xmlui/preface.html
-* Use KConfig XT to create your configuration dialogs and make
+* Use TDEConfig XT to create your configuration dialogs and make
them more maintainable.
For that, you will need to write two simple configuration files
diff --git a/languages/cpp/app_templates/kscons_kmdi/appkmdi.cpp b/languages/cpp/app_templates/kscons_kmdi/appkmdi.cpp
index dd297ed7..30e6647c 100644
--- a/languages/cpp/app_templates/kscons_kmdi/appkmdi.cpp
+++ b/languages/cpp/app_templates/kscons_kmdi/appkmdi.cpp
@@ -103,7 +103,7 @@
setAutoSaveSettings();
// Read the dock config only if the app was started at least only once - kmdi is tricky
- KConfig *cfg = new KConfig("%{APPNAMELC}_dockposrc");
+ TDEConfig *cfg = new TDEConfig("%{APPNAMELC}_dockposrc");
if (cfg->readNumEntry("%{APPNAMELC}_main_dock_settings", 0) == 1) manager()->readConfig(cfg);
cfg->writeEntry("%{APPNAMELC}_main_dock_settings", 1);
delete cfg;
@@ -114,7 +114,7 @@
%{APPNAMELC}kmdi::~%{APPNAMELC}kmdi()
{
// Write the dock config on exit
- KConfig *cfg = new KConfig("%{APPNAMELC}_dockposrc");
+ TDEConfig *cfg = new TDEConfig("%{APPNAMELC}_dockposrc");
manager()->writeConfig(cfg);
delete cfg;
delete m_console;
@@ -315,10 +315,10 @@ void %{APPNAMELC}kmdi::optionsPreferences()
//
// compare the names of the widgets in the .ui file
// to the names of the variables in the .kcfg file
- if (KConfigDialog::showDialog("settings"))
+ if (TDEConfigDialog::showDialog("settings"))
return;
- KConfigDialog *dialog = new KConfigDialog(this, "settings", Settings::self(), KDialogBase::Swallow);
+ TDEConfigDialog *dialog = new TDEConfigDialog(this, "settings", Settings::self(), KDialogBase::Swallow);
dialog->addPage(new prefs(), i18n("General"), "package_settings");
connect(dialog, TQT_SIGNAL(settingsChanged()), this, TQT_SLOT(settingsChanged()));
dialog->show();
diff --git a/languages/cpp/app_templates/kscons_kxt/README b/languages/cpp/app_templates/kscons_kxt/README
index a8de4e35..bf4edf71 100644
--- a/languages/cpp/app_templates/kscons_kxt/README
+++ b/languages/cpp/app_templates/kscons_kxt/README
@@ -67,7 +67,7 @@ For more details, consult :
http://devel-home.kde.org/~larrosa/tutorial/p9.html
http://developer.kde.org/documentation/tutorials/xmlui/preface.html
-* Use KConfig XT to create your configuration dialogs and make
+* Use TDEConfig XT to create your configuration dialogs and make
them more maintainable.
For that, you will need to write two simple configuration files
diff --git a/languages/cpp/app_templates/kscons_kxt/app.cpp b/languages/cpp/app_templates/kscons_kxt/app.cpp
index 750fd94c..bbf648ea 100644
--- a/languages/cpp/app_templates/kscons_kxt/app.cpp
+++ b/languages/cpp/app_templates/kscons_kxt/app.cpp
@@ -138,7 +138,7 @@ void %{APPNAME}::optionsPreferences()
//
// compare the names of the widgets in the .ui file
// to the names of the variables in the .kcfg file
- KConfigDialog *dialog = new KConfigDialog(this, "settings", Settings::self(), KDialogBase::Swallow);
+ TDEConfigDialog *dialog = new TDEConfigDialog(this, "settings", Settings::self(), KDialogBase::Swallow);
dialog->addPage(new Prefs(), i18n("General"), "package_settings");
connect(dialog, TQT_SIGNAL(settingsChanged()), m_view, TQT_SLOT(settingsChanged()));
dialog->show();
diff --git a/languages/cpp/app_templates/kscreensaver/kscreensaver.cpp b/languages/cpp/app_templates/kscreensaver/kscreensaver.cpp
index 569c69a3..12699c32 100644
--- a/languages/cpp/app_templates/kscreensaver/kscreensaver.cpp
+++ b/languages/cpp/app_templates/kscreensaver/kscreensaver.cpp
@@ -48,7 +48,7 @@ extern "C"
//! read settings from config file
void %{APPNAME}Setup::readSettings()
{
- KConfig *config = TDEGlobal::config();
+ TDEConfig *config = TDEGlobal::config();
config->setGroup( "Settings" );
/// @todo
// Add your config options here...
@@ -59,7 +59,7 @@ void %{APPNAME}Setup::readSettings()
//! Ok pressed - save settings and exit
void %{APPNAME}Setup::slotOkPressed()
{
- KConfig *config = TDEGlobal::config();
+ TDEConfig *config = TDEGlobal::config();
config->setGroup( "Settings" );
/// @todo
// Add your config options here.
@@ -89,7 +89,7 @@ void %{APPNAME}Setup::slotCancelPressed()
//! read configuration settings from config file
void %{APPNAME}::readSettings()
{
- KConfig *config = TDEGlobal::config();
+ TDEConfig *config = TDEGlobal::config();
config->setGroup( "Settings" );
/// @todo
// Add your config options here...
diff --git a/languages/cpp/app_templates/kxt/README b/languages/cpp/app_templates/kxt/README
index 3c887a42..a7775d6a 100644
--- a/languages/cpp/app_templates/kxt/README
+++ b/languages/cpp/app_templates/kxt/README
@@ -42,7 +42,7 @@ For more details, consult :
http://devel-home.kde.org/~larrosa/tutorial/p9.html
http://developer.kde.org/documentation/tutorials/xmlui/preface.html
-* Use KConfig XT to create your configuration dialogs and make
+* Use TDEConfig XT to create your configuration dialogs and make
them more maintainable.
For that, you will need to write two simple configuration files
diff --git a/languages/cpp/app_templates/kxt/app.cpp b/languages/cpp/app_templates/kxt/app.cpp
index 81a1118c..ef50718c 100644
--- a/languages/cpp/app_templates/kxt/app.cpp
+++ b/languages/cpp/app_templates/kxt/app.cpp
@@ -133,7 +133,7 @@ void %{APPNAMELC}::optionsPreferences()
//
// compare the names of the widgets in the .ui file
// to the names of the variables in the .kcfg file
- KConfigDialog *dialog = new KConfigDialog(this, "settings", Settings::self(), KDialogBase::Swallow);
+ TDEConfigDialog *dialog = new TDEConfigDialog(this, "settings", Settings::self(), KDialogBase::Swallow);
dialog->addPage(new Prefs(), i18n("General"), "package_settings");
connect(dialog, TQT_SIGNAL(settingsChanged()), m_view, TQT_SLOT(settingsChanged()));
dialog->show();
diff --git a/languages/cpp/app_templates/kxt/kxt.kdevtemplate b/languages/cpp/app_templates/kxt/kxt.kdevtemplate
index 4f82fa17..159affe6 100644
--- a/languages/cpp/app_templates/kxt/kxt.kdevtemplate
+++ b/languages/cpp/app_templates/kxt/kxt.kdevtemplate
@@ -1,34 +1,34 @@
# TDE Config File
[General]
-Name=KConfig XT application
-Name[ca]=Aplicació KConfig XT
-Name[da]=KConfig XT program
-Name[de]=KConfigXT-Anwendung
-Name[el]=Εφαρμογή KConfig XT
-Name[es]=Aplicación KConfig XT
-Name[et]=KConfig XT rakendus
-Name[eu]=KConfig XT aplikazioa
-Name[fa]=کاربرد KConfig XT
-Name[fr]=Application KConfig XT
-Name[ga]=Feidhmchlár XT KConfig
-Name[gl]=Aplicación KConfig XT
-Name[hu]=KConfig XT-alapú alkalmazás
-Name[it]=Applicazione KConfig XT
-Name[ja]=KConfig XT アプリケーション
-Name[nds]=KConfig-XT-Programm
-Name[ne]=KConfig XT अनुप्रयोग
-Name[nl]=KConfig XT-toepassing
-Name[pl]=Program KConfig XT
-Name[pt]=Aplicação do KConfig XT
-Name[pt_BR]=Aplicação do KConfig XT
-Name[ru]=Приложение TDE с KConfig XT
-Name[sk]=KConfig XT aplikácia
-Name[sr]=KConfig XT програм
-Name[sr@Latn]=KConfig XT program
-Name[sv]=KConfig XT-program
-Name[tr]=KConfig XT uygulaması
-Name[zh_CN]=KConfig XT 应用程序
-Name[zh_TW]=KConfig XT 應用程式
+Name=TDEConfig XT application
+Name[ca]=Aplicació TDEConfig XT
+Name[da]=TDEConfig XT program
+Name[de]=TDEConfigXT-Anwendung
+Name[el]=Εφαρμογή TDEConfig XT
+Name[es]=Aplicación TDEConfig XT
+Name[et]=TDEConfig XT rakendus
+Name[eu]=TDEConfig XT aplikazioa
+Name[fa]=کاربرد TDEConfig XT
+Name[fr]=Application TDEConfig XT
+Name[ga]=Feidhmchlár XT TDEConfig
+Name[gl]=Aplicación TDEConfig XT
+Name[hu]=TDEConfig XT-alapú alkalmazás
+Name[it]=Applicazione TDEConfig XT
+Name[ja]=TDEConfig XT アプリケーション
+Name[nds]=TDEConfig-XT-Programm
+Name[ne]=TDEConfig XT अनुप्रयोग
+Name[nl]=TDEConfig XT-toepassing
+Name[pl]=Program TDEConfig XT
+Name[pt]=Aplicação do TDEConfig XT
+Name[pt_BR]=Aplicação do TDEConfig XT
+Name[ru]=Приложение TDE с TDEConfig XT
+Name[sk]=TDEConfig XT aplikácia
+Name[sr]=TDEConfig XT програм
+Name[sr@Latn]=TDEConfig XT program
+Name[sv]=TDEConfig XT-program
+Name[tr]=TDEConfig XT uygulaması
+Name[zh_CN]=TDEConfig XT 应用程序
+Name[zh_TW]=TDEConfig XT 應用程式
Category=C++/TDE
Icon=kxt.png
Comment=Generates a simple TDE application with one widget and a configuration dialog
@@ -238,32 +238,32 @@ Dest=%{dest}/configure.in.in
[MSG]
Type=message
-Comment=A KConfig XT application was created in %{dest}
-Comment[ca]=Una aplicació KConfig XT ha estat creada en %{dest}
-Comment[da]=Et KConfig XT-program blev oprettet i %{dest}
-Comment[de]=Eine KConfig-XT-Anwendung wurde in %{dest} erstellt
-Comment[el]=Μια εφαρμογή KConfig XT δημιουργήθηκε στο %{dest}
-Comment[es]=Una aplicación KConfig XT ha sido creada en %{dest}
-Comment[et]=A KConfig XT rakendus loodi asukohta %{dest}
-Comment[eu]=KConfig XT aplikazio bat sortu da hemen: %{dest}
-Comment[fa]=یک کاربرد KConfig XT در %{dest} ایجاد شد
-Comment[fr]=Une application KConfig XT a été créée dans %{dest}
-Comment[ga]=Cruthaíodh feidhmchlár XT KConfig i %{dest}
-Comment[gl]=Creouse unha aplicación KConfig XT en %{dest}
-Comment[hu]=Létrejött egy KConfig XT-alapú alkalmazás itt: %{dest}
-Comment[it]=È stata creata un'applicazione KConfig XT in %{dest}
-Comment[ja]=KConfig XT アプリケーションを %{dest} に作成しました
-Comment[nds]=In %{dest} wöör en KConfig-XT-Programm opstellt
-Comment[ne]=KConfig XT अनुप्रयोग %{dest} मा सिर्जना गरियो
-Comment[nl]=Een KConfig XT-toepassing is aangemaakt in %{dest}
-Comment[pl]=Program KConfig XT został utworzony w %{dest}
-Comment[pt]=Foi criada uma aplicação do KConfig XT em %{dest}
-Comment[pt_BR]=Foi criada uma aplicação do KConfig XT em %{dest}
-Comment[ru]=Приложение TDE с KConfig XT создано в %{dest}
-Comment[sk]=KConfig XT aplikácia bola vytvorená v %{dest}
-Comment[sr]=KConfig XT програм је направљен у %{dest}
-Comment[sr@Latn]=KConfig XT program je napravljen u %{dest}
-Comment[sv]=Ett KConfig XT-program skapades i %{dest}
-Comment[tr]=Bir KConfig XT uygulaması %{dest} içinde yaratıldı.
-Comment[zh_CN]=在 %{dest} 中创建了 KConfig XT 应用程序
-Comment[zh_TW]=一個 KConfig XT 應用程式已建立於 %{dest}
+Comment=A TDEConfig XT application was created in %{dest}
+Comment[ca]=Una aplicació TDEConfig XT ha estat creada en %{dest}
+Comment[da]=Et TDEConfig XT-program blev oprettet i %{dest}
+Comment[de]=Eine TDEConfig-XT-Anwendung wurde in %{dest} erstellt
+Comment[el]=Μια εφαρμογή TDEConfig XT δημιουργήθηκε στο %{dest}
+Comment[es]=Una aplicación TDEConfig XT ha sido creada en %{dest}
+Comment[et]=A TDEConfig XT rakendus loodi asukohta %{dest}
+Comment[eu]=TDEConfig XT aplikazio bat sortu da hemen: %{dest}
+Comment[fa]=یک کاربرد TDEConfig XT در %{dest} ایجاد شد
+Comment[fr]=Une application TDEConfig XT a été créée dans %{dest}
+Comment[ga]=Cruthaíodh feidhmchlár XT TDEConfig i %{dest}
+Comment[gl]=Creouse unha aplicación TDEConfig XT en %{dest}
+Comment[hu]=Létrejött egy TDEConfig XT-alapú alkalmazás itt: %{dest}
+Comment[it]=È stata creata un'applicazione TDEConfig XT in %{dest}
+Comment[ja]=TDEConfig XT アプリケーションを %{dest} に作成しました
+Comment[nds]=In %{dest} wöör en TDEConfig-XT-Programm opstellt
+Comment[ne]=TDEConfig XT अनुप्रयोग %{dest} मा सिर्जना गरियो
+Comment[nl]=Een TDEConfig XT-toepassing is aangemaakt in %{dest}
+Comment[pl]=Program TDEConfig XT został utworzony w %{dest}
+Comment[pt]=Foi criada uma aplicação do TDEConfig XT em %{dest}
+Comment[pt_BR]=Foi criada uma aplicação do TDEConfig XT em %{dest}
+Comment[ru]=Приложение TDE с TDEConfig XT создано в %{dest}
+Comment[sk]=TDEConfig XT aplikácia bola vytvorená v %{dest}
+Comment[sr]=TDEConfig XT програм је направљен у %{dest}
+Comment[sr@Latn]=TDEConfig XT program je napravljen u %{dest}
+Comment[sv]=Ett TDEConfig XT-program skapades i %{dest}
+Comment[tr]=Bir TDEConfig XT uygulaması %{dest} içinde yaratıldı.
+Comment[zh_CN]=在 %{dest} 中创建了 TDEConfig XT 应用程序
+Comment[zh_TW]=一個 TDEConfig XT 應用程式已建立於 %{dest}
diff --git a/languages/cpp/ccconfigwidget.cpp b/languages/cpp/ccconfigwidget.cpp
index d1e0d0c6..140bb46b 100644
--- a/languages/cpp/ccconfigwidget.cpp
+++ b/languages/cpp/ccconfigwidget.cpp
@@ -89,7 +89,7 @@ void CCConfigWidget::initGeneralTab( )
interface_suffix->setText( DomUtil::readEntry( dom, "/cppsupportpart/filetemplates/interfacesuffix", ".h" ) );
implementation_suffix->setText( DomUtil::readEntry( dom, "/cppsupportpart/filetemplates/implementationsuffix", ".cpp" ) );
- KConfig *config = CppSupportFactory::instance() ->config();
+ TDEConfig *config = CppSupportFactory::instance() ->config();
if ( config )
{
config->setGroup( "General" );
@@ -116,7 +116,7 @@ void CCConfigWidget::saveFileTemplatesTab( )
DomUtil::writeEntry( dom, "/cppsupportpart/filetemplates/interfacesuffix", interface_suffix->text() );
DomUtil::writeEntry( dom, "/cppsupportpart/filetemplates/implementationsuffix", implementation_suffix->text() );
- KConfig *config = CppSupportFactory::instance() ->config();
+ TDEConfig *config = CppSupportFactory::instance() ->config();
if ( config )
{
config->setGroup( "General" );
diff --git a/languages/cpp/classgeneratorconfig.cpp b/languages/cpp/classgeneratorconfig.cpp
index 70ad5d10..2ed3ba0a 100644
--- a/languages/cpp/classgeneratorconfig.cpp
+++ b/languages/cpp/classgeneratorconfig.cpp
@@ -151,7 +151,7 @@ TQString *ClassGeneratorConfig::identifyTemplate( int value )
void ClassGeneratorConfig::readConfig()
{
- KConfig * config = CppSupportFactory::instance() ->config();
+ TDEConfig * config = CppSupportFactory::instance() ->config();
if ( config )
{
config->setGroup( "Class Generator" );
@@ -197,7 +197,7 @@ TQString ClassGeneratorConfig::templateText( TQString path )
void ClassGeneratorConfig::storeConfig()
{
- KConfig * config = CppSupportFactory::instance() ->config();
+ TDEConfig * config = CppSupportFactory::instance() ->config();
if ( config )
{
config->setGroup( "Class Generator" );
diff --git a/languages/cpp/configproblemreporter.ui.h b/languages/cpp/configproblemreporter.ui.h
index 275420ab..9b9b59fb 100644
--- a/languages/cpp/configproblemreporter.ui.h
+++ b/languages/cpp/configproblemreporter.ui.h
@@ -21,7 +21,7 @@
void ConfigureProblemReporter::init()
{
m_part = 0;
- KConfig* config = kapp->config();
+ TDEConfig* config = kapp->config();
config->setGroup( "General Options" );
problemReporterCheckbox->setChecked( config->readBoolEntry( "EnableProblemReporter", true ) );
bgParserCheckbox->setChecked( config->readBoolEntry( "EnableCppBgParser", true ) );
@@ -54,7 +54,7 @@ void ConfigureProblemReporter::setPart( CppSupportPart* part )
void ConfigureProblemReporter::accept()
{
- KConfig * config = kapp->config();
+ TDEConfig * config = kapp->config();
config->setGroup( "General Options" );
config->writeEntry( "EnableProblemReporter", problemReporterCheckbox->isChecked() );
config->writeEntry( "EnableCppBgParser", bgParserCheckbox->isChecked() );
diff --git a/languages/cpp/cppsupport_utils.cpp b/languages/cpp/cppsupport_utils.cpp
index 338fa724..85148c30 100644
--- a/languages/cpp/cppsupport_utils.cpp
+++ b/languages/cpp/cppsupport_utils.cpp
@@ -120,7 +120,7 @@ static void typedefMap( TQMap<TQString, TQString> & map, ClassDom klass )
TQString formattedOpeningParenthesis(bool suppressSpace)
{
- KConfig * config = kapp->config();
+ TDEConfig * config = kapp->config();
config->setGroup("AStyle");
bool use_spaces = config->readBoolEntry("PadParentheses", false);
if (not use_spaces or suppressSpace) return "(";
@@ -129,7 +129,7 @@ TQString formattedOpeningParenthesis(bool suppressSpace)
TQString formattedClosingParenthesis(bool suppressSpace)
{
- KConfig * config = kapp->config();
+ TDEConfig * config = kapp->config();
config->setGroup("AStyle");
bool use_spaces = config->readBoolEntry("PadParentheses", false);
if (not use_spaces or suppressSpace) return ")";
diff --git a/languages/cpp/cppsupportpart.cpp b/languages/cpp/cppsupportpart.cpp
index 4f0f19d6..94eab619 100644
--- a/languages/cpp/cppsupportpart.cpp
+++ b/languages/cpp/cppsupportpart.cpp
@@ -178,7 +178,7 @@ class BackgroundParserConfig
public:
void readConfig()
{
- KConfig* config = kapp->config();
+ TDEConfig* config = kapp->config();
config->setGroup( "General Options" );
m_useProblemReporter = config->readBoolEntry( "EnableProblemReporter", true );
m_useBackgroundParser = config->readBoolEntry( "EnableCppBgParser", true );
@@ -696,7 +696,7 @@ void CppSupportPart::contextMenu( TQPopupMenu *popup, const Context *context )
bool showContextMenuExplosion = false;
bool showContextTypeEvaluation = false;
- KConfig *config = CppSupportFactory::instance() ->config();
+ TDEConfig *config = CppSupportFactory::instance() ->config();
if ( config )
{
config->setGroup( "General" );
@@ -1108,7 +1108,7 @@ void CppSupportPart::slotSaveMemory() {
void CppSupportPart::slotSwitchHeader( bool scrollOnly )
{
bool attemptMatch = true;
- KConfig *config = CppSupportFactory::instance() ->config();
+ TDEConfig *config = CppSupportFactory::instance() ->config();
if ( config )
{
config->setGroup( "General" );
@@ -2014,15 +2014,15 @@ KMimeType::List CppSupportPart::mimeTypes( )
int CppSupportPart::pcsVersion()
{
- KConfig * config = CppSupportFactory::instance() ->config();
- KConfigGroupSaver cgs( config, "PCS" );
+ TDEConfig * config = CppSupportFactory::instance() ->config();
+ TDEConfigGroupSaver cgs( config, "PCS" );
return config->readNumEntry( "Version", 0 );
}
void CppSupportPart::setPcsVersion( int version )
{
- KConfig * config = CppSupportFactory::instance() ->config();
- KConfigGroupSaver cgs( config, "PCS" );
+ TDEConfig * config = CppSupportFactory::instance() ->config();
+ TDEConfigGroupSaver cgs( config, "PCS" );
config->writeEntry( "Version", version );
config->sync();
}
diff --git a/languages/cpp/cppsupportpart.h b/languages/cpp/cppsupportpart.h
index bbf20ec0..b7ac8267 100644
--- a/languages/cpp/cppsupportpart.h
+++ b/languages/cpp/cppsupportpart.h
@@ -229,7 +229,7 @@ public:
KTextEditor::Document* findDocument( const KURL& url );
- static KConfig *config();
+ static TDEConfig *config();
virtual TQString formatTag( const Tag& tag );
virtual TQString formatModelItem( const CodeModelItem *item, bool shortDescription = false );
diff --git a/languages/cpp/doc/kde2book.toc b/languages/cpp/doc/kde2book.toc
index 115f0ee9..e0b4db61 100644
--- a/languages/cpp/doc/kde2book.toc
+++ b/languages/cpp/doc/kde2book.toc
@@ -680,7 +680,7 @@
<entry name="debuggers" url="ch02.html"/>
<entry name="declaring, widget classes, kabdemo.h class declaration" url="ch10lev1sec4.html"/>
<entry name="declaring, widget classes, KChildren example" url="ch04lev1sec3.html"/>
-<entry name="declaring widget classes, KConfigDemo widget" url="ch07lev1sec2.html"/>
+<entry name="declaring widget classes, TDEConfigDemo widget" url="ch07lev1sec2.html"/>
<entry name="declaring widget classes, KCustomActions widget" url="ch05.html"/>
<entry name="declaring, widget classes, KDialogApp" url="ch11.html"/>
<entry name="declaring, widget classes, KDisc example" url="ch04lev1sec4.html"/>
@@ -704,7 +704,7 @@
<entry name="defiing, widget classes, KChildren example" url="ch04lev1sec3.html"/>
<entry name="defining, streams" url="ch14lev1sec3.html"/>
<entry name="defining, widget classes, KabDemo" url="ch10lev1sec4.html"/>
-<entry name="defining widget classes, KConfigDemo widget" url="ch07lev1sec2.html"/>
+<entry name="defining widget classes, TDEConfigDemo widget" url="ch07lev1sec2.html"/>
<entry name="defining widget classes, KCustomActions widget" url="ch05.html"/>
<entry name="defining, widget classes, KDialogApp" url="ch11.html"/>
<entry name="defining, widget classes, KDisc example" url="ch04lev1sec4.html"/>
@@ -1033,7 +1033,7 @@
<entry name="functions, i18n()" url="ch07lev1sec4.html"/>
<entry name="functions, information()" url="ch05lev1sec3.html"/>
<entry name="functions, kingioRegister()" url="ch07lev1sec4.html"/>
-<entry name="functions, main(), KConfigDemo widget" url="ch07lev1sec2.html"/>
+<entry name="functions, main(), TDEConfigDemo widget" url="ch07lev1sec2.html"/>
<entry name="functions, main(), KCustomActions widget" url="ch05.html"/>
<entry name="functions, main(), KDragDemo widget" url="ch07.html"/>
<entry name="functions, main(), KDropDemo widget" url="ch07.html"/>
@@ -1284,11 +1284,11 @@
<entry name="KChildren sample widget (child widget), kchildren.h class declaration" url="ch04lev1sec3.html"/>
<entry name="KChildren sample widget (child widget), main() method" url="ch04lev1sec3.html"/>
<entry name="KChildren sample widget (child widget)" url="ch04lev1sec3.html"/>
-<entry name="kconfigdemo.cpp file (KConfigDemo widget)" url="ch07lev1sec2.html"/>
-<entry name="kconfigdemo.h file (KConfigDemo widget)" url="ch07lev1sec2.html"/>
-<entry name="KConfigDemo widget, kconfigdemo.cpp class definition" url="ch07lev1sec2.html"/>
-<entry name="KConfigDemo widget, kconfigdemo.h class declaration" url="ch07lev1sec2.html"/>
-<entry name="KConfigDemo widget, main() function" url="ch07lev1sec2.html"/>
+<entry name="kconfigdemo.cpp file (TDEConfigDemo widget)" url="ch07lev1sec2.html"/>
+<entry name="kconfigdemo.h file (TDEConfigDemo widget)" url="ch07lev1sec2.html"/>
+<entry name="TDEConfigDemo widget, kconfigdemo.cpp class definition" url="ch07lev1sec2.html"/>
+<entry name="TDEConfigDemo widget, kconfigdemo.h class declaration" url="ch07lev1sec2.html"/>
+<entry name="TDEConfigDemo widget, main() function" url="ch07lev1sec2.html"/>
<entry name="kcustomactions.cpp file (KCustomActions widget)" url="ch05.html"/>
<entry name="kcustomactions.h file (KCustomActions widget)" url="ch05.html"/>
<entry name="KCustomActions widget, kcustomactions.cpp class definition" url="ch05.html"/>
@@ -1675,9 +1675,9 @@
<entry name="listings, KChildren widget, kchildren.cpp class definition" url="ch04lev1sec3.html"/>
<entry name="listings, KChildren widget, kchildren.h class declaration" url="ch04lev1sec3.html"/>
<entry name="listings, KChildren widget, main() method" url="ch04lev1sec3.html"/>
-<entry name="listings, KConfigDemo widget, kconfigdemo.cpp class definition" url="ch07lev1sec2.html"/>
-<entry name="listings, KConfigDemo widget, kconfigdemo.h class declaration" url="ch07lev1sec2.html"/>
-<entry name="listings, KConfigDemo widget, main() function" url="ch07lev1sec2.html"/>
+<entry name="listings, TDEConfigDemo widget, kconfigdemo.cpp class definition" url="ch07lev1sec2.html"/>
+<entry name="listings, TDEConfigDemo widget, kconfigdemo.h class declaration" url="ch07lev1sec2.html"/>
+<entry name="listings, TDEConfigDemo widget, main() function" url="ch07lev1sec2.html"/>
<entry name="listings, KCustomActions widget, kcustomactions.cpp class definition" url="ch05.html"/>
<entry name="listings, KCustomActions widget, kcustomactions.h class declaration" url="ch05.html"/>
<entry name="listings, KCustomActions widget, kcustomactions.h class definition" url="ch05.html"/>
@@ -1792,7 +1792,7 @@
<entry name="mail action" url="ch06.html"/>
<entry name="mailing lists" url="ch01lev1sec3.html"/>
<entry name="main.cpp file (KstaqndardDialogs)" url="ch05lev1sec3.html"/>
-<entry name="main() function, KConfigDemo widget" url="ch07lev1sec2.html"/>
+<entry name="main() function, TDEConfigDemo widget" url="ch07lev1sec2.html"/>
<entry name="main() function, KCustomActions widget" url="ch05.html"/>
<entry name="main() function, KDragDemo widget" url="ch07.html"/>
<entry name="main() function, KDropDemo widget" url="ch07.html"/>
diff --git a/languages/cpp/subclassingdlg.cpp b/languages/cpp/subclassingdlg.cpp
index f4fd085e..0db80fa8 100644
--- a/languages/cpp/subclassingdlg.cpp
+++ b/languages/cpp/subclassingdlg.cpp
@@ -104,7 +104,7 @@ m_newFileNames(newFileNames), m_cppSupport( cppSupport )
readUiFile();
m_creatingNewSubclass = true;
- KConfig *config = CppSupportFactory::instance()->config();
+ TDEConfig *config = CppSupportFactory::instance()->config();
if (config)
{
config->setGroup("Subclassing");
@@ -126,7 +126,7 @@ m_newFileNames(dummy), m_cppSupport( cppSupport )
m_creatingNewSubclass = false;
m_filename = filename;
- KConfig *config = CppSupportFactory::instance()->config();
+ TDEConfig *config = CppSupportFactory::instance()->config();
if (config)
{
config->setGroup("Subclassing");
@@ -342,7 +342,7 @@ bool SubclassingDlg::saveBuffer(TQString &buffer, const TQString& filename)
void SubclassingDlg::accept()
{
- KConfig *config = CppSupportFactory::instance()->config();
+ TDEConfig *config = CppSupportFactory::instance()->config();
if (config)
{
config->setGroup("Subclassing");