diff options
Diffstat (limited to 'src/qml/doc/src/javascript')
-rw-r--r-- | src/qml/doc/src/javascript/expressions.qdoc | 2 | ||||
-rw-r--r-- | src/qml/doc/src/javascript/hostenvironment.qdoc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/qml/doc/src/javascript/expressions.qdoc b/src/qml/doc/src/javascript/expressions.qdoc index a90d794864..a8e6fc8ac0 100644 --- a/src/qml/doc/src/javascript/expressions.qdoc +++ b/src/qml/doc/src/javascript/expressions.qdoc @@ -142,7 +142,7 @@ QML object types can emit signals in reaction to certain events occurring. Those signals can be handled by signal handler functions, which can be defined by clients to implement custom program logic. -Suppose that a button represented by a Rectangle element has a MouseArea and a +Suppose that a button represented by a Rectangle type has a MouseArea and a Text label. The MouseArea will emit its "pressed" signal when the user presses the defined interactive area, which will automatically trigger the \l{MouseArea::}{onPressed} handler, which can be defined by clients. The QML diff --git a/src/qml/doc/src/javascript/hostenvironment.qdoc b/src/qml/doc/src/javascript/hostenvironment.qdoc index 7a517c77d5..a63ef617c0 100644 --- a/src/qml/doc/src/javascript/hostenvironment.qdoc +++ b/src/qml/doc/src/javascript/hostenvironment.qdoc @@ -144,7 +144,7 @@ The \c this keyword is supported when binding properties from JavaScript. In all other situations, the value of \c this is undefined in QML. -To refer to any element, provide an \c id. For example: +To refer to a specific object, provide an \c id. For example: \qml Item { |