Clarify Component::createObject docs
authorAlan Alpert <aalpert@rim.com>
Thu, 14 Feb 2013 10:36:31 +0000 (02:36 -0800)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Tue, 19 Feb 2013 12:18:16 +0000 (13:18 +0100)
Task-number: QTBUG-29650
Change-Id: Ie6f9027ff779f8a513a52b425d9a393c0ecd9c7d
Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>

src/qml/qml/qqmlcomponent.cpp

index b335d6f..5c123a6 100644 (file)
@@ -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: