summaryrefslogtreecommitdiffstats
path: root/languages/cpp/app_templates/kscons_kmdi/appkmdi.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'languages/cpp/app_templates/kscons_kmdi/appkmdi.cpp')
-rw-r--r--languages/cpp/app_templates/kscons_kmdi/appkmdi.cpp8
1 files changed, 4 insertions, 4 deletions
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();