Compatibility Members for <QtGlobal>

以下成员源于类 <QtGlobal> are part of the Qt compatibility layer. We advise against using them in new code.

类型

typedef Q_INT8
typedef Q_INT16
typedef Q_INT32
typedef Q_INT64
typedef Q_LLONG
typedef Q_LONG
typedef Q_UINT8
typedef Q_UINT16
typedef Q_UINT32
typedef Q_UINT64
typedef Q_ULLONG
typedef Q_ULONG

函数

bool qSysInfo (int * wordSize , bool * bigEndian )
int qWinVersion ()
bool qt_winUnicode ()

类型文档编制

typedef Q_INT8

使用 qint8 代替。

typedef Q_INT16

使用 qint16 代替。

typedef Q_INT32

使用 qint32 代替。

typedef Q_INT64

使用 qint64 代替。

typedef Q_LLONG

使用 qint64 代替。

typedef Q_LONG

使用 void * 代替。

typedef Q_UINT8

使用 quint8 代替。

typedef Q_UINT16

使用 quint16 代替。

typedef Q_UINT32

使用 quint32 代替。

typedef Q_UINT64

使用 quint64 代替。

typedef Q_ULLONG

使用 quint64 代替。

typedef Q_ULONG

使用 void * 代替。

函数文档编制

bool qSysInfo ( int * wordSize , bool * bigEndian )

使用 QSysInfo::WordSize and QSysInfo::ByteOrder 代替。

int qWinVersion ()

使用 QSysInfo::WindowsVersion 代替。

另请参阅 QSysInfo .

bool qt_winUnicode ()

This function always returns true.

另请参阅 QSysInfo .