⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 qglobal.cpp

📁 奇趣公司比较新的qt/emd版本
💻 CPP
📖 第 1 页 / 共 5 页
字号:
    Windows operating system. On Windows, the    QSysInfo::WindowsVersion variable gives the version of the system    on which the application is run.    MS-DOS-based versions:    \value WV_32s   Windows 3.1 with Win 32s    \value WV_95    Windows 95    \value WV_98    Windows 98    \value WV_Me    Windows Me    NT-based versions:    \value WV_NT    Windows NT    \value WV_2000  Windows 2000    \value WV_XP    Windows XP    \value WV_2003  Windows Server 2003    \value WV_VISTA Windows Vista    CE-based versions:    \value WV_CE    Windows CE    \value WV_CENET Windows CE .NET    The following masks can be used for testing whether a Windows    version is MS-DOS-based, NT-based, or CE-based:    \value WV_DOS_based MS-DOS-based version of Windows    \value WV_NT_based  NT-based version of Windows    \value WV_CE_based  CE-based version of Windows    \sa MacVersion*//*!    \enum QSysInfo::MacVersion    This enum provides symbolic names for the various versions of the    Macintosh operating system. On Mac, the    QSysInfo::MacintoshVersion variable gives the version of the    system on which the application is run.    \value MV_9        Mac OS 9 (unsupported)    \value MV_10_0     Mac OS X 10.0 (unsupported)    \value MV_10_1     Mac OS X 10.1 (unsupported)    \value MV_10_2     Mac OS X 10.2 (unsupported)    \value MV_10_3     Mac OS X 10.3    \value MV_10_4     Mac OS X 10.4    \value MV_10_5     Mac OS X 10.5    \value MV_Unknown  An unknown and currently unsupported platform    \value MV_CHEETAH  Apple codename for MV_10_0    \value MV_PUMA     Apple codename for MV_10_1    \value MV_JAGUAR   Apple codename for MV_10_2    \value MV_PANTHER  Apple codename for MV_10_3    \value MV_TIGER    Apple codename for MV_10_4    \value MV_LEOPARD  Apple codename for MV_10_5    \sa WinVersion*//*!    \fn T qFromBigEndian(const uchar *src)    \since 4.3    \relates <QtGlobal>    Reads a big-endian number from memory location \a src and returns the number in the    host byte order representation.    On CPU architectures where the host byte order is little-endian (such as x86) this    will swap the byte order; otherwise it will just read from \a src.    Note that template type \c{T} can only be an integer data type (signed or unsigned).    There are no data alignment constraints for \a src.    \sa qFromLittleEndian()    \sa qToBigEndian()    \sa qToLittleEndian()*//*!    \fn T qFromBigEndian(T src)    \since 4.3    \relates <QtGlobal>    \overload    Converts \a src from big-endian byte order and returns the number in host byte order    representation of that number.    On CPU architectures where the host byte order is little-endian (such as x86) this    will return \a src with the byte order swapped; otherwise it will return \a src    unmodified.*//*!    \fn T qFromLittleEndian(const uchar *src)    \since 4.3    \relates <QtGlobal>    Reads a little-endian number from memory location \a src and returns the number in    the host byte order representation.    On CPU architectures where the host byte order is big-endian (such as PowerPC) this    will swap the byte order; otherwise it will just read from \a src.    Note that template type \c{T} can only be an integer data type (signed or unsigned).    There are no data alignment constraints for \a src.    \sa qFromBigEndian()    \sa qToBigEndian()    \sa qToLittleEndian()*//*!    \fn T qFromLittleEndian(T src)    \since 4.3    \relates <QtGlobal>    \overload    Converts \a src from little-endian byte order and returns the number in host byte    order representation of that number.    On CPU architectures where the host byte order is big-endian (such as PowerPC) this    will return \a src with the byte order swapped; otherwise it will return \a src    unmodified.*//*!    \fn void qToBigEndian(T src, uchar *dest)    \since 4.3    \relates <QtGlobal>    Writes the number \a src with template type \c{T} to the memory location at \a dest    in big-endian byte order.    Note that template type \c{T} can only be an integer data type (signed or unsigned).    There are no data alignment constraints for \a dest.    \sa qFromBigEndian()    \sa qFromLittleEndian()    \sa qToLittleEndian()*//*!    \fn T qToBigEndian(T src)    \since 4.3    \relates <QtGlobal>    \overload    Converts \a src from host byte order and returns the number in big-endian byte order    representation of that number.    On CPU architectures where the host byte order is little-endian (such as x86) this    will return \a src with the byte order swapped; otherwise it will return \a src    unmodified.*//*!    \fn void qToLittleEndian(T src, uchar *dest)    \since 4.3    \relates <QtGlobal>    Writes the number \a src with template type \c{T} to the memory location at \a dest    in little-endian byte order.    Note that template type \c{T} can only be an integer data type (signed or unsigned).    There are no data alignment constraints for \a dest.    \sa qFromBigEndian()    \sa qFromLittleEndian()    \sa qToBigEndian()*//*!    \fn T qToLittleEndian(T src)    \since 4.3    \relates <QtGlobal>    \overload    Converts \a src from host byte order and returns the number in little-endian byte    order representation of that number.    On CPU architectures where the host byte order is big-endian (such as PowerPC) this    will return \a src with the byte order swapped; otherwise it will return \a src    unmodified.*//*!    \macro Q_WS_MAC    \relates <QtGlobal>    Defined on Mac OS X.    \sa Q_WS_WIN, Q_WS_X11, Q_WS_QWS*//*!    \macro Q_WS_WIN    \relates <QtGlobal>    Defined on Windows.    \sa Q_WS_MAC, Q_WS_X11, Q_WS_QWS*//*!    \macro Q_WS_X11    \relates <QtGlobal>    Defined on X11.    \sa Q_WS_MAC, Q_WS_WIN, Q_WS_QWS*//*!    \macro Q_WS_QWS    \relates <QtGlobal>    Defined on Qtopia Core.    \sa Q_WS_MAC, Q_WS_WIN, Q_WS_X11*//*!    \macro Q_OS_DARWIN    \relates <QtGlobal>    Defined on Darwin OS (synonym for Q_OS_MAC).*//*!    \macro Q_OS_MSDOS    \relates <QtGlobal>    Defined on MS-DOS and Windows.*//*!    \macro Q_OS_OS2    \relates <QtGlobal>    Defined on OS/2.*//*!    \macro Q_OS_OS2EMX    \relates <QtGlobal>    Defined on XFree86 on OS/2 (not PM).*//*!    \macro Q_OS_WIN32    \relates <QtGlobal>    Defined on all supported versions of Windows.*//*!    \macro Q_OS_CYGWIN    \relates <QtGlobal>    Defined on Cygwin.*//*!    \macro Q_OS_SOLARIS    \relates <QtGlobal>    Defined on Sun Solaris.*//*!    \macro Q_OS_HPUX    \relates <QtGlobal>    Defined on HP-UX.*//*!    \macro Q_OS_ULTRIX    \relates <QtGlobal>    Defined on DEC Ultrix.*//*!    \macro Q_OS_LINUX    \relates <QtGlobal>    Defined on Linux.*//*!    \macro Q_OS_FREEBSD    \relates <QtGlobal>    Defined on FreeBSD.*//*!    \macro Q_OS_NETBSD    \relates <QtGlobal>    Defined on NetBSD.*//*!    \macro Q_OS_OPENBSD    \relates <QtGlobal>    Defined on OpenBSD.*//*!    \macro Q_OS_BSDI    \relates <QtGlobal>    Defined on BSD/OS.*//*!    \macro Q_OS_IRIX    \relates <QtGlobal>    Defined on SGI Irix.*//*!    \macro Q_OS_OSF    \relates <QtGlobal>    Defined on HP Tru64 UNIX.*//*!    \macro Q_OS_SCO    \relates <QtGlobal>    Defined on SCO OpenServer 5.*//*!    \macro Q_OS_UNIXWARE    \relates <QtGlobal>    Defined on UnixWare 7, Open UNIX 8.*//*!    \macro Q_OS_AIX    \relates <QtGlobal>    Defined on AIX.*//*!    \macro Q_OS_HURD    \relates <QtGlobal>    Defined on GNU Hurd.*//*!    \macro Q_OS_DGUX    \relates <QtGlobal>    Defined on DG/UX.*//*!    \macro Q_OS_RELIANT    \relates <QtGlobal>    Defined on Reliant UNIX.*//*!    \macro Q_OS_DYNIX    \relates <QtGlobal>    Defined on DYNIX/ptx.*//*!    \macro Q_OS_QNX    \relates <QtGlobal>    Defined on QNX.*//*!    \macro Q_OS_QNX6    \relates <QtGlobal>    Defined on QNX RTP 6.1.*//*!    \macro Q_OS_LYNX    \relates <QtGlobal>    Defined on LynxOS.*//*!    \macro Q_OS_BSD4    \relates <QtGlobal>    Defined on Any BSD 4.4 system.*//*!    \macro Q_OS_UNIX    \relates <QtGlobal>    Defined on Any UNIX BSD/SYSV system.*//*!    \macro Q_CC_SYM    \relates <QtGlobal>    Defined if the application is compiled using Digital Mars C/C++    (used to be Symantec C++).*//*!    \macro Q_CC_MWERKS    \relates <QtGlobal>    Defined if the application is compiled using Metrowerks    CodeWarrior.*//*!    \macro Q_CC_MSVC    \relates <QtGlobal>    Defined if the application is compiled using Microsoft Visual    C/C++, Intel C++ for Windows.*//*!    \macro Q_CC_BOR    \relates <QtGlobal>    Defined if the application is compiled using Borland/Turbo C++.*//*!    \macro Q_CC_WAT    \relates <QtGlobal>    Defined if the application is compiled using Watcom C++.*//*!    \macro Q_CC_GNU    \relates <QtGlobal>    Defined if the application is compiled using GNU C++.*//*!    \macro Q_CC_COMEAU    \relates <QtGlobal>    Defined if the application is compiled using Comeau C++.*//*!    \macro Q_CC_EDG    \relates <QtGlobal>    Defined if the application is compiled using Edison Design Group    C++.*//*!    \macro Q_CC_OC    \relates <QtGlobal>    Defined if the application is compiled using CenterLine C++.*//*!    \macro Q_CC_SUN    \relates <QtGlobal>    Defined if the application is compiled using Forte Developer, or    Sun Studio C++.*//*!    \macro Q_CC_MIPS    \relates <QtGlobal>    Defined if the application is compiled using MIPSpro C++.*//*!    \macro Q_CC_DEC    \relates <QtGlobal>    Defined if the application is compiled using DEC C++.*//*!    \macro Q_CC_HPACC    \relates <QtGlobal>    Defined if the application is compiled using HP aC++.*//*!    \macro Q_CC_USLC    \relates <QtGlobal>    Defined if the application is compiled using SCO OUDK and UDK.*//*!    \macro Q_CC_CDS    \relates <QtGlobal>    Defined if the application is compiled using Reliant C++.*//*!    \macro Q_CC_KAI    \relates <QtGlobal>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -