summaryrefslogtreecommitdiffstats
path: root/CHROMIUM_VERSION
diff options
context:
space:
mode:
authorShawn Rutledge <shawn.rutledge@qt.io>2022-02-18 09:14:30 +0100
committerShawn Rutledge <shawn.rutledge@qt.io>2022-04-06 06:41:07 +0200
commitd3942c4af590d3830e118bacd64310a899a4c74a (patch)
tree5ff3fada71d9d8c9d151a6b3ba3d864f83d5c5f7 /CHROMIUM_VERSION
parent3aaa33d1bf82394c4744ad777f7e3763984411c9 (diff)
Use QML_EXTENDED to "inherit" QPdfDocument props, enums and signals
In QML we want to treat the status values like Error and Ready as if the enum were declared in QQuickPdfDocument, even though it's really from the non-QML type QPdfDocument. This is needed because QQuickPdfDocument doesn't inherit QPdfDocument (9968e2578f96081d2a242340620fcb2b96d9a1d3 could've done direct inheritance, but we sometimes value separation of QML API from C++ API). So we now de-duplicate other properties and signals too. It's as if from QML's perspective, PdfDocument inherits everything from QPdfDocument (including the properties pageCount, password and status), although in C++ it's not like that. Make all properties FINAL because we don't expect anybody to subclass QQuickPdfDocument. Fixes: QTBUG-100839 Change-Id: Idbb0d620443020d7168cba8f090d1f344a9b3296 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'CHROMIUM_VERSION')
0 files changed, 0 insertions, 0 deletions