summaryrefslogtreecommitdiffstats
path: root/examples/declarative/scrollbar
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 /examples/declarative/scrollbar
parentf5e2c51efd24445e46c3dcad30e9137b1beecc1d (diff)
downloadQt-afd8fd8cbf0ae3f7d7febc4f4a00628c7bd5c541.zip
Qt-afd8fd8cbf0ae3f7d7febc4f4a00628c7bd5c541.tar.gz
Qt-afd8fd8cbf0ae3f7d7febc4f4a00628c7bd5c541.tar.bz2
Use QML properties syntax
Diffstat (limited to 'examples/declarative/scrollbar')
-rw-r--r--examples/declarative/scrollbar/ScrollBar.qml14
1 files changed, 4 insertions, 10 deletions
diff --git a/examples/declarative/scrollbar/ScrollBar.qml b/examples/declarative/scrollbar/ScrollBar.qml
index e3ca0c2..929c72a 100644
--- a/examples/declarative/scrollbar/ScrollBar.qml
+++ b/examples/declarative/scrollbar/ScrollBar.qml
@@ -5,16 +5,10 @@ Item {
// height of the page, i.e. a pageSize of 0.5 means that you can see 50%
// of the height of the view.
// orientation can be either 'Vertical' or 'Horizontal'
- properties: Property {
- name: "position"
- }
- properties: Property {
- name: "pageSize"
- }
- properties: Property {
- name: "orientation"
- value: "Vertical"
- }
+ property var position
+ property var pageSize
+ property var orientation : "Vertical"
+
// A light, semi-transparent background
Rect {
id: Background