summaryrefslogtreecommitdiffstats
path: root/examples/declarative
diff options
context:
space:
mode:
authorYann Bodson <yann.bodson@nokia.com>2010-03-03 08:36:44 (GMT)
committerYann Bodson <yann.bodson@nokia.com>2010-03-03 08:36:44 (GMT)
commit5c1496d8839010653a9273586c10d99e0eeb66b2 (patch)
treea02acab1aaaf23313bdc5ffe4241b4307672151e /examples/declarative
parent639ae76c6d1a46db546beb00c1d9022867ef7e2e (diff)
downloadQt-5c1496d8839010653a9273586c10d99e0eeb66b2.zip
Qt-5c1496d8839010653a9273586c10d99e0eeb66b2.tar.gz
Qt-5c1496d8839010653a9273586c10d99e0eeb66b2.tar.bz2
More renaming: MouseRegion -> MouseArea
Diffstat (limited to 'examples/declarative')
-rw-r--r--examples/declarative/colorbrowser/colorbrowser.qml2
-rw-r--r--examples/declarative/colorbrowser/qml/ColorDelegate.qml2
-rw-r--r--examples/declarative/package/Delegate.qml2
3 files changed, 3 insertions, 3 deletions
diff --git a/examples/declarative/colorbrowser/colorbrowser.qml b/examples/declarative/colorbrowser/colorbrowser.qml
index ebd49c6..421ae07 100644
--- a/examples/declarative/colorbrowser/colorbrowser.qml
+++ b/examples/declarative/colorbrowser/colorbrowser.qml
@@ -53,7 +53,7 @@ Rectangle {
Text { id: albumTitle; text: name; color: 'white'; font.bold: true; anchors.centerIn: parent }
}
- MouseRegion { anchors.fill: parent; onClicked: wrapper.state = 'inGrid' }
+ MouseArea { anchors.fill: parent; onClicked: wrapper.state = 'inGrid' }
states: [
State {
diff --git a/examples/declarative/colorbrowser/qml/ColorDelegate.qml b/examples/declarative/colorbrowser/qml/ColorDelegate.qml
index 605e45b..c123d12 100644
--- a/examples/declarative/colorbrowser/qml/ColorDelegate.qml
+++ b/examples/declarative/colorbrowser/qml/ColorDelegate.qml
@@ -27,7 +27,7 @@ Package {
value: hex; when: delegate.open && list.ListView.isCurrentItem
}
- MouseRegion {
+ MouseArea {
anchors.fill: parent
acceptedButtons: Qt.RightButton | Qt.LeftButton
onClicked: {
diff --git a/examples/declarative/package/Delegate.qml b/examples/declarative/package/Delegate.qml
index 62198d0..f35314f 100644
--- a/examples/declarative/package/Delegate.qml
+++ b/examples/declarative/package/Delegate.qml
@@ -11,7 +11,7 @@ Package {
color: 'lightsteelblue'
Text { text: display; anchors.centerIn: parent }
- MouseRegion {
+ MouseArea {
anchors.fill: parent
onClicked: {
if (wrapper.state == 'inList')