summaryrefslogtreecommitdiffstats
path: root/kttsd/kcmkttsmgr/addtalker.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kttsd/kcmkttsmgr/addtalker.cpp')
-rw-r--r--kttsd/kcmkttsmgr/addtalker.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kttsd/kcmkttsmgr/addtalker.cpp b/kttsd/kcmkttsmgr/addtalker.cpp
index 200d419..d43b5b2 100644
--- a/kttsd/kcmkttsmgr/addtalker.cpp
+++ b/kttsd/kcmkttsmgr/addtalker.cpp
@@ -44,14 +44,14 @@ AddTalker::AddTalker(SynthToLangMap synthToLangMap, TQWidget* parent, const char
applyFilter();
// Default to user's desktop language.
- TQString languageCode = KGlobal::locale()->defaultLanguage();
+ TQString languageCode = TDEGlobal::locale()->defaultLanguage();
// If there is not a synth that supports the locale, try stripping country code.
if (!m_langToSynthMap.contains(languageCode))
{
TQString countryCode;
TQString charSet;
TQString twoAlpha;
- KGlobal::locale()->splitLocale(languageCode, twoAlpha, countryCode, charSet);
+ TDEGlobal::locale()->splitLocale(languageCode, twoAlpha, countryCode, charSet);
languageCode = twoAlpha;
}
// If there is still not a synth that supports the language code, default to "other".
@@ -131,11 +131,11 @@ TQString AddTalker::languageCodeToLanguage(const TQString &languageCode)
language = i18n("Other");
else
{
- KGlobal::locale()->splitLocale(languageCode, twoAlpha, countryCode, charSet);
- language = KGlobal::locale()->twoAlphaToLanguageName(twoAlpha);
+ TDEGlobal::locale()->splitLocale(languageCode, twoAlpha, countryCode, charSet);
+ language = TDEGlobal::locale()->twoAlphaToLanguageName(twoAlpha);
}
if (!countryCode.isEmpty())
- language += " (" + KGlobal::locale()->twoAlphaToCountryName(countryCode) + ")";
+ language += " (" + TDEGlobal::locale()->twoAlphaToCountryName(countryCode) + ")";
return language;
}