summaryrefslogtreecommitdiff
path: root/doc/src/qtquick/qtquick-modules-with-plugins.qdoc
diff options
context:
space:
mode:
authorLeena Miettinen <riitta-leena.miettinen@digia.com>2013-11-25 17:37:19 +0100
committerLeena Miettinen <riitta-leena.miettinen@digia.com>2013-11-26 11:51:46 +0100
commitc0704c2091d603e67ba42bff8c4a6c9717deb8a4 (patch)
treef0f30f67d419a02607e967b73328352f139ae8c4 /doc/src/qtquick/qtquick-modules-with-plugins.qdoc
parente7778d147065cdae79d79d87e1c9b9ab0839954d (diff)
downloadqt-creator-c0704c2091d603e67ba42bff8c4a6c9717deb8a4.tar.gz
Doc: use cross-linking to Qt module documentation
Replace links to "\l{http://qt-project.org/doc/" with links to topic titles. Remove links where QDoc creates them automatically based on the .index files. Add the .index files for the modules that are discussed in the Qt Creator Manual. Note: the links will only be generated if the Qt used to build the docs contains the linked modules and documentation (.index file) has been generated for them. Change-Id: Ibe624bf3773e7c854c03ebba4db406be0b4a7b90 Reviewed-by: Jerome Pasion <jerome.pasion@digia.com> Reviewed-by: Eike Ziller <eike.ziller@digia.com>
Diffstat (limited to 'doc/src/qtquick/qtquick-modules-with-plugins.qdoc')
-rw-r--r--doc/src/qtquick/qtquick-modules-with-plugins.qdoc11
1 files changed, 4 insertions, 7 deletions
diff --git a/doc/src/qtquick/qtquick-modules-with-plugins.qdoc b/doc/src/qtquick/qtquick-modules-with-plugins.qdoc
index 7536b1cba2..8849b865a1 100644
--- a/doc/src/qtquick/qtquick-modules-with-plugins.qdoc
+++ b/doc/src/qtquick/qtquick-modules-with-plugins.qdoc
@@ -36,11 +36,9 @@
information for code completion and the semantic checks to work correctly.
When you write a QML module or use QML from a C++ application you typically
- register new types with
- \l{http://qt-project.org/doc/qt-5.0/qtqml/qqmlengine.html#qmlRegisterType}
- {qmlRegisterType} or expose some class instances with
- \l{http://qt-project.org/doc/qt-5.0/qtqml/qqmlcontext.html#setContextProperty}
- {setContextProperty}. The \QC C++ code model now scans for these calls and
+ register new types with \l{QQmlEngine#qmlRegisterType-3}{qmlRegisterType()} or expose some
+ class instances with \l{QQmlContext::setContextProperty()}. The \QC C++
+ code model now scans for these calls and
tells the QML code model about them. This means that properties are
displayed during code completion and the JavaScript code checker does not
complain about unknown types. However, this works only when the source code
@@ -55,8 +53,7 @@
For Qt 4.8 and later, one or more \c qmltypes files can be listed in the
\c qmldir file under the \c typeinfo header. These files will be read in
addition to \c{plugins.qmltypes}. For more information, see
- \l{http://qt-project.org/doc/qt-5.0/qtqml/qtqml-modules-qmldir.html#writing-a-qmltypes-file}
- {Writing a qmltypes File}.
+ \l{Writing a qmltypes File}.
\section1 Generating qmltypes Files