qt5base-lts/tests/auto/corelib/global
Glenn Watson 15c13b91e6 Add Q_IS_ENUM(), and provide as flag in QMetaType::typeFlags()
Add Q_IS_ENUM() macro to determine if a given type is an
enumeration. Use information from that in QMetaType::registerType()
to store whether custom registered metatypes are enums or not.
This information can then be accessed by calling
QMetaType::typeFlags(int type). This is used by the declarative
code to determine whether a custom type in a variant can be safely
cast to an integer, which is required to allow passing non-local
enums as signal/slot params.

Change-Id: I9733837f56af201fa3017b4a22b761437a3c0de4
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
2012-03-11 23:58:39 +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 Add Q_IS_ENUM(), and provide as flag in QMetaType::typeFlags() 2012-03-11 23:58:39 +01:00
qlogging Changed qlogging unittest to install subprogram 2012-03-01 05:43:15 +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