aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/doc/src/syntax/signals.qdoc
diff options
context:
space:
mode:
Diffstat (limited to 'src/qml/doc/src/syntax/signals.qdoc')
-rw-r--r--src/qml/doc/src/syntax/signals.qdoc10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/qml/doc/src/syntax/signals.qdoc b/src/qml/doc/src/syntax/signals.qdoc
index 8d3df556a3..6cc68d30bf 100644
--- a/src/qml/doc/src/syntax/signals.qdoc
+++ b/src/qml/doc/src/syntax/signals.qdoc
@@ -44,7 +44,7 @@ is emitted, the corresponding signal handler is invoked. Placing logic such as s
operations in the handler allows the component to respond to the event.
\keyword qml-signals-and-handlers
-\section1 Receiving signals with signal 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.
@@ -88,7 +88,7 @@ Rectangle {
\endqml
-\section2 Property change signal handlers
+\section2 Property Change Signal Handlers
A signal is automatically emitted when the value of a QML property changes. This type of signal is a \e {property change signal} and signal handlers for these signals are written in the form \e on<Property>Changed where \e <Property> is the name of the property, with the first letter capitalized.
@@ -113,7 +113,7 @@ Rectangle {
Even though the \l MouseArea documentation does not document a signal handler named \c onPressedChanged, the signal is implicitly provided by the fact that the \c pressed property exists.
-\section2 Using the Connections type
+\section2 Using the Connections Type
In some cases it may be desirable to access a signal outside of the object that emits it. For these purposes, the QtQuick module provides the \l Connections type for connecting to signals of arbitrary objects. A \l Connections object can receive any signal from its specified \l {Connection::target}{target}.
@@ -141,7 +141,7 @@ Rectangle {
\endqml
-\section2 Attached signal handlers
+\section2 Attached Signal Handlers
An \l {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.
@@ -167,7 +167,7 @@ Attached signal handlers allow objects to be notified of particular signals that
See \l {Attached properties and attached signal handlers} for more information on attached signal handlers.
-\section1 Adding signals to custom QML types
+\section1 Adding Signals to Custom QML Types
Signals can be added to custom QML types through the \c signal keyword.