diff options
author | David Boddie <david.boddie@nokia.com> | 2011-03-25 17:40:58 (GMT) |
---|---|---|
committer | David Boddie <david.boddie@nokia.com> | 2011-03-25 17:40:58 (GMT) |
commit | d38664f2ca736560a129a8ff09b293ecb83efac2 (patch) | |
tree | 6828a4333dd5cad5f70a05fcef2f3303d9aaeca1 /src | |
parent | 65cde9524c54a8bcf105fe919fa2ea2e569692ae (diff) | |
download | Qt-d38664f2ca736560a129a8ff09b293ecb83efac2.zip Qt-d38664f2ca736560a129a8ff09b293ecb83efac2.tar.gz Qt-d38664f2ca736560a129a8ff09b293ecb83efac2.tar.bz2 |
Doc: Fixed markup.
Diffstat (limited to 'src')
-rw-r--r-- | src/declarative/qml/qdeclarativecomponent.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/declarative/qml/qdeclarativecomponent.cpp b/src/declarative/qml/qdeclarativecomponent.cpp index c284307..276f790 100644 --- a/src/declarative/qml/qdeclarativecomponent.cpp +++ b/src/declarative/qml/qdeclarativecomponent.cpp @@ -643,11 +643,11 @@ QDeclarativeComponent::QDeclarativeComponent(QDeclarativeComponentPrivate &dd, Q The \a properties argument is specified as a map of property-value items. For example, the code below creates an object with initial \c x and \c y values of 100 and 200, respectively: - \qml + \js var component = Qt.createComponent("Button.qml"); if (component.status == Component.Ready) component.createObject(parent, {"x": 100, "y": 100}); - \endqml + \endjs Dynamically created instances can be deleted with the \c destroy() method. See \l {Dynamic Object Management in QML} for more information. |