diff options
author | Lars Knoll <lars.knoll@nokia.com> | 2012-06-01 17:51:06 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-06-10 19:08:49 +0200 |
commit | 97e177e58d195f78ac103b3dd0b8ecedb1e07d4c (patch) | |
tree | eda9251fd21110f048acd8d5a32d0b32959e642c /src/corelib/tools/qlocale.h | |
parent | c631927b764133ea3c90613262c5a1587b0937a8 (diff) |
Refactor the ICU code for QLocale
Clean up the ICU code and make it thread-safe. Add a
QIcuData structure to QLocalePrivate, that contains
ICU specific data.
Link against ICU directly, greatly simplifying the
code.
Also fix a bug in the locale specific case conversion
code that would cause it to fail and fall back to the
QString code if the output string was larger than the
input.
Change-Id: Ie67e5ea14fa204ebc5887d7aaeb1a4f3ecaf8697
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/tools/qlocale.h')
-rw-r--r-- | src/corelib/tools/qlocale.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/corelib/tools/qlocale.h b/src/corelib/tools/qlocale.h index a014b6b7b5..c901211af4 100644 --- a/src/corelib/tools/qlocale.h +++ b/src/corelib/tools/qlocale.h @@ -703,6 +703,7 @@ public: QString createSeparatedList(const QStringList &strl) const; private: + QLocale(QLocalePrivate &dd); friend class QLocalePrivate; QSharedDataPointer<QLocalePrivate> d; }; |