summaryrefslogtreecommitdiffstats
path: root/examples/declarative/dynamic
diff options
context:
space:
mode:
authorYann Bodson <yann.bodson@nokia.com>2009-08-19 06:34:44 (GMT)
committerYann Bodson <yann.bodson@nokia.com>2009-08-19 08:15:20 (GMT)
commit21e87b18698c50bcfe0800509563e71c79aae0bb (patch)
tree4567cb8a5bd3127fe98d7ce5a5042550bca48b7b /examples/declarative/dynamic
parent51555ed45f6397fa7cdfae771ee6275733bce615 (diff)
downloadQt-21e87b18698c50bcfe0800509563e71c79aae0bb.zip
Qt-21e87b18698c50bcfe0800509563e71c79aae0bb.tar.gz
Qt-21e87b18698c50bcfe0800509563e71c79aae0bb.tar.bz2
Renaming Rect -> Rectangle
Diffstat (limited to 'examples/declarative/dynamic')
-rw-r--r--examples/declarative/dynamic/DynRect.qml2
-rw-r--r--examples/declarative/dynamic/dynamic.qml8
2 files changed, 5 insertions, 5 deletions
diff --git a/examples/declarative/dynamic/DynRect.qml b/examples/declarative/dynamic/DynRect.qml
index ec27441..fd03863 100644
--- a/examples/declarative/dynamic/DynRect.qml
+++ b/examples/declarative/dynamic/DynRect.qml
@@ -5,5 +5,5 @@ Item {
transitions: Transition{
NumberAnimation{ properties: "opacity"; target: newRect; duration:500 }
}
- Rect {color: "steelblue"; width: 100; height: 100; id: newRect }
+ Rectangle {color: "steelblue"; width: 100; height: 100; id: newRect }
}
diff --git a/examples/declarative/dynamic/dynamic.qml b/examples/declarative/dynamic/dynamic.qml
index 54d8dc8..6ea7ab8 100644
--- a/examples/declarative/dynamic/dynamic.qml
+++ b/examples/declarative/dynamic/dynamic.qml
@@ -1,17 +1,17 @@
import Qt 4.6
-Rect { id: page; width: 800; height: 800; color:"black"
+Rectangle { id: page; width: 800; height: 800; color:"black"
Script { source: "dynamic.js" }
property bool extendStars: false;
Item { id: targetItem; x: 100; y: 100; }
Item { id: targetItem2; x: 0; y: 300; }
- Rect { width: 100; height: 100; color: "green"; id: rect
+ Rectangle { width: 100; height: 100; color: "green"; id: rect
MouseRegion { anchors.fill:parent; onClicked: {a = createWithComponent();}}
}
- Rect { width: 100; height: 100; color: "red"; id: rect2; y:100;
+ Rectangle { width: 100; height: 100; color: "red"; id: rect2; y:100;
MouseRegion { anchors.fill:parent; onClicked: {destroyDynamicObject();}}
}
- Rect { width: 100; height: 100; color: "blue"; id: rect3; y:200;
+ Rectangle { width: 100; height: 100; color: "blue"; id: rect3; y:200;
MouseRegion { anchors.fill:parent; onClicked:
{
if(fourthBox == null) {