qt5base-lts/tests/auto/corelib
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
..
animation Fix deadlock in QPropertyAnimation 2012-03-07 12:48:49 +01:00
codecs Eliminate duplicate data row names in utf8 autotest. 2012-02-14 02:48:35 +01:00
global Add Q_IS_ENUM(), and provide as flag in QMetaType::typeFlags() 2012-03-11 23:58:39 +01:00
io Windows: Make QSettings autotest significant again 2012-03-05 16:37:16 +01:00
itemmodels Eliminate duplicate data row names from corelib autotests. 2012-02-14 06:19:16 +01:00
json Fix a bug in the assignment operators for QJsonObject and Array 2012-03-08 16:06:48 +01:00
kernel Add Q_IS_ENUM(), and provide as flag in QMetaType::typeFlags() 2012-03-11 23:58:39 +01:00
mimetypes QMimeDatabase: Fix crash on empty filename 2012-03-06 12:10:42 +01:00
plugin Fix QLibrary autotest for Windows 2012-02-28 12:45:28 +01:00
statemachine Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
thread Fix QThreadstorage test. 2012-02-27 18:33:50 +01:00
tools QRegularExpression: minor fix to captureIndexForName 2012-03-08 22:00:53 +01:00
xml Eliminate duplicate data row names from corelib autotests. 2012-02-14 06:19:16 +01:00
corelib.pro Import QMimeType / QMimeDatabase into QtCore. 2012-02-18 22:19:43 +01:00