summaryrefslogtreecommitdiffstats
path: root/kbabel/common
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 08:20:07 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 08:20:07 -0600
commit087f8d4521b0bc6614dc4b664b23674a7f5f5020 (patch)
tree7bfabb798bc358b9a99db46b8e4a00795af7cb2c /kbabel/common
parent9a9f0befb2983057ba63aa63ce22726db67fd500 (diff)
downloadtdesdk-087f8d4521b0bc6614dc4b664b23674a7f5f5020.tar.gz
tdesdk-087f8d4521b0bc6614dc4b664b23674a7f5f5020.zip
Rename KLocale to enhance compatibility with KDE4
Diffstat (limited to 'kbabel/common')
-rw-r--r--kbabel/common/catalog.cpp2
-rw-r--r--kbabel/common/catalogsettings.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/kbabel/common/catalog.cpp b/kbabel/common/catalog.cpp
index 86f47c29..601f113f 100644
--- a/kbabel/common/catalog.cpp
+++ b/kbabel/common/catalog.cpp
@@ -3313,7 +3313,7 @@ int Catalog::getNumberOfPluralForms(const TQString& lang)
{
int nr=-1;
- KLocale locale("tdelibs");
+ TDELocale locale("tdelibs");
locale.setLanguage(lang);
const char* formsString =
diff --git a/kbabel/common/catalogsettings.cpp b/kbabel/common/catalogsettings.cpp
index 64185d09..b217d9c2 100644
--- a/kbabel/common/catalogsettings.cpp
+++ b/kbabel/common/catalogsettings.cpp
@@ -200,7 +200,7 @@ TQString Defaults::Identity::mailingList()
TQString Defaults::Identity::languageCode()
{
// first try to get the language from KDE settings
- KLocale *locale = TDEGlobal::locale();
+ TDELocale *locale = TDEGlobal::locale();
TQString lang;
if(locale)
{