qt5base-lts/tests/auto/corelib/global
Marc Mutz ff004175bc QFlags: mark as Q_PRIMITIVE_TYPE
I originally tried to put Q_DECLARE_TYPEINFOs into
Q_DECLARE_OPERATORS_FOR_FLAGS, to declare not only
the flags type, but also the underlying enum as
primitive, but too many users (arguably correctly)
used Q_DECLARE_OPERATORS_FOR_FLAGS at (non-global)
namespace scope where QTypeInfo would have been
specialised in the wrong namespace.

So specialise QTypeInfo for QFlags<T> only.

Change-Id: I4af6e29aefbd9460a3d2bc6405f03cdf6b1096bc
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
2012-02-29 23:36:47 +01:00
..
q_func_info Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qflags QFlags: mark as Q_PRIMITIVE_TYPE 2012-02-29 23:36:47 +01:00
qgetputenv Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qglobal Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qlogging Fixed tst_qlogging app silently not compiled in some -fast builds. 2012-02-22 04:48:36 +01:00
qnumeric Eliminate duplicate data row names from corelib autotests. 2012-02-14 06:19:16 +01:00
qrand Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
global.pro Allow customization of qDebug output at runtime 2012-02-09 18:11:21 +01:00