Add QChar::SoftHyphen enum value
authorKonstantin Ritt <ritt.ks@gmail.com>
Fri, 29 Jun 2012 06:07:34 +0000 (09:07 +0300)
committerQt by Nokia <qt-info@nokia.com>
Tue, 3 Jul 2012 12:39:02 +0000 (14:39 +0200)
commitee4f50b2e78e1d8b4200866fa88dbf7dc5cffe26
tree6ae195bd1911a0e363317c7980f257268c3a5c5b
parentf4c9797d5ba7dd64e98d3c6fa90c791e422932dd
Add QChar::SoftHyphen enum value

Just like for the QChar::ByteOrderMark, `ch == QChar::SoftHyphen`
is much more readable than `ch == 0x00ad // (soft-hyphen)`, etc.

Change-Id: I9c85f14cfd979037d35103c3259a435fd729b869
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
src/corelib/tools/qchar.h
src/corelib/tools/qunicodetools.cpp
src/gui/text/qtextengine.cpp
tests/auto/corelib/tools/qtextboundaryfinder/tst_qtextboundaryfinder.cpp