Deprecate {QString,QStringRef,QChar}::{to,from}Ascii
authorThiago Macieira <thiago.macieira@intel.com>
Wed, 2 May 2012 14:30:04 +0000 (16:30 +0200)
committerQt by Nokia <qt-info@nokia.com>
Tue, 22 May 2012 18:56:38 +0000 (20:56 +0200)
commit2c9228973fc212db044add557839b15a8cb483c3
treea67c402cb988461af3f4c0935c5a13a473768e6f
parent1ca791faf5b89c35b4b39d443d2118a882c3946b
Deprecate {QString,QStringRef,QChar}::{to,from}Ascii

Make them call exactly their Latin 1 counterparts.

For the QString functions that take a single char, also use fromAscii
directly.

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