21#if !defined( QT_VERSION ) && !defined( QT_CORE_LIB )
24#if !defined(QSTRING_H) || !defined(QCHAR_H)
28#if defined(__APPLE__) && (defined(__GNUC__) || defined(__xlC__) || defined(__xlc__))
36#elif !defined(SAG_COM) && (defined(WIN64) || defined(_WIN64) || defined(__WIN64__))
39#elif !defined(SAG_COM) && (defined(WIN32) || defined(_WIN32) || defined(__WIN32__) || defined(__NT__))
40# if defined(WINCE) || defined(_WIN32_WCE)
45#elif defined(__linux__) || defined(__linux)
49#elif defined(__MAKEDEPEND__)
51# error "Qt has not been ported to this OS - talk to qt-bugs@trolltech.com"
54#if defined(Q_OS_WIN32) || defined(Q_OS_WIN64) || defined(Q_OS_WINCE)
58#if defined(Q_OS_WIN) && !defined(Q_CC_GNU) && !defined(Q_CC_MWERKS)
59# define Q_INT64_C(c) c ## i64
60# define Q_UINT64_C(c) c ## ui64
62typedef unsigned __int64
quint64;
64# define Q_INT64_C(c) static_cast<long long>(c ## LL)
65# define Q_UINT64_C(c) static_cast<unsigned long long>(c ## ULL)
67typedef unsigned long long quint64;
73typedef unsigned short ushort;
74typedef unsigned char uchar;
75typedef unsigned int uint;
76typedef unsigned long ulong;
103{
return ((rgb >> 16) & 0xff); }
106{
return ((rgb >> 8) & 0xff); }
109{
return (rgb & 0xff); }
114inline int qGray(
int r,
int g,
int b)
115{
return (r*11+g*16+b*5)/32; }
121{
return (0xffu << 24) | ((r & 0xff) << 16) | ((g & 0xff) << 8) | (b & 0xff); }
124{
return ((a & 0xff) << 24) | ((r & 0xff) << 16) | ((g & 0xff) << 8) | (b & 0xff); }
QRgb qRgb(int r, int g, int b)
QRgb qRgba(int r, int g, int b, int a)
int qGray(int r, int g, int b)
unsigned long long quint64