summaryrefslogtreecommitdiff
path: root/doc/src/qtquick/qtquick-modules-with-plugins.qdoc
diff options
context:
space:
mode:
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