summaryrefslogtreecommitdiffstats
path: root/tdeui/kswitchlanguagedialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdeui/kswitchlanguagedialog.cpp')
-rw-r--r--tdeui/kswitchlanguagedialog.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/tdeui/kswitchlanguagedialog.cpp b/tdeui/kswitchlanguagedialog.cpp
index 5ce1bc074..f86083d0a 100644
--- a/tdeui/kswitchlanguagedialog.cpp
+++ b/tdeui/kswitchlanguagedialog.cpp
@@ -207,12 +207,12 @@ void KSwitchLanguageDialog::slotOk()
first = false;
}
- KConfig *config = TDEGlobal::config();
+ TDEConfig *config = TDEGlobal::config();
if (d->applicationLanguageList().join(":") != languageString)
{
//list is different from defaults or saved languages list
- KConfigGroup group(config, "Locale");
+ TDEConfigGroup group(config, "Locale");
group.writeEntry("Language", languageString);
config->sync();
@@ -258,12 +258,12 @@ void KSwitchLanguageDialogPrivate::fillApplicationLanguages(KLanguageButton *but
TQStringList KSwitchLanguageDialogPrivate::applicationLanguageList()
{
- KConfig *config = TDEGlobal::config();
+ TDEConfig *config = TDEGlobal::config();
TQStringList languagesList;
if (config->hasGroup("Locale"))
{
- KConfigGroupSaver saver(config, "Locale");
+ TDEConfigGroupSaver saver(config, "Locale");
if (config->hasKey("Language"))
{