aboutsummaryrefslogtreecommitdiffstats
path: root/doc/src
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2012-05-08 11:41:28 +1000
committerQt by Nokia <qt-info@nokia.com>2012-05-09 00:56:16 +0200
commit3b04bbde6356797368114fce1b45b85271e9fed8 (patch)
tree05147265a236c1e6966c7385a97cdbc5e09ed68b /doc/src
parente7b5ab4a57c8a0177384d31b836219248f0309d5 (diff)
Add documentation/links for incubateObject
Change-Id: I0ba05f513c6e11451b49848eb69e4b579e75f9a4 Reviewed-by: Alan Alpert <alan.alpert@nokia.com>
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/qml/dynamicobjects.qdoc6
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/src/qml/dynamicobjects.qdoc b/doc/src/qml/dynamicobjects.qdoc
index 2886d5b28a..55f131e6bd 100644
--- a/doc/src/qml/dynamicobjects.qdoc
+++ b/doc/src/qml/dynamicobjects.qdoc
@@ -118,6 +118,9 @@ use the signal \c connect() method. See
\l{QML Signal and Handler Event System#Connecting Signals to Methods and Signals}
{Connecting Signals to Methods and Signals} for more information.
+It is also possible to instantiate components without blocking via the
+\l {Component::incubateObject()}{incubateObject()} function.
+
\section2 Creating an Object from a String of QML
@@ -149,7 +152,8 @@ The actual creation context depends on how an item is created:
\li If \l{QML:Qt::createQmlObject()}{Qt.createQmlObject()}
if called, the creation context is the context of the parent item passed to this method
\li If a \c {Component{}} item is defined and \l {Component::createObject()}{createObject()}
- is called on that item, the creation context is the context in which the \c Component is defined
+ or \l {Component::incubateObject()}{incubateObject()} is called on that item,
+ the creation context is the context in which the \c Component is defined
\endlist
Also, note that while dynamically created objects may be used the same as other objects, they