diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2019-01-02 10:27:10 +0100 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2019-01-04 14:15:16 +0000 |
commit | 34dff74b75b818072882594e518faed9498b1f4d (patch) | |
tree | 23a3b9628e68445aa79b142e5f5fc8ccc9e6325c /tools | |
parent | 21ffde85a1b4592d24785a3ba82817de05486060 (diff) |
Property Cache: Use related meta objects to check for "enums"
If a method of a QObject-derived class takes a "foreign" enum as a
parameter, the enum's meta object is added to the "relatedMetaObjects"
property. Therefore, we can actually determine if something is a named
enumerator, even if we initially don't have its metaobject.
This way we don't need to detect these types by their type flags anymore
and therefore we can remove the band aid added in commit
fd9d88e3a9f24eb84d029fb9324b4f03ae58ffeb.
Change-Id: Id602d2b6f688a12b5addef855f6a16920b4e6549
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions