diff options
author | Timothy Pearson <[email protected]> | 2013-02-01 08:03:36 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-02-01 08:03:36 -0600 |
commit | 0dda6e85e171acf1a73dc8d3d1f67b4fcc9b1ae7 (patch) | |
tree | b55740ff9d132b25792ca3fd60e37497402b5036 /lib/kofficecore | |
parent | ac04782336b6a026b44df9d51ba9ca008a712da2 (diff) | |
download | koffice-0dda6e85e171acf1a73dc8d3d1f67b4fcc9b1ae7.tar.gz koffice-0dda6e85e171acf1a73dc8d3d1f67b4fcc9b1ae7.zip |
Rename KLocale to enhance compatibility with KDE4
Diffstat (limited to 'lib/kofficecore')
-rw-r--r-- | lib/kofficecore/KoDocument.cpp | 2 | ||||
-rw-r--r-- | lib/kofficecore/KoGlobal.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/kofficecore/KoDocument.cpp b/lib/kofficecore/KoDocument.cpp index c657ee32..15e7b892 100644 --- a/lib/kofficecore/KoDocument.cpp +++ b/lib/kofficecore/KoDocument.cpp @@ -112,7 +112,7 @@ public: { m_confirmNonNativeSave[0] = true; m_confirmNonNativeSave[1] = true; - if ( TDEGlobal::locale()->measureSystem() == KLocale::Imperial ) { + if ( TDEGlobal::locale()->measureSystem() == TDELocale::Imperial ) { m_unit = KoUnit::U_INCH; } else { m_unit = KoUnit::U_CM; diff --git a/lib/kofficecore/KoGlobal.cpp b/lib/kofficecore/KoGlobal.cpp index 40050232..78c39540 100644 --- a/lib/kofficecore/KoGlobal.cpp +++ b/lib/kofficecore/KoGlobal.cpp @@ -112,7 +112,7 @@ TQStringList KoGlobal::_listOfLanguages() void KoGlobal::createListOfLanguages() { TDEConfig config( "all_languages", true, false, "locale" ); - // Note that we could also use KLocale::allLanguagesTwoAlpha + // Note that we could also use TDELocale::allLanguagesTwoAlpha TQMap<TQString, bool> seenLanguages; const TQStringList langlist = config.groupList(); |