aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/doc/snippets/qml/tableview/cpp-tablemodel.h
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2023-10-11 13:33:37 +0200
committerUlf Hermann <ulf.hermann@qt.io>2023-10-16 18:28:47 +0200
commit377501f35bf5014da405a3fa5c36d420331d05f9 (patch)
tree51f1be68065e60bc1d06f6e2062459930d2bcbed /src/quick/doc/snippets/qml/tableview/cpp-tablemodel.h
parentf74fa49f85f2e53cf4e1c1be932edf4615b08ec7 (diff)
Amend code snippets for QML_ELEMENT to show how to expose enums
You can expose enums from either object types or namespaces. The note about namespaces had no snippet at all and the one about object types didn't show what was actually exposed to QML. Also fix the code snippet for qmlRegisterUncreatableMetaObject(). Pick-to: 6.6 6.5 Fixes: QTBUG-113188 Change-Id: I94f8d8f21cb6690689de0cb98f4426daff6e72a2 Reviewed-by: Sami Shalayel <sami.shalayel@qt.io> Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/quick/doc/snippets/qml/tableview/cpp-tablemodel.h')
0 files changed, 0 insertions, 0 deletions