diff options
author | Timothy Pearson <[email protected]> | 2013-01-24 13:40:41 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-01-24 13:40:41 -0600 |
commit | 0b54abbdf80cef08e5cb8ef7b8b7af31c54dd9b4 (patch) | |
tree | 322767e10a0d28887f54f3cefe6399098713dc82 /kttsd/kcmkttsmgr/addtalker.cpp | |
parent | 11f5b1c38c194ef53638bafa0df70e821a7a6427 (diff) | |
download | tdeaccessibility-0b54abbdf80cef08e5cb8ef7b8b7af31c54dd9b4.tar.gz tdeaccessibility-0b54abbdf80cef08e5cb8ef7b8b7af31c54dd9b4.zip |
Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4
Diffstat (limited to 'kttsd/kcmkttsmgr/addtalker.cpp')
-rw-r--r-- | kttsd/kcmkttsmgr/addtalker.cpp | 10 |
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; } |