summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/src/qmlviewer.qdoc11
1 files changed, 6 insertions, 5 deletions
diff --git a/doc/src/qmlviewer.qdoc b/doc/src/qmlviewer.qdoc
index e8fdec4..e9f8029 100644
--- a/doc/src/qmlviewer.qdoc
+++ b/doc/src/qmlviewer.qdoc
@@ -68,11 +68,12 @@
that is a qreal from 0 to 86400 representing the number of seconds since
midnight, dummy data for this could be provided by \c dummydata/clock.qml:
\code
- <Object>
- <properties>
- <Property name="time" value="12345"/>
- </properties>
- </Object>
+ Object {
+ properties: Property {
+ name: "time"
+ value: 12345
+ }
+ }
\endcode
Any QML can be used in the dummy data files. You could even animate the
fictional data!