summaryrefslogtreecommitdiffstats
path: root/examples/declarative/aspectratio
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/aspectratio
parent51555ed45f6397fa7cdfae771ee6275733bce615 (diff)
downloadQt-21e87b18698c50bcfe0800509563e71c79aae0bb.zip
Qt-21e87b18698c50bcfe0800509563e71c79aae0bb.tar.gz
Qt-21e87b18698c50bcfe0800509563e71c79aae0bb.tar.bz2
Renaming Rect -> Rectangle
Diffstat (limited to 'examples/declarative/aspectratio')
-rw-r--r--examples/declarative/aspectratio/face_fit.qml2
-rw-r--r--examples/declarative/aspectratio/face_fit_animated.qml2
-rw-r--r--examples/declarative/aspectratio/scale_and_crop.qml2
-rw-r--r--examples/declarative/aspectratio/scale_and_sidecrop.qml2
-rw-r--r--examples/declarative/aspectratio/scale_to_fit.qml2
-rw-r--r--examples/declarative/aspectratio/scale_to_fit_simple.qml2
6 files changed, 6 insertions, 6 deletions
diff --git a/examples/declarative/aspectratio/face_fit.qml b/examples/declarative/aspectratio/face_fit.qml
index 95105e1..4573160 100644
--- a/examples/declarative/aspectratio/face_fit.qml
+++ b/examples/declarative/aspectratio/face_fit.qml
@@ -6,7 +6,7 @@ import Qt 4.6
// when the edges of the image contain less vital information than the
// center - such as a face.
//
-Rect {
+Rectangle {
// default size: whole image, unscaled
width: Image.width
height: Image.height
diff --git a/examples/declarative/aspectratio/face_fit_animated.qml b/examples/declarative/aspectratio/face_fit_animated.qml
index a1b9213..2768150 100644
--- a/examples/declarative/aspectratio/face_fit_animated.qml
+++ b/examples/declarative/aspectratio/face_fit_animated.qml
@@ -4,7 +4,7 @@ import Qt 4.6
// diverse and usage-specific behaviours are made possible by NOT putting a
// hard-coded aspect ratio feature into the Image primitive.
//
-Rect {
+Rectangle {
// default size: whole image, unscaled
width: Image.width
height: Image.height
diff --git a/examples/declarative/aspectratio/scale_and_crop.qml b/examples/declarative/aspectratio/scale_and_crop.qml
index 20169f9..75080b4 100644
--- a/examples/declarative/aspectratio/scale_and_crop.qml
+++ b/examples/declarative/aspectratio/scale_and_crop.qml
@@ -2,7 +2,7 @@ import Qt 4.6
// Here, we implement "Scale and Crop" behaviour.
//
-Rect {
+Rectangle {
// default size: whole image, unscaled
width: Image.width
height: Image.height
diff --git a/examples/declarative/aspectratio/scale_and_sidecrop.qml b/examples/declarative/aspectratio/scale_and_sidecrop.qml
index c3aa742..a6bd2c8 100644
--- a/examples/declarative/aspectratio/scale_and_sidecrop.qml
+++ b/examples/declarative/aspectratio/scale_and_sidecrop.qml
@@ -3,7 +3,7 @@ import Qt 4.6
// Here, we implement a variant of "Scale and Crop" behaviour, where we
// crop the sides if necessary to fully fit vertically, but not the reverse.
//
-Rect {
+Rectangle {
// default size: whole image, unscaled
width: Image.width
height: Image.height
diff --git a/examples/declarative/aspectratio/scale_to_fit.qml b/examples/declarative/aspectratio/scale_to_fit.qml
index f6b14a4..744abce 100644
--- a/examples/declarative/aspectratio/scale_to_fit.qml
+++ b/examples/declarative/aspectratio/scale_to_fit.qml
@@ -3,7 +3,7 @@ import Qt 4.6
// Here, we implement "Scale to Fit" behaviour "manually", rather
// than using the preserveAspect property.
//
-Rect {
+Rectangle {
// default size: whole image, unscaled
width: Image.width
height: Image.height
diff --git a/examples/declarative/aspectratio/scale_to_fit_simple.qml b/examples/declarative/aspectratio/scale_to_fit_simple.qml
index 5381bb4..4ee06ba 100644
--- a/examples/declarative/aspectratio/scale_to_fit_simple.qml
+++ b/examples/declarative/aspectratio/scale_to_fit_simple.qml
@@ -3,7 +3,7 @@ import Qt 4.6
// Here, we implement "Scale to Fit" behaviour, using the
// preserveAspect property.
//
-Rect {
+Rectangle {
// default size: whole image, unscaled
width: Image.width
height: Image.height