diff options
author | Alejandro Exojo <suy@badopi.org> | 2014-12-08 17:58:50 +0100 |
---|---|---|
committer | Topi Reiniƶ <topi.reinio@digia.com> | 2015-01-20 09:30:22 +0100 |
commit | c391991b59a5ae289d09540a6666a2b46c204677 (patch) | |
tree | 3a8160e72da11eebffe433a5d4826c31c14a9209 | |
parent | 0a6323c2de23bd7a23e44ff3a534b06f7be994c6 (diff) |
Fix and improve links to Component::completed
Change-Id: I39771b861c529550c59f142c054b108f7a8bc7ff
Reviewed-by: Topi Reiniƶ <topi.reinio@digia.com>
-rw-r--r-- | src/qml/doc/src/qmllanguageref/syntax/objectattributes.qdoc | 14 | ||||
-rw-r--r-- | src/qml/doc/src/qmllanguageref/syntax/signals.qdoc | 4 |
2 files changed, 10 insertions, 8 deletions
diff --git a/src/qml/doc/src/qmllanguageref/syntax/objectattributes.qdoc b/src/qml/doc/src/qmllanguageref/syntax/objectattributes.qdoc index dd42e251c2..cd37e8a6a2 100644 --- a/src/qml/doc/src/qmllanguageref/syntax/objectattributes.qdoc +++ b/src/qml/doc/src/qmllanguageref/syntax/objectattributes.qdoc @@ -893,11 +893,11 @@ property in question is \c isCurrentItem, hence the attached property is referred to as \c ListView.isCurrentItem. An attached signal handler is referred to in the same way. For example, the -\c Component.isCompleted attached signal handler is commonly used to execute -some JavaScript code when a component's creation process has been completed. -In the example below, once the \l ListModel has been fully created, its -\c Component.onCompleted signal handler will automatically be invoked to -populate the model: +\l{Component::completed}{Component.onCompleted} attached signal handler is +commonly used to execute some JavaScript code when a component's creation +process has been completed. In the example below, once the \l ListModel has +been fully created, its \c Component.onCompleted signal handler will +automatically be invoked to populate the model: \qml import QtQuick 2.0 @@ -916,8 +916,8 @@ ListView { \endqml Since the name of the \e {attaching type} is \c Component and that type has a -\c completed signal, the attached signal handler is referred to as -\c Component.isCompleted. +\l{Component::completed}{completed} signal, the attached signal handler is +referred to as \c Component.onCompleted. \section3 A Note About Accessing Attached Properties and Signal Handlers diff --git a/src/qml/doc/src/qmllanguageref/syntax/signals.qdoc b/src/qml/doc/src/qmllanguageref/syntax/signals.qdoc index 3e830c1f3c..16d1ac32c4 100644 --- a/src/qml/doc/src/qmllanguageref/syntax/signals.qdoc +++ b/src/qml/doc/src/qmllanguageref/syntax/signals.qdoc @@ -144,7 +144,9 @@ Rectangle { An \l {Attached Properties and Attached Signal Handlers}{attached signal handler} is a signal handler that receives a signal from an \e {attaching type} rather than the object within which the handler is declared. -For example, \c \l {Component::isCompleted}{Component.isCompleted} is an attached signal handler. This handler is often used to execute some JavaScript code when its creation process has been completed, as in the example below: +For example, \l{Component::completed}{Component.onCompleted} is an attached +signal handler. This handler is often used to execute some JavaScript code when +its creation process has been completed, as in the example below: \qml import QtQuick 2.0 |