diff options
author | Yann Bodson <yann.bodson@nokia.com> | 2010-03-03 08:36:44 (GMT) |
---|---|---|
committer | Yann Bodson <yann.bodson@nokia.com> | 2010-03-03 08:36:44 (GMT) |
commit | 5c1496d8839010653a9273586c10d99e0eeb66b2 (patch) | |
tree | a02acab1aaaf23313bdc5ffe4241b4307672151e /examples | |
parent | 639ae76c6d1a46db546beb00c1d9022867ef7e2e (diff) | |
download | Qt-5c1496d8839010653a9273586c10d99e0eeb66b2.zip Qt-5c1496d8839010653a9273586c10d99e0eeb66b2.tar.gz Qt-5c1496d8839010653a9273586c10d99e0eeb66b2.tar.bz2 |
More renaming: MouseRegion -> MouseArea
Diffstat (limited to 'examples')
-rw-r--r-- | examples/declarative/colorbrowser/colorbrowser.qml | 2 | ||||
-rw-r--r-- | examples/declarative/colorbrowser/qml/ColorDelegate.qml | 2 | ||||
-rw-r--r-- | examples/declarative/package/Delegate.qml | 2 |
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') |