summaryrefslogtreecommitdiffstats
path: root/doc/src/declarative/example-slideswitch.qdoc
diff options
context:
space:
mode:
authorYann Bodson <yann.bodson@nokia.com>2009-11-25 05:00:05 (GMT)
committerYann Bodson <yann.bodson@nokia.com>2009-11-25 05:00:05 (GMT)
commit03de177e4f4d028ac75c2100060ab5d7389d3a2c (patch)
treeef175b939b89217e42d1d49ae442f365ee490426 /doc/src/declarative/example-slideswitch.qdoc
parent0e1883e4c4a6d5b3b14d5cf37862fee651da16d3 (diff)
downloadQt-03de177e4f4d028ac75c2100060ab5d7389d3a2c.zip
Qt-03de177e4f4d028ac75c2100060ab5d7389d3a2c.tar.gz
Qt-03de177e4f4d028ac75c2100060ab5d7389d3a2c.tar.bz2
slideswitch example fixes
Diffstat (limited to 'doc/src/declarative/example-slideswitch.qdoc')
-rw-r--r--doc/src/declarative/example-slideswitch.qdoc3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/src/declarative/example-slideswitch.qdoc b/doc/src/declarative/example-slideswitch.qdoc
index a8376eb..492a8ea 100644
--- a/doc/src/declarative/example-slideswitch.qdoc
+++ b/doc/src/declarative/example-slideswitch.qdoc
@@ -131,4 +131,7 @@ In order for the the knob to move smoothly we add a transition that will animate
For more information on transitions see \l{state-transitions}{QML Transitions}.
+\section1 Usage
+The switch can be used in a QML file, like this:
+\snippet examples/declarative/slideswitch/slideswitch.qml 0
*/