diff options
author | Xingtao Zhang <zhxt@ovi.com> | 2013-01-08 23:34:22 +0000 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-01-09 18:42:42 +0100 |
commit | 888a02ec4a338f3edefe6e4287173a600cd2dd37 (patch) | |
tree | b9c73f18316337622dc871f91dde3e17ea2c01c4 /examples/qml | |
parent | 1c522ec7c7f5e9755075f62866098b9a54b35739 (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/qml')
-rw-r--r-- | examples/qml/i18n/doc/src/i18n.qdoc | 7 | ||||
-rw-r--r-- | examples/qml/plugins/doc/src/qmlpluginex.qdoc | 2 | ||||
-rw-r--r-- | examples/qml/xmlhttprequest/doc/images/qml-xmlhttprequest-example.png | bin | 0 -> 20934 bytes |
3 files changed, 8 insertions, 1 deletions
diff --git a/examples/qml/i18n/doc/src/i18n.qdoc b/examples/qml/i18n/doc/src/i18n.qdoc index 888a98105b..b04c38e645 100644 --- a/examples/qml/i18n/doc/src/i18n.qdoc +++ b/examples/qml/i18n/doc/src/i18n.qdoc @@ -35,14 +35,21 @@ The files are created/updated by running: +\code lupdate i18n.qml -ts i18n/base.ts +\endcode Translations for new languages are created by copying i18n/base.ts to i18n/qml_<lang>.ts The .ts files can then be edited with Linguist: +\code linguist i18n/qml_fr.ts +\endcode The run-time translation files are then generated by running: +\code lrelease i18n/*.ts +\endcode + */ diff --git a/examples/qml/plugins/doc/src/qmlpluginex.qdoc b/examples/qml/plugins/doc/src/qmlpluginex.qdoc index 464f42a34c..320bc1d823 100644 --- a/examples/qml/plugins/doc/src/qmlpluginex.qdoc +++ b/examples/qml/plugins/doc/src/qmlpluginex.qdoc @@ -27,7 +27,7 @@ /*! \title QML Plugin Example - \example plugins + \example qml/plugins \brief This example creates a C++ plugin extension by subclassing QQmlExtensionPlugin. diff --git a/examples/qml/xmlhttprequest/doc/images/qml-xmlhttprequest-example.png b/examples/qml/xmlhttprequest/doc/images/qml-xmlhttprequest-example.png Binary files differnew file mode 100644 index 0000000000..f585613427 --- /dev/null +++ b/examples/qml/xmlhttprequest/doc/images/qml-xmlhttprequest-example.png |