aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlan Alpert <aalpert@rim.com>2013-02-14 02:36:31 -0800
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-02-19 13:18:16 +0100
commitc3f797695707d807ac19736cf7d12f1cc0f6bded (patch)
treea0d483e83f928131e57632115f7bf0dc4ec6e3d3
parent36ef4052e0018c396b42cdef950e80e2efce3778 (diff)
Clarify Component::createObject docs
Task-number: QTBUG-29650 Change-Id: Ie6f9027ff779f8a513a52b425d9a393c0ecd9c7d Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
-rw-r--r--src/qml/qml/qqmlcomponent.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qml/qml/qqmlcomponent.cpp b/src/qml/qml/qqmlcomponent.cpp
index b335d6f402..5c123a678b 100644
--- a/src/qml/qml/qqmlcomponent.cpp
+++ b/src/qml/qml/qqmlcomponent.cpp
@@ -1137,9 +1137,9 @@ static void QQmlComponent_setQmlParent(QObject *me, QObject *parent)
As of QtQuick 1.1, this method accepts an optional \a properties argument that specifies a
map of initial property values for the created object. These values are applied before object
- creation is finalized. (This is more efficient than setting property values after object creation,
+ creation is finalized. This is more efficient than setting property values after object creation,
particularly where large sets of property values are defined, and also allows property bindings
- to be set up before the object is created.)
+ to be set up (using \l{Qt::binding}{Qt.binding}) before the object is created.
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: