diff options
author | Chris Adams <christopher.adams@nokia.com> | 2012-07-26 15:45:45 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-07-30 09:15:37 +0200 |
commit | e7b90ea3107996fb4a1b410631e0650d2d704912 (patch) | |
tree | 9a103f8aca8f1ed392aa197fb93be4450df071bd /src/qml/doc/src/javascript/dynamicobjectcreation.qdoc | |
parent | 1b3d4a94fdd578786529f51b4d25b560696fb610 (diff) |
Improve QML basic types documentation
Basic types are provided either by the language (int, string, bool,
real, double, date, url, var, variant) or by modules (value types).
In 5.1 we would like modules to be able to provide more basic types,
and thus a cleaner separation of the documentation makes sense.
This patch also improves linking of the term QtQml so that a clear
distinction is made between the QtQml QML module and the QtQml C++
Qt Module (the QtQml QML module links now point to the QtQml type
reference page).
Change-Id: Ibe3ad33e4616c5f29ea38dadc27e13938aedb9d7
Reviewed-by: Bea Lam <bea.lam@nokia.com>
Diffstat (limited to 'src/qml/doc/src/javascript/dynamicobjectcreation.qdoc')
-rw-r--r-- | src/qml/doc/src/javascript/dynamicobjectcreation.qdoc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/qml/doc/src/javascript/dynamicobjectcreation.qdoc b/src/qml/doc/src/javascript/dynamicobjectcreation.qdoc index 78ce09d0ad..95deba52c6 100644 --- a/src/qml/doc/src/javascript/dynamicobjectcreation.qdoc +++ b/src/qml/doc/src/javascript/dynamicobjectcreation.qdoc @@ -64,7 +64,8 @@ Once you have a \l Component, you can call its \l {Component::createObject()} can take one or two arguments: \list \li The first is the parent for the new object. The parent can be a graphical - object (QtQuick item) or non-graphical object (QtQml QtObject or C++ + object (QtQuick item) or non-graphical object + (\l{qtqml-typereference-topic.html}{QtQml} \l QtObject or C++ QObject). Only graphical objects with graphical parent objects will be rendered to the QtQuick visual canvas. If you wish to set the parent later you can safely pass \c null to this function. |