QChar: documentation fixes

Change-Id: Ic4b58ab811e53cf175ebaf0a67c40c56678f0f35
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
bb10
Konstantin Ritt 2012-04-11 11:42:31 +03:00 committed by Qt by Nokia
parent 810fdd65e6
commit 89e5740a95
1 changed files with 18 additions and 1 deletions

View File

@ -1238,9 +1238,23 @@ ushort QChar::toCaseFolded(ushort ucs2)
Returns the Latin-1 character equivalent to the QChar, or 0. This
is mainly useful for non-internationalized software.
\note It is not possible to distinguish a non-Latin-1 character from a Latin-1 0
(NUL) character. Prefer to use unicode(), which does not have this ambiguity.
\sa toAscii(), unicode()
*/
/*!
\fn QChar QChar::fromLatin1(char)
Converts the Latin-1 character \a c to its equivalent QChar. This
is mainly useful for non-internationalized software.
An alternative is to use QLatin1Char.
\sa fromAscii(), unicode()
*/
/*!
\fn char QChar::toAscii() const
@ -1254,6 +1268,9 @@ ushort QChar::toCaseFolded(ushort ucs2)
\note It is not possible to distinguish a non-Latin 1 character from an ASCII 0
(NUL) character. Prefer to use unicode(), which does not have this ambiguity.
\note This function does not check whether the character value is inside
the valid range of US-ASCII.
\sa toLatin1(), unicode()
*/
@ -1307,7 +1324,7 @@ QDataStream &operator>>(QDataStream &in, QChar &chr)
/*!
\fn ushort QChar::unicode() const
\overload
Returns the numeric Unicode value of the QChar.
*/
/*****************************************************************************