summaryrefslogtreecommitdiffstats
path: root/kbabel
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
parent9a9f0befb2983057ba63aa63ce22726db67fd500 (diff)
downloadtdesdk-087f8d4521b0bc6614dc4b664b23674a7f5f5020.tar.gz
tdesdk-087f8d4521b0bc6614dc4b664b23674a7f5f5020.zip
Rename KLocale to enhance compatibility with KDE4
Diffstat (limited to 'kbabel')
-rw-r--r--kbabel/catalogmanager/catalogmanagerview.cpp2
-rw-r--r--kbabel/catalogmanager/main.cpp2
-rw-r--r--kbabel/catalogmanager/multiroughtransdlg.cpp2
-rw-r--r--kbabel/common/catalog.cpp2
-rw-r--r--kbabel/common/catalogsettings.cpp2
-rw-r--r--kbabel/commonui/roughtransdlg.cpp2
-rw-r--r--kbabel/kbabel/kbabelview.cpp2
-rw-r--r--kbabel/kbabeldict/main.cpp2
8 files changed, 8 insertions, 8 deletions
diff --git a/kbabel/catalogmanager/catalogmanagerview.cpp b/kbabel/catalogmanager/catalogmanagerview.cpp
index eab6c00e..5543c0f6 100644
--- a/kbabel/catalogmanager/catalogmanagerview.cpp
+++ b/kbabel/catalogmanager/catalogmanagerview.cpp
@@ -715,7 +715,7 @@ void CatalogManagerView::markedStatistics()
void CatalogManagerView::showStatistics( CatManListItem *i, TQStringList &childrenList )
{
- KLocale *locale = TDEGlobal::locale();
+ TDELocale *locale = TDEGlobal::locale();
TQString msg;
int totalPackages=0;
diff --git a/kbabel/catalogmanager/main.cpp b/kbabel/catalogmanager/main.cpp
index b7d04b43..d28425a6 100644
--- a/kbabel/catalogmanager/main.cpp
+++ b/kbabel/catalogmanager/main.cpp
@@ -182,7 +182,7 @@ static KCmdLineOptions options[] =
int main(int argc, char **argv)
{
- KLocale::setMainCatalogue("kbabel");
+ TDELocale::setMainCatalogue("kbabel");
TDEAboutData about("catalogmanager",I18N_NOOP("KBabel - Catalog Manager"),VERSION,
I18N_NOOP("An advanced catalog manager for KBabel"),TDEAboutData::License_GPL,
I18N_NOOP("(c) 1999,2000,2001,2002,2003,2004,2005,2006 The KBabel developers"),0,"http://kbabel.kde.org");
diff --git a/kbabel/catalogmanager/multiroughtransdlg.cpp b/kbabel/catalogmanager/multiroughtransdlg.cpp
index a8e5d4d9..6f3b750c 100644
--- a/kbabel/catalogmanager/multiroughtransdlg.cpp
+++ b/kbabel/catalogmanager/multiroughtransdlg.cpp
@@ -125,7 +125,7 @@ void MultiRoughTransDlg::showAllStatistics()
if( tt == 0 ) tt = 1;
int nothing=tt-ptc-etc;
- KLocale *locale = TDEGlobal::locale();
+ TDELocale *locale = TDEGlobal::locale();
TQString statMsg = i18n("Result of the translation:\n"
"Edited entries: %1\n"
"Exact translations: %2 (%3%)\n"
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)
{
diff --git a/kbabel/commonui/roughtransdlg.cpp b/kbabel/commonui/roughtransdlg.cpp
index caf919e3..bc251a93 100644
--- a/kbabel/commonui/roughtransdlg.cpp
+++ b/kbabel/commonui/roughtransdlg.cpp
@@ -667,7 +667,7 @@ void RoughTransDlg::translate()
void RoughTransDlg::showStatistics()
{
int nothing=totalTried-partTransCounter-exactTransCounter;
- KLocale *locale = TDEGlobal::locale();
+ TDELocale *locale = TDEGlobal::locale();
TQString statMsg = i18n("Result of the translation:\n"
"Edited entries: %1\n"
"Exact translations: %2 (%3%)\n"
diff --git a/kbabel/kbabel/kbabelview.cpp b/kbabel/kbabel/kbabelview.cpp
index 4a73b8bc..8cf98335 100644
--- a/kbabel/kbabel/kbabelview.cpp
+++ b/kbabel/kbabel/kbabelview.cpp
@@ -3590,7 +3590,7 @@ void KBabelView::autoCheck(bool onlyWhenChanged)
TQString msg = "";
// ### TODO: whynot use i18n("context",text) directly?
- KLocale* locale=TDEGlobal::locale();
+ TDELocale* locale=TDEGlobal::locale();
for( TQStringList::iterator it=status.begin() ; it != status.end() ; ++it )
{
diff --git a/kbabel/kbabeldict/main.cpp b/kbabel/kbabeldict/main.cpp
index 9cdffa29..579b1eb1 100644
--- a/kbabel/kbabeldict/main.cpp
+++ b/kbabel/kbabeldict/main.cpp
@@ -109,7 +109,7 @@ static KCmdLineOptions options[] =
int main(int argc, char **argv)
{
- KLocale::setMainCatalogue("kbabel");
+ TDELocale::setMainCatalogue("kbabel");
TDEAboutData about("kbabeldict",I18N_NOOP("KBabel - Dictionary"),VERSION,
I18N_NOOP("A dictionary for translators"),TDEAboutData::License_GPL,