#include <qchar.h>
Public Member Functions | |
QChar () | |
QT_ASCII_CAST_WARN_CONSTRUCTOR | QChar (char c) |
QT_ASCII_CAST_WARN_CONSTRUCTOR | QChar (uchar c) |
QChar (QLatin1Char ch) | |
QChar (uchar c, uchar r) | |
QChar (ushort rc) | |
QChar (short rc) | |
QChar (uint rc) | |
QChar (int rc) | |
QChar (SpecialCharacter sc) | |
Category | category () const |
Direction | direction () const |
Joining | joining () const |
bool | hasMirrored () const |
unsigned char | combiningClass () const |
QChar | mirroredChar () const |
QString | decomposition () const |
Decomposition | decompositionTag () const |
int | digitValue () const |
QChar | toLower () const |
QChar | toUpper () const |
QChar | toTitleCase () const |
QChar | toCaseFolded () const |
UnicodeVersion | unicodeVersion () const |
char | toAscii () const |
char | toLatin1 () const |
ushort | unicode () const |
ushort & | unicode () |
bool | isNull () const |
bool | isPrint () const |
bool | isPunct () const |
bool | isSpace () const |
bool | isMark () const |
bool | isLetter () const |
bool | isNumber () const |
bool | isLetterOrNumber () const |
bool | isDigit () const |
bool | isSymbol () const |
bool | isLower () const |
bool | isUpper () const |
bool | isTitleCase () const |
bool | isHighSurrogate () const |
bool | isLowSurrogate () const |
uchar | cell () const |
uchar | row () const |
void | setCell (uchar cell) |
void | setRow (uchar row) |
Static Public Member Functions | |
static QChar | fromAscii (char c) |
static QChar | fromLatin1 (char c) |
static bool | isHighSurrogate (uint ucs4) |
static bool | isLowSurrogate (uint ucs4) |
static bool | requiresSurrogates (uint ucs4) |
static uint | surrogateToUcs4 (ushort high, ushort low) |
static uint | surrogateToUcs4 (QChar high, QChar low) |
static ushort | highSurrogate (uint ucs4) |
static ushort | lowSurrogate (uint ucs4) |
static Category QT_FASTCALL | category (uint ucs4) |
static Category QT_FASTCALL | category (ushort ucs2) |
static Direction QT_FASTCALL | direction (uint ucs4) |
static Direction QT_FASTCALL | direction (ushort ucs2) |
static Joining QT_FASTCALL | joining (uint ucs4) |
static Joining QT_FASTCALL | joining (ushort ucs2) |
static unsigned char QT_FASTCALL | combiningClass (uint ucs4) |
static unsigned char QT_FASTCALL | combiningClass (ushort ucs2) |
static uint QT_FASTCALL | mirroredChar (uint ucs4) |
static ushort QT_FASTCALL | mirroredChar (ushort ucs2) |
static Decomposition QT_FASTCALL | decompositionTag (uint ucs4) |
static int QT_FASTCALL | digitValue (uint ucs4) |
static int QT_FASTCALL | digitValue (ushort ucs2) |
static uint QT_FASTCALL | toLower (uint ucs4) |
static ushort QT_FASTCALL | toLower (ushort ucs2) |
static uint QT_FASTCALL | toUpper (uint ucs4) |
static ushort QT_FASTCALL | toUpper (ushort ucs2) |
static uint QT_FASTCALL | toTitleCase (uint ucs4) |
static ushort QT_FASTCALL | toTitleCase (ushort ucs2) |
static uint QT_FASTCALL | toCaseFolded (uint ucs4) |
static ushort QT_FASTCALL | toCaseFolded (ushort ucs2) |
static UnicodeVersion QT_FASTCALL | unicodeVersion (uint ucs4) |
static UnicodeVersion QT_FASTCALL | unicodeVersion (ushort ucs2) |
static UnicodeVersion QT_FASTCALL | currentUnicodeVersion () |
static QString QT_FASTCALL | decomposition (uint ucs4) |
enum SpecialCharacter |
Enumerator | |
---|---|
Null | |
Nbsp | |
ReplacementCharacter | |
ObjectReplacementCharacter | |
ByteOrderMark | |
ByteOrderSwapped | |
ParagraphSeparator | |
LineSeparator |
Definition at line 85 of file qchar.h.
enum Category |
Definition at line 106 of file qchar.h.
enum Direction |
Enumerator | |
---|---|
DirL | |
DirR | |
DirEN | |
DirES | |
DirET | |
DirAN | |
DirCS | |
DirB | |
DirS | |
DirWS | |
DirON | |
DirLRE | |
DirLRO | |
DirAL | |
DirRLE | |
DirRLO | |
DirPDF | |
DirNSM | |
DirBN |
Definition at line 150 of file qchar.h.
enum Decomposition |
Enumerator | |
---|---|
NoDecomposition | |
Canonical | |
Font | |
NoBreak | |
Initial | |
Medial | |
Final | |
Isolated | |
Circle | |
Super | |
Sub | |
Vertical | |
Wide | |
Narrow | |
Small | |
Square | |
Compat | |
Fraction |
Definition at line 156 of file qchar.h.
enum Joining |
Enumerator | |
---|---|
OtherJoining | |
Dual | |
Right | |
Center |
enum CombiningClass |
Definition at line 187 of file qchar.h.
enum UnicodeVersion |
Enumerator | |
---|---|
Unicode_Unassigned | |
Unicode_1_1 | |
Unicode_2_0 | |
Unicode_2_1_2 | |
Unicode_3_0 | |
Unicode_3_1 | |
Unicode_3_2 | |
Unicode_4_0 | |
Unicode_4_1 | |
Unicode_5_0 |
Definition at line 212 of file qchar.h.
QT_ASCII_CAST_WARN_CONSTRUCTOR QChar | ( | char | c | ) |
QT_ASCII_CAST_WARN_CONSTRUCTOR QChar | ( | uchar | c | ) |
|
inline |
|
inline |
Category category | ( | ) | const |
Direction direction | ( | ) | const |
Joining joining | ( | ) | const |
bool hasMirrored | ( | ) | const |
unsigned char combiningClass | ( | ) | const |
QChar mirroredChar | ( | ) | const |
QString decomposition | ( | ) | const |
Decomposition decompositionTag | ( | ) | const |
int digitValue | ( | ) | const |
QChar toLower | ( | ) | const |
QChar toUpper | ( | ) | const |
QChar toTitleCase | ( | ) | const |
QChar toCaseFolded | ( | ) | const |
UnicodeVersion unicodeVersion | ( | ) | const |
char toAscii | ( | ) | const |
|
inline |
|
static |
bool isPrint | ( | ) | const |
bool isPunct | ( | ) | const |
bool isSpace | ( | ) | const |
bool isMark | ( | ) | const |
bool isLetter | ( | ) | const |
bool isNumber | ( | ) | const |
bool isLetterOrNumber | ( | ) | const |
bool isDigit | ( | ) | const |
bool isSymbol | ( | ) | const |
|
inline |
Definition at line 272 of file qchar.h.
|
inline |
Definition at line 273 of file qchar.h.
|
inline |
Definition at line 274 of file qchar.h.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |