Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
|
\inmodule QtCore \reentrant More...
#include <qchar.h>
Public Member Functions | |
constexpr | QLatin1Char (char c) noexcept |
Constructs a Latin-1 character for c. | |
constexpr char | toLatin1 () const noexcept |
Converts a Latin-1 character to an 8-bit ASCII representation of the character. | |
constexpr char16_t | unicode () const noexcept |
Converts a Latin-1 character to an 16-bit-encoded Unicode representation of the character. | |
Friends | |
constexpr bool | comparesEqual (const QLatin1Char &lhs, const QLatin1Char &rhs) noexcept |
constexpr Qt::strong_ordering | compareThreeWay (const QLatin1Char &lhs, const QLatin1Char &rhs) noexcept |
constexpr bool | comparesEqual (const QLatin1Char &lhs, char rhs) noexcept |
constexpr Qt::strong_ordering | compareThreeWay (const QLatin1Char &lhs, char rhs) noexcept |
Related Symbols | |
(Note that these are not member symbols.) | |
operator""_L1 (char ch) | |
\inmodule QtCore \reentrant
The QLatin1Char class provides an 8-bit ASCII/Latin-1 character.
This class is only useful to construct a QChar with 8-bit character.
|
inlineexplicitconstexprnoexcept |
|
inlineconstexprnoexcept |
Converts a Latin-1 character to an 8-bit ASCII representation of the character.
Definition at line 21 of file qchar.h.
Referenced by QAnyStringViewUtils::doesContain().
|
inlineconstexprnoexcept |
Converts a Latin-1 character to an 16-bit-encoded Unicode representation of the character.
Definition at line 22 of file qchar.h.
Referenced by rotateSlashesDotsAndMiddots(), and to_unicode().
|
friend |
|
friend |
|
friend |
|
friend |
|
related |
Literal operator that creates a QLatin1Char out of ch.
The following code creates a QLatin1Char:
Definition at line 638 of file qchar.h.
References ch.