diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2017-03-16 10:29:22 +0100 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2017-03-16 09:51:44 +0000 |
commit | 34e9418cd669a706dd407f0032c5de564212369e (patch) | |
tree | 627c54316b6c3986edafbd9ef1546330b6ab1696 | |
parent | 8ce3ea59e86f349d2505c97de28f817bccc11480 (diff) |
Doc: Showcase the "StateMachine" QML type
You don't need to use QtObject to store a state machine in QML as we
conveniently register a type for you.
Change-Id: I21c774e6d11ad0576f8ec76f3303368fe355b4b5
Reviewed-by: Andy Shaw <andy.shaw@qt.io>
-rw-r--r-- | src/scxml/doc/qtscxml-instantiating-state-machines.qdoc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scxml/doc/qtscxml-instantiating-state-machines.qdoc b/src/scxml/doc/qtscxml-instantiating-state-machines.qdoc index c8e08a6..0737dff 100644 --- a/src/scxml/doc/qtscxml-instantiating-state-machines.qdoc +++ b/src/scxml/doc/qtscxml-instantiating-state-machines.qdoc @@ -46,7 +46,7 @@ import QtScxml 5.8 Item { - property QtObject stateMachine: scxmlLoader.stateMachine + property StateMachine stateMachine: scxmlLoader.stateMachine StateMachineLoader { id: scxmlLoader |