Add QLocale::toUpper/Lower
authorLars Knoll <lars.knoll@nokia.com>
Fri, 19 Aug 2011 10:17:06 +0000 (12:17 +0200)
committerQt by Nokia <qt-info@nokia.com>
Wed, 31 Aug 2011 11:12:43 +0000 (13:12 +0200)
commit3526560d60ef82cd04e4fdf2e0ab751c0aca9731
treea8b6ca6427ef7f331a5508a90dfc335c050d0044
parent46ff3a4b1f0ee9fc87bafe2679f322aab689889c
Add QLocale::toUpper/Lower

The toUpper/Lower() methods in QString should not
be locale dependent, as this can lead to rather
hard to find bugs in at least a turkish locale.

Rather have explicit, locale dependend case conversions
available in QLocale.

Reviewed-by: Denis Dzyubenko
(cherry picked from commit da0e1e101bb4c44c25b6523357fa81ad1b2d6539)

Change-Id: I1cc3f341bef17ad573a736dc94c9c5d514ace54e
Reviewed-on: http://codereview.qt.nokia.com/3259
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
src/corelib/tools/qlocale.cpp
src/corelib/tools/qlocale.h
src/corelib/tools/qstring.cpp
tests/auto/qstring/tst_qstring.cpp