The QLatin1Char class provides an 8-bit ASCII/Latin-1 character. More...
Header: | #include <QLatin1Char> |
qmake: | QT += core |
Note: All functions in this struct are reentrant.
QLatin1Char(char c) | |
char | toLatin1() const |
ushort | unicode() const |
This class is only useful to construct a QChar with 8-bit character.
See also QChar, QLatin1String, and QString.
Constructs a Latin-1 character for c. This constructor should be used when the encoding of the input character is known to be Latin-1.
Converts a Latin-1 character to an 8-bit ASCII representation of the character.
Converts a Latin-1 character to an 16-bit-encoded Unicode representation of the character.
© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-5.15/qlatin1char.html