diff options
author | Fabian Kosmale <fabian.kosmale@qt.io> | 2021-04-23 14:51:40 +0200 |
---|---|---|
committer | Fabian Kosmale <fabian.kosmale@qt.io> | 2021-05-03 20:32:42 +0200 |
commit | ba561efa9d4e94032e7b546e92a3dc66c06bec52 (patch) | |
tree | c6e1e1f06a43d18b845d492ae6af5117fec25bbe /src/plugins/platforms/ios/qiosscreen.mm | |
parent | 98b4f4bc4d87aa2f2c30adbcb8fd42abcc88d6fb (diff) |
Add QUntypedBindable::metaType function
This enables checking the metaType of a QUntypedBindable in the public
interface.
In addition, work around an oversight that can only be fully addressed
in Qt 7: The metatype function pointer does not take a
QUntypedPropertyData * parameter. However, we need this functionality
for an efficient QBindable proxy implementation in declarative (which is
needed to implement interceptors there). To work-aronud this in Qt 6,
reuse the value getter and turn it into a metatype getter if the value
pointer is flagged.
Change-Id: Ia3cce08ea761fce57bce59e02212525b996f2fee
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'src/plugins/platforms/ios/qiosscreen.mm')
0 files changed, 0 insertions, 0 deletions