summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/declarative/codingconventions/lists.qml
diff options
context:
space:
mode:
authorEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>2010-04-13 11:05:11 (GMT)
committerEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>2010-04-13 11:05:11 (GMT)
commit6c231c82ac2d277d9593ae46c1309223b185f6fd (patch)
tree723975cb64aed8228908fdba8458c64fe480bbd6 /doc/src/snippets/declarative/codingconventions/lists.qml
parentf854d363afb6878f3e5260314545d93b9fad41a9 (diff)
parent42fc3d36260c409918431c1fc058ee2d10f6c147 (diff)
downloadQt-6c231c82ac2d277d9593ae46c1309223b185f6fd.zip
Qt-6c231c82ac2d277d9593ae46c1309223b185f6fd.tar.gz
Qt-6c231c82ac2d277d9593ae46c1309223b185f6fd.tar.bz2
Merge branch '4.7' of git@scm.dev.nokia.troll.no:qt/oslo-staging-2 into 4.7
Diffstat (limited to 'doc/src/snippets/declarative/codingconventions/lists.qml')
-rw-r--r--doc/src/snippets/declarative/codingconventions/lists.qml22
1 files changed, 22 insertions, 0 deletions
diff --git a/doc/src/snippets/declarative/codingconventions/lists.qml b/doc/src/snippets/declarative/codingconventions/lists.qml
new file mode 100644
index 0000000..63e8100
--- /dev/null
+++ b/doc/src/snippets/declarative/codingconventions/lists.qml
@@ -0,0 +1,22 @@
+import Qt 4.7
+
+Item {
+ Item {
+//! [0]
+states: [
+ State {
+ name: "open"
+ PropertyChanges { target: container; width: 200 }
+ }
+]
+//! [0]
+ }
+ Item {
+//! [1]
+states: State {
+ name: "open"
+ PropertyChanges { target: container; width: 200 }
+}
+//! [1]
+ }
+}