summaryrefslogtreecommitdiffstats
path: root/doc/src/declarative/qtbinding.qdoc
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2010-02-22 05:10:37 (GMT)
committerMartin Jones <martin.jones@nokia.com>2010-02-22 05:10:37 (GMT)
commit1ad3918809ea6c4ac3c1b185581f1c8e76f02aca (patch)
tree79c712286b530383b90ef426a560bed93208b1d5 /doc/src/declarative/qtbinding.qdoc
parentbffef59bcefd73a5474f3c3052c951977b60eb27 (diff)
downloadQt-1ad3918809ea6c4ac3c1b185581f1c8e76f02aca.zip
Qt-1ad3918809ea6c4ac3c1b185581f1c8e76f02aca.tar.gz
Qt-1ad3918809ea6c4ac3c1b185581f1c8e76f02aca.tar.bz2
Rename MouseRegion -> MouseArea
Diffstat (limited to 'doc/src/declarative/qtbinding.qdoc')
-rw-r--r--doc/src/declarative/qtbinding.qdoc8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/src/declarative/qtbinding.qdoc b/doc/src/declarative/qtbinding.qdoc
index 8b9909e..0f1195c 100644
--- a/doc/src/declarative/qtbinding.qdoc
+++ b/doc/src/declarative/qtbinding.qdoc
@@ -212,7 +212,7 @@ Rectangle {
text: "Hello Colorful World!"
}
- MouseRegion {
+ MouseArea {
anchors.fill: parent
onClicked: {
palette.text = "blue";
@@ -255,7 +255,7 @@ the following types:
\o QVariant
\endlist
-This example toggles the "LED Blinker" when the MouseRegion is clicked:
+This example toggles the "LED Blinker" when the MouseArea is clicked:
\table
\row
@@ -291,7 +291,7 @@ int main(int argc, char **argv)
import Qt 4.6
Rectangle {
- MouseRegion {
+ MouseArea {
anchors.fill: parent
onClicked: {
if (ledBlinker.isRunning())
@@ -315,7 +315,7 @@ is to have a "running" property. This leads to much nicer QML code:
import Qt 4.6
Rectangle {
- MouseRegion {
+ MouseArea {
anchors.fill: parent
onClicked: ledBlinker.running = !ledBlinker.running
}