summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/declarative/qml-intro/basic-syntax.qml
diff options
context:
space:
mode:
authorDavid Boddie <dboddie@trolltech.com>2010-08-17 13:31:48 (GMT)
committerDavid Boddie <dboddie@trolltech.com>2010-08-17 13:31:48 (GMT)
commit86c3fed122b8a6e47904d958f8c50fa19e668434 (patch)
tree17d83fa3578a071a5fec723ad1455f421b2638d2 /doc/src/snippets/declarative/qml-intro/basic-syntax.qml
parent12ebf6c45428e303e0f238d59f144f3b4816ec3b (diff)
downloadQt-86c3fed122b8a6e47904d958f8c50fa19e668434.zip
Qt-86c3fed122b8a6e47904d958f8c50fa19e668434.tar.gz
Qt-86c3fed122b8a6e47904d958f8c50fa19e668434.tar.bz2
Doc: Started work to tidy up existing QML docs.
Reviewed-by: Trust Me
Diffstat (limited to 'doc/src/snippets/declarative/qml-intro/basic-syntax.qml')
-rw-r--r--doc/src/snippets/declarative/qml-intro/basic-syntax.qml8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/src/snippets/declarative/qml-intro/basic-syntax.qml b/doc/src/snippets/declarative/qml-intro/basic-syntax.qml
new file mode 100644
index 0000000..b241500
--- /dev/null
+++ b/doc/src/snippets/declarative/qml-intro/basic-syntax.qml
@@ -0,0 +1,8 @@
+// Note: this file is not intended to be run.
+
+//! [basic syntax]
+SomeElement {
+ id: myObject
+ ... some other things here ...
+}
+//! [basic syntax]