summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 08:11:52 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 08:11:52 -0600
commit98259239efc400e2e736f065f6790567df818c2e (patch)
tree6cfac3209bf98a28f0a037323805a8d39d298aae
parentab53bd0c4c1b842b7b08a6cd2152e8f3c2fb9c1f (diff)
downloadtdeaccessibility-98259239efc400e2e736f065f6790567df818c2e.tar.gz
tdeaccessibility-98259239efc400e2e736f065f6790567df818c2e.zip
Rename KLocale to enhance compatibility with KDE4
-rw-r--r--kmouth/wordcompletion/dictionarycreationwizard.cpp2
-rw-r--r--kmouth/wordcompletion/klanguagebuttonhelper.cpp2
-rw-r--r--kttsd/kttsd/main.cpp2
3 files changed, 3 insertions, 3 deletions
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());
}
diff --git a/kttsd/kttsd/main.cpp b/kttsd/kttsd/main.cpp
index db04012..01938e3 100644
--- a/kttsd/kttsd/main.cpp
+++ b/kttsd/kttsd/main.cpp
@@ -32,7 +32,7 @@
#include "kttsd.h"
int main (int argc, char *argv[]){
- KLocale::setMainCatalogue("kttsd");
+ TDELocale::setMainCatalogue("kttsd");
TDEAboutData aboutdata("kttsd", I18N_NOOP("kttsd"),
"0.3.5.2", I18N_NOOP("Text-to-speech synthesis deamon"),
TDEAboutData::License_GPL, "(C) 2002, José Pablo Ezequiel Fernández");