diff options
author | Simon Hausmann <simon.hausmann@qt.io> | 2019-11-08 16:20:44 +0100 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@qt.io> | 2020-03-18 15:42:58 +0100 |
commit | d4f044533111fcfb34fe3a785eeb7af7fdbefbdd (patch) | |
tree | 1b2ef0c8695655e6ee4c1ae5f13a731738d1da96 /src/corelib/kernel/qmetaobject_p.h | |
parent | b5f6a85d2745ab6ac97f593664d255906923e737 (diff) |
Add support for exposing public QProperty members in the meta-object system
At the moment this makes the type as well as the setter/getter available
through the meta-call as well as the ability to register observers and
bindings. Only QProperty members that are annotated with
Q_PROPERTY(type name) are made public through the meta-object.
Change-Id: I16b98fd318122c722b85ce61e39975284e0c2404
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'src/corelib/kernel/qmetaobject_p.h')
-rw-r--r-- | src/corelib/kernel/qmetaobject_p.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/corelib/kernel/qmetaobject_p.h b/src/corelib/kernel/qmetaobject_p.h index 277109dac4..49c43e3d79 100644 --- a/src/corelib/kernel/qmetaobject_p.h +++ b/src/corelib/kernel/qmetaobject_p.h @@ -87,6 +87,7 @@ enum PropertyFlags { Notify = 0x00400000, Revisioned = 0x00800000, Required = 0x01000000, + IsQProperty = 0x02000000 }; enum MethodFlags { |