diff options
author | Nico Vertriest <nico.vertriest@digia.com> | 2015-09-28 13:55:50 +0200 |
---|---|---|
committer | Nico Vertriest <nico.vertriest@digia.com> | 2015-09-28 13:19:50 +0000 |
commit | 70c4a9ea2a8c3e5f6ac1ca714d096586adda0613 (patch) | |
tree | 753fa45d9656b110267f722c981582f4b9c52138 /src/qml/doc/src/qmllanguageref/syntax/signals.qdoc | |
parent | 6fa50ffc31fcca051c73eeaa94116f2667b9ae6b (diff) |
Doc: replaced \keyword with \target when not at top of page
Change-Id: I20bc53c71d6c3217ec51a3fd5ad8e5a38bb2043b
Task-number: QTBUG-48482
Reviewed-by: Martin Smith <martin.smith@digia.com>
Reviewed-by: Topi Reiniƶ <topi.reinio@digia.com>
Diffstat (limited to 'src/qml/doc/src/qmllanguageref/syntax/signals.qdoc')
-rw-r--r-- | src/qml/doc/src/qmllanguageref/syntax/signals.qdoc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qml/doc/src/qmllanguageref/syntax/signals.qdoc b/src/qml/doc/src/qmllanguageref/syntax/signals.qdoc index e7d75a89bc..602b202ed4 100644 --- a/src/qml/doc/src/qmllanguageref/syntax/signals.qdoc +++ b/src/qml/doc/src/qmllanguageref/syntax/signals.qdoc @@ -42,7 +42,7 @@ and the signal is responded to through a \e {signal handler}. When a signal is emitted, the corresponding signal handler is invoked. Placing logic such as scripts or other operations in the handler allows the component to respond to the event. -\keyword qml-signals-and-handlers +\target qml-signals-and-handlers \section1 Receiving Signals with Signal Handlers To receive a notification when a particular signal is emitted for a particular object, the object definition should declare a signal handler named \e on<Signal> where \e <Signal> is the name of the signal, with the first letter capitalized. The signal handler should contain the JavaScript code to be executed when the signal handler is invoked. @@ -208,7 +208,7 @@ SquareButton { See \l {Signal Attributes} for more details on writing signals for custom QML types. -\keyword qml-connect-signals-to-method +\target qml-connect-signals-to-method \section1 Connecting Signals to Methods and Signals Signal objects have a \c connect() method to a connect a signal either to a |