diff options
author | Frederik Gladhorn <frederik.gladhorn@digia.com> | 2012-11-03 23:52:47 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2012-11-10 01:53:30 +0100 |
commit | dd1d6b56271caf3f90e536b3ad9dab58c873f202 (patch) | |
tree | aa6cd1e35ad522cd863d25c6e006837d08282a5d | |
parent | 7ca2207ac056fd481751ae6a12de9b0e5da1eb23 (diff) |
Improve documentation.
Change-Id: I9bfb8bf8167e3b55d3539dc35e4278b5514119c8
Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
-rw-r--r-- | src/qml/qml/qqmlcomponent.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/qml/qml/qqmlcomponent.cpp b/src/qml/qml/qqmlcomponent.cpp index 679e54c122..bc9669c987 100644 --- a/src/qml/qml/qqmlcomponent.cpp +++ b/src/qml/qml/qqmlcomponent.cpp @@ -783,7 +783,7 @@ QObject *QQmlComponent::create(QQmlContext *context) } /*! - This method provides more advanced control over component instance creation. + This method provides advanced control over component instance creation. In general, programmers should use QQmlComponent::create() to create a component. @@ -932,11 +932,12 @@ void QQmlComponentPrivate::complete(QQmlEnginePrivate *enginePriv, ConstructionS } /*! - This method provides more advanced control over component instance creation. + This method provides advanced control over component instance creation. In general, programmers should use QQmlComponent::create() to create a component. - Complete a component creation begin with QQmlComponent::beginCreate(). + This function completes the component creation begun with QQmlComponent::beginCreate() + and must be called afterwards. \sa beginCreate() */ |