diff options
author | Olivier Goffart <ogoffart@woboq.com> | 2016-07-26 20:01:57 +0200 |
---|---|---|
committer | Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com> | 2016-07-26 22:49:31 +0000 |
commit | c5a4b093d051680bf7f34bb5acff16eea9d4979f (patch) | |
tree | afc893b216ac8459a9b93bf5d4b0ccae4fd07cd2 /src/corelib/kernel/qmetaobject.h | |
parent | b27065014fb42c8f52b7d16d2436146421a51c33 (diff) |
Add QMetaEnum::isScoped to be able to destinguish C++11 enum class
Change-Id: I67b1dbd069fa57bd60e50690abb5d876edc0d1d2
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/kernel/qmetaobject.h')
-rw-r--r-- | src/corelib/kernel/qmetaobject.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/corelib/kernel/qmetaobject.h b/src/corelib/kernel/qmetaobject.h index c2451630b1..40b2aa6402 100644 --- a/src/corelib/kernel/qmetaobject.h +++ b/src/corelib/kernel/qmetaobject.h @@ -210,6 +210,7 @@ public: const char *name() const; bool isFlag() const; + bool isScoped() const; int keyCount() const; const char *key(int index) const; |