Rename KLocale to enhance compatibility with KDE4

pull/1/head
Timothy Pearson 12 years ago
parent ab53bd0c4c
commit 98259239ef

@ -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();

@ -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());
}

@ -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");

Loading…
Cancel
Save