diff options
author | Alan Alpert <alan.alpert@nokia.com> | 2010-05-24 10:02:57 (GMT) |
---|---|---|
committer | Alan Alpert <alan.alpert@nokia.com> | 2010-05-24 10:46:57 (GMT) |
commit | 1079096a57112d9615812771adba18d2e9297320 (patch) | |
tree | 9c1fbdf2475e831fc9cce597586f37836589f60b /doc/src/declarative/dynamicobjects.qdoc | |
parent | 4c975ee19b9671fbf76b546fc8ca2eff5bc69303 (diff) | |
download | Qt-1079096a57112d9615812771adba18d2e9297320.zip Qt-1079096a57112d9615812771adba18d2e9297320.tar.gz Qt-1079096a57112d9615812771adba18d2e9297320.tar.bz2 |
Added autotest for Component.createObject() without Qt.createComponent()
Also augmented the docs for both functions a little.
Task-number: QTBUG-10926
Diffstat (limited to 'doc/src/declarative/dynamicobjects.qdoc')
-rw-r--r-- | doc/src/declarative/dynamicobjects.qdoc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/src/declarative/dynamicobjects.qdoc b/doc/src/declarative/dynamicobjects.qdoc index 2688ee5..633489b 100644 --- a/doc/src/declarative/dynamicobjects.qdoc +++ b/doc/src/declarative/dynamicobjects.qdoc @@ -75,12 +75,12 @@ the parent later you can safely pass null to this function. Here is an example. Here is a \c Sprite.qml, which defines a simple QML component: -\quotefile doc/src/snippets/declarative/Sprite.qml +\snippet doc/src/snippets/declarative/Sprite.qml 0 Our main application file, \c main.qml, imports a \c componentCreation.js JavaScript file that will create \c Sprite objects: -\quotefile doc/src/snippets/declarative/createComponent.qml +\snippet doc/src/snippets/declarative/createComponent.qml 0 Here is \c componentCreation.js. Remember that QML files that might be loaded over the network cannot be expected to be ready immediately: |