QChar: reduce code duplication by inlining some methods
authorKonstantin Ritt <ritt.ks@gmail.com>
Mon, 9 Apr 2012 14:56:44 +0000 (17:56 +0300)
committerQt by Nokia <qt-info@nokia.com>
Tue, 24 Apr 2012 19:45:00 +0000 (21:45 +0200)
commit4ca3d4ebab4f1133e48b3cfd978378fc1928cff3
treeed1cc2c00cf97bba05f8124bc41bc6f06c9d93bb
parentfd87a4c7f620bd01af4be6e7624901436f770872
QChar: reduce code duplication by inlining some methods

using templates for toLower()/toUpper()/toTitleCase()/toCaseFolded()
makes the upcoming patches smaller and thus easier to review

Change-Id: Ideb23e8669dbc2fe9ea3f129bf0137e1805ece11
Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com>
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
src/corelib/tools/qchar.cpp
src/corelib/tools/qchar.h