diff options
author | Friedemann Kleint <Friedemann.Kleint@digia.com> | 2014-03-24 17:34:04 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-03-24 20:34:21 +0100 |
commit | dab18e6f5f58be5717b8efb4759d0e0712eb036d (patch) | |
tree | 9d2105a2b3f3274ad40655cc05114ee827fe6787 /src/qml/doc/src/qmllanguageref | |
parent | 03a0773b1001728ca52d6cd5429e73445274ae81 (diff) |
Fix some documentation errors.
Change-Id: I5d4b3e26742202c4b634d0001fd3658c7263c50a
Reviewed-by: Alan Alpert <aalpert@blackberry.com>
Diffstat (limited to 'src/qml/doc/src/qmllanguageref')
-rw-r--r-- | src/qml/doc/src/qmllanguageref/modules/cppplugins.qdoc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/qml/doc/src/qmllanguageref/modules/cppplugins.qdoc b/src/qml/doc/src/qmllanguageref/modules/cppplugins.qdoc index b5fe941f9f..8bfe309144 100644 --- a/src/qml/doc/src/qmllanguageref/modules/cppplugins.qdoc +++ b/src/qml/doc/src/qmllanguageref/modules/cppplugins.qdoc @@ -69,7 +69,7 @@ as a new QML type. It provides the current time through \c hour and \c minute properties. - \snippet plugins/plugin.cpp 0 + \snippet qmlextensionplugins/plugin.cpp 0 \dots To make this type available, we create a plugin class named \c QExampleQmlPlugin @@ -79,7 +79,7 @@ definition to register the plugin with the Qt meta object system using a unique identifier for the plugin. - \snippet plugins/plugin.cpp plugin + \snippet qmlextensionplugins/plugin.cpp plugin The \c TimeModel class receives a \c{1.0} version of this plugin library, as a QML type called \c Time. The Q_ASSERT() macro can ensure the type namespace is @@ -112,15 +112,15 @@ that is built by the project (as shown above in the \c .pro file) so both of these need to be specified in the \c qmldir file: - \quotefile plugins/imports/TimeExample/qmldir + \quotefile qmlextensionplugins/imports/TimeExample/qmldir Once the project is built and installed, the new \c Time component is accessible by any QML component that imports the \c TimeExample module - \snippet plugins/plugins.qml 0 + \snippet qmlextensionplugins/plugins.qml 0 - The full source code is available in the \l {qml/plugins}{plugins example}. + The full source code is available in the \l {qml/qmlextensionplugins}{plugins example}. \section1 Reference |