40 #include <QtGui/private/qtguiglobal_p.h>
41 #include <QtCore/qpoint.h>
42 #include <QtCore/qstring.h>
43 #include <QtGui/qpolygon.h>
44 #include <QtCore/qstringbuilder.h>
46 #ifndef QHEXSTRING_P_H
47 #define QHEXSTRING_P_H
72 const char16_t hexChars[] = {
'0',
'1',
'2',
'3',
'4',
'5',
'6',
'7',
'8',
'9',
'a',
'b',
'c',
'd',
'e',
'f' };
73 const char *
c =
reinterpret_cast<const char *
>(&
val);
74 for (
uint i = 0;
i <
sizeof(
T); ++
i) {
75 *dest++ = hexChars[*
c & 0xf];
76 *dest++ = hexChars[(*
c & 0xf0) >> 4];
88 enum { ExactSize =
true };
small capitals from c petite p scientific i
[1]
The QChar class provides a 16-bit Unicode character.
The QString class provides a Unicode character string.
QTextStream out(stdout)
[7]
void write(QChar *&dest) const
static int size(const HexString< T > &)
static void appendTo(const HexString< T > &str, QChar *&out)