summaryrefslogtreecommitdiffstats
path: root/demos
diff options
context:
space:
mode:
authorMichael Brasser <michael.brasser@nokia.com>2009-07-31 01:34:36 (GMT)
committerMichael Brasser <michael.brasser@nokia.com>2009-07-31 01:34:36 (GMT)
commit56f67f2fdf84fe5e7660552c52b67c4e474054dd (patch)
tree7e1b59cd738432c8a48616621934381ddf2e298c /demos
parent8d9690cca4a13d4951b3d303eb57dbe4e25ce21c (diff)
downloadQt-56f67f2fdf84fe5e7660552c52b67c4e474054dd.zip
Qt-56f67f2fdf84fe5e7660552c52b67c4e474054dd.tar.gz
Qt-56f67f2fdf84fe5e7660552c52b67c4e474054dd.tar.bz2
Rename centeredIn to centerIn.
Diffstat (limited to 'demos')
-rw-r--r--demos/declarative/calculator/CalcButton.qml2
-rw-r--r--demos/declarative/flickr/content/ImageDetails.qml4
-rw-r--r--demos/declarative/flickr/content/MediaButton.qml2
-rw-r--r--demos/declarative/flickr/flickr.qml2
-rw-r--r--demos/declarative/samegame/SameGame.qml2
-rw-r--r--demos/declarative/samegame/content/BoomBlock.qml2
-rw-r--r--demos/declarative/samegame/content/Button.qml2
-rw-r--r--demos/declarative/samegame/content/Dialog.qml2
8 files changed, 9 insertions, 9 deletions
diff --git a/demos/declarative/calculator/CalcButton.qml b/demos/declarative/calculator/CalcButton.qml
index db8ae7c..5eb7fe1 100644
--- a/demos/declarative/calculator/CalcButton.qml
+++ b/demos/declarative/calculator/CalcButton.qml
@@ -37,7 +37,7 @@ Item {
}
Text {
- anchors.centeredIn: Image
+ anchors.centerIn: Image
text: Button.operation
color: "white"
font.bold: true
diff --git a/demos/declarative/flickr/content/ImageDetails.qml b/demos/declarative/flickr/content/ImageDetails.qml
index 26bac32..2be0e4d 100644
--- a/demos/declarative/flickr/content/ImageDetails.qml
+++ b/demos/declarative/flickr/content/ImageDetails.qml
@@ -79,7 +79,7 @@ Flipable {
Rect { anchors.fill: parent; color: "black"; opacity: 0.4; pen.color: "white"; pen.width: 2 }
- Progress { anchors.centeredIn: parent; width: 200; height: 18; progress: BigImage.progress; visible: BigImage.status }
+ Progress { anchors.centerIn: parent; width: 200; height: 18; progress: BigImage.progress; visible: BigImage.status }
Flickable {
id: Flick; width: Container.width - 10; height: Container.height - 10
x: 5; y: 5; clip: true;
@@ -114,7 +114,7 @@ Flipable {
Text {
text: "Image Unavailable"
visible: BigImage.status == 'Error'
- anchors.centeredIn: parent; color: "white"; font.bold: true
+ anchors.centerIn: parent; color: "white"; font.bold: true
}
Slider {
diff --git a/demos/declarative/flickr/content/MediaButton.qml b/demos/declarative/flickr/content/MediaButton.qml
index cbe4265..2a6dbae 100644
--- a/demos/declarative/flickr/content/MediaButton.qml
+++ b/demos/declarative/flickr/content/MediaButton.qml
@@ -24,7 +24,7 @@ Item {
Text {
font.bold: true
color: "white"
- anchors.centeredIn: Image
+ anchors.centerIn: Image
text: Container.text
}
width: Image.width
diff --git a/demos/declarative/flickr/flickr.qml b/demos/declarative/flickr/flickr.qml
index eba65c0..21ac284 100644
--- a/demos/declarative/flickr/flickr.qml
+++ b/demos/declarative/flickr/flickr.qml
@@ -124,7 +124,7 @@ Item {
Image { source: "content/pics/background.png"; anchors.fill: parent }
- Loading { anchors.centeredIn: parent; visible: FeedModel.status != 0 }
+ Loading { anchors.centerIn: parent; visible: FeedModel.status != 0 }
GridView {
id: PhotoGridView; model: FeedModel; delegate: PhotoDelegate; cacheBuffer: 100
diff --git a/demos/declarative/samegame/SameGame.qml b/demos/declarative/samegame/SameGame.qml
index 9e1b1ae..cb4737a 100644
--- a/demos/declarative/samegame/SameGame.qml
+++ b/demos/declarative/samegame/SameGame.qml
@@ -22,7 +22,7 @@ Rect {
}
}
- Dialog { id: dialog; anchors.centeredIn: parent; z: 21}
+ Dialog { id: dialog; anchors.centerIn: parent; z: 21}
Button {
id: btnA; text: "New Game"; onClicked: {initBoard();}
anchors.top: gameCanvas.bottom; anchors.topMargin: 4; anchors.left: gameCanvas.left;
diff --git a/demos/declarative/samegame/content/BoomBlock.qml b/demos/declarative/samegame/content/BoomBlock.qml
index a4f4fe9..8a505da 100644
--- a/demos/declarative/samegame/content/BoomBlock.qml
+++ b/demos/declarative/samegame/content/BoomBlock.qml
@@ -26,7 +26,7 @@ Item { id:block
}
Particles { id: particles
- width:1; height:1; anchors.centeredIn: parent; opacity: 0
+ width:1; height:1; anchors.centerIn: parent; opacity: 0
lifeSpan: 700; lifeSpanDeviation: 600; count:0; streamIn: false
angle: 0; angleDeviation: 360; velocity: 100; velocityDeviation:30
source: {
diff --git a/demos/declarative/samegame/content/Button.qml b/demos/declarative/samegame/content/Button.qml
index 2f38a52..152c996 100644
--- a/demos/declarative/samegame/content/Button.qml
+++ b/demos/declarative/samegame/content/Button.qml
@@ -12,7 +12,7 @@ Rect {
}
MouseRegion { id:mr; anchors.fill: parent; onClicked: page.clicked() }
Text {
- id: txtItem; text: page.text; anchors.centeredIn: page; color: activePalette.buttonText
+ id: txtItem; text: page.text; anchors.centerIn: page; color: activePalette.buttonText
font.size: 14;
}
}
diff --git a/demos/declarative/samegame/content/Dialog.qml b/demos/declarative/samegame/content/Dialog.qml
index 6d12b48..939f66f 100644
--- a/demos/declarative/samegame/content/Dialog.qml
+++ b/demos/declarative/samegame/content/Dialog.qml
@@ -11,5 +11,5 @@ Rect {
NumberAnimation {property: "opacity"; to: 0; duration: 1500 }
}
}
- Text { anchors.centeredIn: parent; text: parent.text }
+ Text { anchors.centerIn: parent; text: parent.text }
}