summaryrefslogtreecommitdiffstats
path: root/demos/declarative/phonebrowser/content/MediaButton.qml
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2009-05-01 08:24:14 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2009-05-01 08:24:14 (GMT)
commitafd8fd8cbf0ae3f7d7febc4f4a00628c7bd5c541 (patch)
tree42e1450324edac2c29eccdb4f3b391c8954b08e9 /demos/declarative/phonebrowser/content/MediaButton.qml
parentf5e2c51efd24445e46c3dcad30e9137b1beecc1d (diff)
downloadQt-afd8fd8cbf0ae3f7d7febc4f4a00628c7bd5c541.zip
Qt-afd8fd8cbf0ae3f7d7febc4f4a00628c7bd5c541.tar.gz
Qt-afd8fd8cbf0ae3f7d7febc4f4a00628c7bd5c541.tar.bz2
Use QML properties syntax
Diffstat (limited to 'demos/declarative/phonebrowser/content/MediaButton.qml')
-rw-r--r--demos/declarative/phonebrowser/content/MediaButton.qml5
1 files changed, 2 insertions, 3 deletions
diff --git a/demos/declarative/phonebrowser/content/MediaButton.qml b/demos/declarative/phonebrowser/content/MediaButton.qml
index bb2510a..7aec2e4 100644
--- a/demos/declarative/phonebrowser/content/MediaButton.qml
+++ b/demos/declarative/phonebrowser/content/MediaButton.qml
@@ -1,11 +1,10 @@
Item {
+ property var text
+
id: Container
signals: Signal {
name: "clicked"
}
- properties: Property {
- name: "text"
- }
Image {
id: Image
source: "pics/button.png"