The following members of class QChar are obsolete. They are provided to keep old source code working. We strongly advise against using them in new code.
(obsolete) enum |
Joining { Center, Dual, OtherJoining, Right } |
This enum type defines the Unicode joining attributes. See the Unicode Standard for a description of the values.
Constant | Value |
---|---|
QChar::Center |
3 |
QChar::Dual |
1 |
QChar::OtherJoining |
0 |
QChar::Right |
2 |
See also joining().
[static]
QChar QChar::fromAscii(char c)Converts the ASCII character c to it's equivalent QChar. This is mainly useful for non-internationalized software.
An alternative is to use QLatin1Char.
See also fromLatin1() and unicode().
Returns information about the joining properties of the character (needed for certain languages such as Arabic).
[static]
QChar::Joining QChar::joining(uint ucs4)This is an overloaded function.
Returns information about the joining properties of the UCS-4-encoded character specified by ucs4 (needed for certain languages such as Arabic).
Returns the Latin-1 character value of the QChar, or 0 if the character is not representable.
The main purpose of this function is to preserve ASCII characters used in C strings. This is mainly useful for developers of non-internationalized software.
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.
As part of the free Business evaluation, we offer a free welcome call for companies, to talk about your requirements, and how the Felgo SDK & Services can help you. Just sign up and schedule your call.
Sign up now to start your free Business evaluation: