diff options
author | Venu <venugopal.shivashankar@digia.com> | 2013-12-19 13:25:07 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-12-23 12:31:41 +0100 |
commit | 6f3339e9c2be5b1509c76a5c80b7d24ef77a5879 (patch) | |
tree | 3ae1a7dc8b8097617520751408ce7d97895d55f5 | |
parent | ae59cb90ce61f2989431b4fd6739fb49bca950ed (diff) |
Doc: Fixed a few broken links and snippets
Couple of \snippet references in the ListModel docs
were pointing to files outside the exampledirs boundary.
Update those references to use the relative path.
Change-Id: Ibf9d0fda9e5280345b08cb66a4fe0db9142a42a6
Reviewed-by: Nico Vertriest <nico.vertriest@digia.com>
Reviewed-by: Topi Reiniƶ <topi.reinio@digia.com>
-rw-r--r-- | src/qml/types/qqmllistmodel.cpp | 4 | ||||
-rw-r--r-- | src/quick/doc/src/qmltypereference.qdoc | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/qml/types/qqmllistmodel.cpp b/src/qml/types/qqmllistmodel.cpp index d6d3de8af3..7e441023c9 100644 --- a/src/qml/types/qqmllistmodel.cpp +++ b/src/qml/types/qqmllistmodel.cpp @@ -1508,11 +1508,11 @@ QQmlListModelParser::ListInstruction *QQmlListModelParser::ListModelData::instru Here is an example that uses WorkerScript to periodically append the current time to a list model: - \snippet quick/threading/threadedlistmodel/timedisplay.qml 0 + \snippet ../quick/threading/threadedlistmodel/timedisplay.qml 0 The included file, \tt dataloader.js, looks like this: - \snippet quick/threading/threadedlistmodel/dataloader.js 0 + \snippet ../quick/threading/threadedlistmodel/dataloader.js 0 The timer in the main example sends messages to the worker script by calling \l WorkerScript::sendMessage(). When this message is received, diff --git a/src/quick/doc/src/qmltypereference.qdoc b/src/quick/doc/src/qmltypereference.qdoc index cf40fbe37c..0155ee4e2d 100644 --- a/src/quick/doc/src/qmltypereference.qdoc +++ b/src/quick/doc/src/qmltypereference.qdoc @@ -246,8 +246,8 @@ QML Lists and Models The \l{Qt QML Models QML Types}{Qt QML Models} submodule provides the types for structuring data with models and lists. \list -\li \l ListModel - Defines a list of data -\li \l ListElement - Defines a data item in a \l ListModel +\li \l{ListModel} - Defines a list of data +\li \l{ListElement} - Defines a data item in a \l{ListModel} \endlist These QML types are part of Qt Quick for backwards compatibility, but for |