diff options
author | Olivier Goffart <ogoffart@woboq.com> | 2014-08-10 19:23:35 +0200 |
---|---|---|
committer | Shawn Rutledge <shawn.rutledge@digia.com> | 2015-03-03 13:31:44 +0000 |
commit | bfb92c03e0d8e7a3a65b64d1f2f5b89f442e2b8a (patch) | |
tree | ab2ef605168a07724687431bdcaba5d3530b3ff3 /doc | |
parent | b13432747578cb3a1121b8cf9e870396b0bb53c2 (diff) |
Document Q_ENUM and Q_FLAG
[ChangeLog][QtCore] Q_ENUMS and Q_FLAGS have been deprecated, and replaced
by Q_ENUM and Q_FLAG macros. These two new macros automatically register the
enum with the Qt metatype system, allowing automatic conversion to or from
string in QVariant, or to show the strings by QDebug operators. They also
enable the new QMetaEnum::fromType function.
Change-Id: I80cccd7ad3fc46b11aee2fe50681a8126debf972
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Reviewed-by: Shawn Rutledge <shawn.rutledge@digia.com>
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions