aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quick/ui-components
diff options
context:
space:
mode:
authorXingtao Zhang <zhxt@ovi.com>2013-01-08 23:34:22 +0000
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-01-09 18:42:42 +0100
commit888a02ec4a338f3edefe6e4287173a600cd2dd37 (patch)
treeb9c73f18316337622dc871f91dde3e17ea2c01c4 /examples/quick/ui-components
parent1c522ec7c7f5e9755075f62866098b9a54b35739 (diff)
Doc: Updated docs for examples and etc
- Corrected several \snippet paths and \example paths. - Added missing example images. - Marked several commands as code. - Updated the exampledirs variable for qtqml. Done-with: Venugopal Shivashankar <venugopal.shivashankar@digia.com> Task-number: QTBUG-28898 Change-Id: I24aac17821f54de4bd5129c45b5bf96dc0f114b2 Reviewed-by: Liang Qi <liang.qi@digia.com>
Diffstat (limited to 'examples/quick/ui-components')
-rw-r--r--examples/quick/ui-components/slideswitch/doc/src/example-slideswitch.qdoc4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/quick/ui-components/slideswitch/doc/src/example-slideswitch.qdoc b/examples/quick/ui-components/slideswitch/doc/src/example-slideswitch.qdoc
index 4e302e7256..d05175e482 100644
--- a/examples/quick/ui-components/slideswitch/doc/src/example-slideswitch.qdoc
+++ b/examples/quick/ui-components/slideswitch/doc/src/example-slideswitch.qdoc
@@ -34,7 +34,7 @@
This example shows how to create a reusable switch component in QML.
-The code for this example can be found in the \c examples/quick/tutorials/ui-components/slideswitch directory.
+The code for this example can be found in the \c examples/quick/ui-components/slideswitch directory.
The elements that compose the switch are:
@@ -105,7 +105,7 @@ For more information on states see \l{Qt Quick States}.
We add two JavaScript functions to our switch:
-\snippet quick/tutorials/ui-components/slideswitch/content/Switch.qml 2
+\snippet quick/ui-components/slideswitch/content/Switch.qml 2
This first function is called when the background image or the knob are clicked. We simply want the switch to toggle between the two
states (\e on and \e off).