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

📄 qglobal.h

📁 motorola E680I的EZK SDK.
💻 H
📖 第 1 页 / 共 2 页
字号:
/****************************************************************************** $Id: qt/src/tools/qglobal.h   2.3.6   edited 2003-05-22 $**** Global type declarations and definitions**** Created : 920529**** Copyright (C) 1992-2002 Trolltech AS.  All rights reserved.**** This file is part of the tools module of the Qt GUI Toolkit.**** This file may be distributed under the terms of the Q Public License** as defined by Trolltech AS of Norway and appearing in the file** LICENSE.QPL included in the packaging of this file.**** This file may be distributed and/or modified under the terms of the** GNU General Public License version 2 as published by the Free Software** Foundation and appearing in the file LICENSE.GPL included in the** packaging of this file.**** Licensees holding valid Qt Enterprise Edition or Qt Professional Edition** licenses may use this file in accordance with the Qt Commercial License** Agreement provided with the Software.**** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.**** See http://www.trolltech.com/pricing.html or email sales@trolltech.com for**   information about Qt Commercial License Agreements.** See http://www.trolltech.com/qpl/ for QPL licensing information.** See http://www.trolltech.com/gpl/ for GPL licensing information.**** Contact info@trolltech.com if any conditions of this licensing are** not clear to you.************************************************************************/#ifndef QGLOBAL_H#define QGLOBAL_H#define QT_VERSION	236#define QT_VERSION_STR	"2.3.6"//// The operating system, must be one of: (_OS_x_)////   MAC	- Macintosh//   MACX	- XFree86 on Darwin//   MSDOS	- MS-DOS and Windows//   OS2	- OS/2//   OS2EMX	- XFree86 on OS/2 (not PM)//   WIN32	- Win32 (Windows 95/98 and Windows NT)//   SUN	- SunOS//   SOLARIS	- Sun Solaris//   HPUX	- HP-UX//   ULTRIX	- DEC Ultrix//   LINUX	- Linux//   FREEBSD	- FreeBSD//   NETBSD	- NetBSD//   OPENBSD    - OpenBSD//   IRIX	- SGI Irix//   OSF	- OSF Unix//   BSDI	- BSDI Unix//   SCO	- SCO of some sort//   AIX	- AIX Unix//   UNIXWARE	- SCO UnixWare//   GNU	- GNU Hurd//   DGUX	- DG Unix//   DYNIX	- Dynix//   UNIX	- Any UNIX bsd/sysv system//   CYGWIN	- Cygwin POSIX layer//#if defined(macintosh)#define _OS_MAC_#elif defined(__APPLE__)#define _OS_MACX_#elif defined(MSDOS) || defined(_MSDOS) || defined(__MSDOS__)#define _OS_MSDOS_#elif defined(OS2) || defined(_OS2) || defined(__OS2__)#if defined(__EMX__)#define _OS_OS2EMX_#else#define _OS_OS2_#endif#elif defined(WIN32) || defined(_WIN32) || defined(__WIN32__) || defined(__NT__)#define _OS_WIN32_#elif defined(__MWERKS__) && defined(__INTEL__)#define _OS_WIN32_#elif defined(sun) || defined(__sun) || defined(__sun__)#if defined(__SVR4)#define _OS_SOLARIS_#else#define _OS_SUN_#endif#elif defined(hpux) || defined(__hpux) || defined(__hpux__)#define _OS_HPUX_#elif defined(ultrix) || defined(__ultrix) || defined(__ultrix__)#define _OS_ULTRIX_#elif defined(sinix)#define _OS_RELIANT_#elif defined(linux) || defined(__linux) || defined(__linux__)#define _OS_LINUX_#elif defined(__FreeBSD__)#define _OS_FREEBSD_#elif defined(__NetBSD__)#define _OS_NETBSD_#elif defined(__OpenBSD__)#define _OS_OPENBSD_#elif defined(sgi) || defined(__sgi)#define _OS_IRIX_#elif defined(__osf__)#define _OS_OSF_#elif defined(bsdi) || defined(__bsdi__)#define _OS_BSDI_#elif defined(_AIX)#define _OS_AIX_#elif defined(__Lynx__)#define _OS_LYNXOS_#elif defined(_UNIXWARE)#define _OS_UNIXWARE_#elif defined(__GNU__)#define _OS_GNU_#elif defined(DGUX)#define _OS_DGUX_#elif defined(__QNXNTO__)#define _OS_QNX6_#elif defined(__QNX__)#define _OS_QNX_#elif defined(_SCO_DS) || defined(M_UNIX) || defined(M_XENIX)#define _OS_SCO_#elif defined(sco) || defined(_UNIXWARE7)#define _OS_UNIXWARE7_#elif !defined(_SCO_DS) && defined(__USLC__) && defined(__SCO_VERSION__)#define _OS_UNIXWARE7_#elif defined(_SEQUENT_)#define _OS_DYNIX_#elif defined(__CYGWIN__)#define _OS_CYGWIN_#else#error "Qt has not been ported to this OS - talk to qt-bugs@trolltech.com"#endif#if defined(_OS_MAC_) || defined(_OS_MSDOS_) || defined(_OS_OS2_) || defined(_OS_WIN32_)#undef	_OS_UNIX_#elif !defined(_OS_UNIX_)#define _OS_UNIX_// QT_CLEAN_NAMESPACE is not defined by default; it would break too// much code.#if !defined(QT_CLEAN_NAMESPACE) && !defined(UNIX)// ### remove 3.0#define UNIX#endif#endif//// The compiler, must be one of: (_CC_x_)////   SYM	- Symantec C++ for both PC and Macintosh//   MPW	- MPW C++//   MWERKS	- Metrowerks CodeWarrior//   MSVC	- Microsoft Visual C/C++//   BOR	- Borland/Turbo C++//   WAT	- Watcom C++//   GNU	- GNU C++//   COMEAU	- Comeau C++//   EDG	- Edison Design Group C++//   OC		- CenterLine C++//   SUN	- Sun C++//   DEC	- DEC C++//   HP		- HPUX C++//   USLC	- SCO UnixWare7 C++//   CDS	- Reliant C++//   KAI	- KAI C++//// Should be sorted most-authorative to least-authorative#if defined(__SC__)#define _CC_SYM_#elif defined(applec)#define _CC_MPW_#elif defined(__MWERKS__)#define _CC_MWERKS_#define Q_HAS_BOOL_TYPE#elif defined(_MSC_VER)#define _CC_MSVC_#elif defined(__BORLANDC__) || defined(__TURBOC__)#define _CC_BOR_#elif defined(__WATCOMC__)#define _CC_WAT_#define Q_HAS_BOOL_TYPE#elif defined(__GNUC__)#define _CC_GNU_#if __GNUC__ == 2 && __GNUC_MINOR__ <= 7#define Q_FULL_TEMPLATE_INSTANTIATION#define Q_TEMPLATE_NEEDS_CLASS_DECLARATION#define Q_TEMPLATE_NEEDS_EXPLICIT_CONVERSION#define Q_SPURIOUS_NON_VOID_WARNING#endif#if __GNUC__ >= 3 || __GNUC__ == 2 && __GNUC_MINOR__ >= 95#define Q_DELETING_VOID_UNDEFINED#endif#if __GNUC__ == 2 && __GNUC_MINOR__ == 96#define Q_FP_CCAST_BROKEN#endif#if (defined(__arm__) || defined(__ARMEL__)) && !defined(QT_MOC_CPP)#define Q_PACKED __attribute__ ((packed))#endif#elif defined(__xlC__)#define _CC_XLC_#define Q_FULL_TEMPLATE_INSTANTIATION#if __xlC__ >= 0x400#define Q_HAS_BOOL_TYPE#endif#if __xlC__ <= 0x0306#define Q_TEMPLATE_NEEDS_EXPLICIT_CONVERSION#endif#elif defined(como40)#define _CC_EDG_#define _CC_COMEAU_#define Q_HAS_BOOL_TYPE#define Q_C_CALLBACKS#elif defined(__USLC__)#define _CC_USLC_#ifdef __EDG__ // UnixWare7#define _CC_EDG_#define Q_HAS_BOOL_TYPE#endif#elif defined(__INTEL_COMPILER)#define _CC_INTEL_#define _CC_EDG_#if defined(__BOOL_DEFINED)#define Q_HAS_BOOL_TYPE#endif#elif defined(__EDG) || defined(__EDG__)// __EDG observed on SGI DCC, MIPSpro 7.3.1.1 and KAI C++// __EDG__ documented in EDG online docs, observed on Compaq C++#define _CC_EDG_// the EDG documentation says that _BOOL is defined when the compiler has bool// but Compaq seem to have disabled this#if defined(__DECCXX)#define _CC_DEC_#if __DECCXX_VER >= 60060005#define Q_HAS_BOOL_TYPE#endif#elif defined( __KCC )#define _CC_KAI_#endif#if defined(_BOOL) && !defined(Q_HAS_BOOL_TYPE)#define Q_HAS_BOOL_TYPE#endif#elif defined(OBJECTCENTER) || defined(CENTERLINE_CLPP)#define _CC_OC_#elif defined(__SUNPRO_CC)#define _CC_SUN_#if __SUNPRO_CC >= 0x500#if defined(_BOOL)#define Q_HAS_BOOL_TYPE#endif#define Q_C_CALLBACKS#endif#elif defined(sinix)#define _CC_CDS_#if defined(_BOOL)#define Q_HAS_BOOL_TYPE#endif#elif defined(_OS_HPUX_)// this test is from aCC online help#if defined(__HP_aCC) || __cplusplus >= 199707L// this is the aCC#define _CC_HP_ACC_#define Q_HAS_BOOL_TYPE#define Q_DELETING_VOID_UNDEFINED#else// this is the CC#define _CC_HP_#define Q_FULL_TEMPLATE_INSTANTIATION#define Q_TEMPLATE_NEEDS_EXPLICIT_CONVERSION#endif // __HP_aCC#else#error "Qt has not been tested with this compiler - talk to qt-bugs@trolltech.com"#endif// For non-compilers that still need to parse Qt,// like Insure++ and lint-like programs.#if defined(__INSURE__)#if !defined(Q_SPURIOUS_NON_VOID_WARNING)#define Q_SPURIOUS_NON_VOID_WARNING#endif#endif#ifndef Q_PACKED#define Q_PACKED#endif//// The window system, must be one of: (_WS_x_)////   QWS	- Qt/Embedded//   WIN32	- Windows//   X11	- X Window System//   MAC	- unsupported//   PM		- unsupported//   WIN16	- unsupported//#if defined(_OS_MAC_)#define _WS_MAC_#define Q_WS_MAC#elif defined(_OS_MSDOS_)#define _WS_WIN16_#error "Qt requires Win32 and does not work with Windows 3.x"#elif defined(_WIN32_X11_)#define _WS_X11_#define Q_WS_X11#elif defined(_OS_WIN32_)#define _WS_WIN32_#define Q_WS_WIN32#elif defined(_OS_OS2_)#error "Qt does not work with OS/2 Presentation Manager or Workplace Shell"#elif defined(_OS_UNIX_)#ifdef QWS#define _WS_QWS_#define Q_WS_QWS

⌨️ 快捷键说明

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