summaryrefslogtreecommitdiffstats
path: root/doc/src/declarative
diff options
context:
space:
mode:
authorJoona Petrell <joona.t.petrell@nokia.com>2010-09-01 01:57:27 (GMT)
committerJoona Petrell <joona.t.petrell@nokia.com>2010-09-01 02:02:19 (GMT)
commit79000fcf68787c16096ed2231ae849dcd5e83c02 (patch)
tree141ee80435f9c2bb89d36c5d6987664a86f844b4 /doc/src/declarative
parentce698d243f31d2b9adcdf2b6b40f5844c200b159 (diff)
downloadQt-79000fcf68787c16096ed2231ae849dcd5e83c02.zip
Qt-79000fcf68787c16096ed2231ae849dcd5e83c02.tar.gz
Qt-79000fcf68787c16096ed2231ae849dcd5e83c02.tar.bz2
Fix examples autotest
Task-number: Reviewed-by: Bea Lam
Diffstat (limited to 'doc/src/declarative')
-rw-r--r--doc/src/declarative/qml-intro.qdoc7
1 files changed, 6 insertions, 1 deletions
diff --git a/doc/src/declarative/qml-intro.qdoc b/doc/src/declarative/qml-intro.qdoc
index 63d6825..9130be0 100644
--- a/doc/src/declarative/qml-intro.qdoc
+++ b/doc/src/declarative/qml-intro.qdoc
@@ -58,7 +58,12 @@ would be a property.
The basic syntax of an \l{QML Elements}{element} is
-\snippet doc/src/snippets/declarative/qml-intro/basic-syntax.qml basic syntax
+\code
+SomeElement {
+ id: myObject
+ ... some other things here ...
+}
+\endcode
Here we are defining a new object. We specify its 'type' first as SomeElement.
Then within matching braces { ... } we specify the various parts of our