summaryrefslogtreecommitdiffstats
path: root/src/corelib/kernel/qobject_p.h
diff options
context:
space:
mode:
authorDaniel Vrátil <daniel.vratil@kdab.com>2016-11-23 19:42:32 +0100
committerDaniel Vrátil <daniel.vratil@kdab.com>2017-02-23 16:58:47 +0000
commit30da659af5ff4ee33c22a3fc81801cdcbc57d535 (patch)
tree0f747c946f1a376e1c2d01985e611452acd13814 /src/corelib/kernel/qobject_p.h
parent0b822c220997046e09fd9cae4414f35f88a91b21 (diff)
Introduce QMetaType::PointerToGadget flag for pointers to gadgets
A Q_GADGET class can be used both as a value class and a pointer, but right now QMetaType::IsGadget is only set for value types. This change introduces PointerToGadget metatype flag which is set for pointers. This allow for better handling of gadgets in code as well as disambiguating between value types and pointers to value types. Change-Id: Id3bd9e18a8eec7ca1cc6b1c25ed03cdc8c0a75a1 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
Diffstat (limited to 'src/corelib/kernel/qobject_p.h')
0 files changed, 0 insertions, 0 deletions