Doc: Use automatic linking to directly link to the type docs

...in Using QML Modules with Plugins.

Change-Id: Icce8e1e2b902e593972bd9f14d118f6a5005ecb8
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@theqtcompany.com>
This commit is contained in:
Leena Miettinen
2016-10-18 17:08:46 +02:00
parent c465a25edc
commit 4a3c200831

View File

@@ -43,8 +43,7 @@
information for code completion and the semantic checks to work correctly. 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 When you write a QML module or use QML from a C++ application you typically
register new types with the \l{QQmlEngine} class \c qmlRegisterType() register new types with the qmlRegisterType() function or expose some
function or expose some
class instances with \l{QQmlContext::setContextProperty()}. The \QC C++ class instances with \l{QQmlContext::setContextProperty()}. The \QC C++
code model now scans for these calls and code model now scans for these calls and
tells the QML code model about them. This means that properties are tells the QML code model about them. This means that properties are