summaryrefslogtreecommitdiffstats
path: root/examples/declarative/loader
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/loader
parent51555ed45f6397fa7cdfae771ee6275733bce615 (diff)
downloadQt-21e87b18698c50bcfe0800509563e71c79aae0bb.zip
Qt-21e87b18698c50bcfe0800509563e71c79aae0bb.tar.gz
Qt-21e87b18698c50bcfe0800509563e71c79aae0bb.tar.bz2
Renaming Rect -> Rectangle
Diffstat (limited to 'examples/declarative/loader')
-rw-r--r--examples/declarative/loader/Browser.qml12
-rw-r--r--examples/declarative/loader/Button.qml2
-rw-r--r--examples/declarative/loader/loader.qml2
3 files changed, 8 insertions, 8 deletions
diff --git a/examples/declarative/loader/Browser.qml b/examples/declarative/loader/Browser.qml
index 78b26dc..d3566da 100644
--- a/examples/declarative/loader/Browser.qml
+++ b/examples/declarative/loader/Browser.qml
@@ -1,6 +1,6 @@
import Qt 4.6
-Rect {
+Rectangle {
id: Root
width: parent.width
height: parent.height
@@ -15,7 +15,7 @@ Rect {
Component {
id: FolderDelegate
- Rect {
+ Rectangle {
id: Wrapper
function launch() {
if (folders.isFolder(index)) {
@@ -27,7 +27,7 @@ Rect {
width: Root.width
height: 32
color: "transparent"
- Rect {
+ Rectangle {
id: Highlight; visible: false
anchors.fill: parent
gradient: Gradient {
@@ -77,7 +77,7 @@ Rect {
anchors.bottom: parent.bottom
model: folders
delegate: FolderDelegate
- highlight: Rect { color: "#FFFBAF" }
+ highlight: Rectangle { color: "#FFFBAF" }
clip: true
focus: true
Keys.onPressed: {
@@ -88,13 +88,13 @@ Rect {
}
}
- Rect {
+ Rectangle {
id: TitleBar
width: parent.width
height: 32
color: activePalette.button; border.color: activePalette.mid
- Rect {
+ Rectangle {
id: UpButton
width: 30
height: TitleBar.height
diff --git a/examples/declarative/loader/Button.qml b/examples/declarative/loader/Button.qml
index 391a800..d01a658 100644
--- a/examples/declarative/loader/Button.qml
+++ b/examples/declarative/loader/Button.qml
@@ -1,6 +1,6 @@
import Qt 4.6
-Rect {
+Rectangle {
id: Container
property var text
diff --git a/examples/declarative/loader/loader.qml b/examples/declarative/loader/loader.qml
index f507651..319db84 100644
--- a/examples/declarative/loader/loader.qml
+++ b/examples/declarative/loader/loader.qml
@@ -1,6 +1,6 @@
import Qt 4.6
-Rect {
+Rectangle {
width: 300
height: 400
Loader {