Qt 4.8
|
The QLatin1Char class provides an 8-bit ASCII/Latin-1 character. More...
#include <qchar.h>
Public Functions | |
QLatin1Char (char c) | |
Constructs a Latin-1 character for c. More... | |
char | toLatin1 () const |
Converts a Latin-1 character to an 8-bit ASCII representation of the character. More... | |
ushort | unicode () const |
Converts a Latin-1 character to an 16-bit-encoded Unicode representation of the character. More... | |
Properties | |
char | ch |
The QLatin1Char class provides an 8-bit ASCII/Latin-1 character.
This class is only useful to avoid the codec for C strings business in the QChar(ch) constructor. You can avoid it by writing QChar(ch, 0).
|
inlineexplicit |
|
inline |
Converts a Latin-1 character to an 8-bit ASCII representation of the character.
Definition at line 63 of file qchar.h.
Referenced by QConcatenable< QLatin1Char >::appendTo(), QChar::lowSurrogate(), and QLatin1Char().
|
inline |
Converts a Latin-1 character to an 16-bit-encoded Unicode representation of the character.
Definition at line 64 of file qchar.h.
Referenced by QLatin1Char(), rotateSlashesDotsAndMiddots(), tryDriveUNCFallback(), and QChar::unicode().
|
private |
Definition at line 68 of file qchar.h.
Referenced by QLatin1Char(), toLatin1(), and unicode().