summaryrefslogtreecommitdiffstats
path: root/doc/src
diff options
context:
space:
mode:
authorBea Lam <bea.lam@nokia.com>2010-03-03 23:39:52 (GMT)
committerBea Lam <bea.lam@nokia.com>2010-03-03 23:39:52 (GMT)
commit651f4336392f86cb5820e3e3cccdc56ec3a0efe8 (patch)
tree4435c8348f40a4a2be184063cc5a5197f61a650e /doc/src
parentf53ac4f7617bfdefcb62e9b27ee6bf1a91a7ed13 (diff)
parent5ac068602871b78eb4b58634d58e6b8898acbf8d (diff)
downloadQt-651f4336392f86cb5820e3e3cccdc56ec3a0efe8.zip
Qt-651f4336392f86cb5820e3e3cccdc56ec3a0efe8.tar.gz
Qt-651f4336392f86cb5820e3e3cccdc56ec3a0efe8.tar.bz2
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/declarative/tutorial.qdoc6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/src/declarative/tutorial.qdoc b/doc/src/declarative/tutorial.qdoc
index 98efe12..310b776 100644
--- a/doc/src/declarative/tutorial.qdoc
+++ b/doc/src/declarative/tutorial.qdoc
@@ -173,10 +173,10 @@ In this case the rectangle will have the same size as its parent (see \l{anchor-
\snippet examples/declarative/tutorials/helloworld/Cell.qml 3
-In order to change the color of the text when clicking on a cell, we create a \l MouseRegion element with
+In order to change the color of the text when clicking on a cell, we create a \l MouseArea element with
the same size as its parent.
-A \l MouseRegion defines a signal called \e clicked.
+A \l MouseArea defines a signal called \e clicked.
When this signal is triggered we want to emit our own \e clicked signal with the color as parameter.
\section2 The main QML file
@@ -214,7 +214,7 @@ Here is the QML code:
\snippet examples/declarative/tutorials/helloworld/tutorial3.qml 2
First, we create a new \e down state for our text element.
-This state will be activated when the \l MouseRegion is pressed, and deactivated when it is released.
+This state will be activated when the \l MouseArea is pressed, and deactivated when it is released.
The \e down state includes a set of property changes from our implicit \e {default state}
(the items as they were initially defined in the QML).