summaryrefslogtreecommitdiffstats
path: root/src/tools/moc/preprocessor.h
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@qt.io>2020-04-15 20:23:28 +0200
committerSimon Hausmann <simon.hausmann@qt.io>2020-04-30 19:39:25 +0200
commit3d7265db9075db7b22b241b659f23d392d62d804 (patch)
tree902bb831d91f39b89d4481dca9381a18abb5dac3 /src/tools/moc/preprocessor.h
parentb480acb3720c0d61c5c69a2b861af63b9d7c9f86 (diff)
Provide a way of exposing private QProperties with a fake API
The API reduces the amount of manual plumbing required to offer a conceptual property through the traditional setter/getter API as well as through QProperty<T> API. Since the latter would require inlining the type and thus making it impossible to add new properties without breaking binary compatibility, this patch introduces a fake API that behaves similar but does not contain the property by value. Change-Id: Ib9bccd867f0e4e36a520e5583ba348e728284253 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/tools/moc/preprocessor.h')
0 files changed, 0 insertions, 0 deletions