From 98259239efc400e2e736f065f6790567df818c2e Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 1 Feb 2013 08:11:52 -0600 Subject: Rename KLocale to enhance compatibility with KDE4 --- kmouth/wordcompletion/dictionarycreationwizard.cpp | 2 +- kmouth/wordcompletion/klanguagebuttonhelper.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'kmouth') diff --git a/kmouth/wordcompletion/dictionarycreationwizard.cpp b/kmouth/wordcompletion/dictionarycreationwizard.cpp index 997e5d3..7adbb72 100644 --- a/kmouth/wordcompletion/dictionarycreationwizard.cpp +++ b/kmouth/wordcompletion/dictionarycreationwizard.cpp @@ -259,7 +259,7 @@ TQString DictionaryCreationWizard::language() { if (TDEGlobal::locale()) return TDEGlobal::locale()->language(); else - return KLocale::defaultLanguage(); + return TDELocale::defaultLanguage(); } else if (creationSource->fileButton->isChecked()) { return fileWidget->languageButton->currentTag(); diff --git a/kmouth/wordcompletion/klanguagebuttonhelper.cpp b/kmouth/wordcompletion/klanguagebuttonhelper.cpp index 0698b43..5d00ff0 100644 --- a/kmouth/wordcompletion/klanguagebuttonhelper.cpp +++ b/kmouth/wordcompletion/klanguagebuttonhelper.cpp @@ -60,5 +60,5 @@ void loadLanguageList(KLanguageButton *combo) if (TDEGlobal::locale()) combo->setCurrentItem (TDEGlobal::locale()->language()); else - combo->setCurrentItem (KLocale::defaultLanguage()); + combo->setCurrentItem (TDELocale::defaultLanguage()); } -- cgit v1.2.1