summaryrefslogtreecommitdiffstats
path: root/demos
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2010-04-09 03:38:04 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2010-04-09 03:38:04 (GMT)
commit51a8ca0c1fe9d5cce6b430632446a2d3c42989c8 (patch)
treee9cc3a5988f514cc1fd4fe51a0c29969d21f2c8f /demos
parent45ca7aff2c04c302906a1af0d9d671bb9cb452f0 (diff)
downloadQt-51a8ca0c1fe9d5cce6b430632446a2d3c42989c8.zip
Qt-51a8ca0c1fe9d5cce6b430632446a2d3c42989c8.tar.gz
Qt-51a8ca0c1fe9d5cce6b430632446a2d3c42989c8.tar.bz2
Replace "property var " with "property variant " in QML code
Diffstat (limited to 'demos')
-rw-r--r--demos/declarative/flickr/common/Progress.qml2
-rw-r--r--demos/declarative/flickr/common/ScrollBar.qml2
-rw-r--r--demos/declarative/flickr/mobile/ImageDetails.qml4
-rw-r--r--demos/declarative/snake/snake.qml2
-rw-r--r--demos/declarative/twitter/TwitterCore/RssModel.qml2
-rw-r--r--demos/declarative/twitter/TwitterCore/UserModel.qml2
-rw-r--r--demos/declarative/twitter/twitter.qml2
7 files changed, 8 insertions, 8 deletions
diff --git a/demos/declarative/flickr/common/Progress.qml b/demos/declarative/flickr/common/Progress.qml
index 33c6180..f4d25a4 100644
--- a/demos/declarative/flickr/common/Progress.qml
+++ b/demos/declarative/flickr/common/Progress.qml
@@ -1,7 +1,7 @@
import Qt 4.7
Item {
- property var progress: 0
+ property variant progress: 0
Rectangle {
anchors.fill: parent; smooth: true
diff --git a/demos/declarative/flickr/common/ScrollBar.qml b/demos/declarative/flickr/common/ScrollBar.qml
index 4296eca..4022d23 100644
--- a/demos/declarative/flickr/common/ScrollBar.qml
+++ b/demos/declarative/flickr/common/ScrollBar.qml
@@ -3,7 +3,7 @@ import Qt 4.7
Item {
id: container
- property var flickableArea
+ property variant flickableArea
Rectangle {
radius: 5
diff --git a/demos/declarative/flickr/mobile/ImageDetails.qml b/demos/declarative/flickr/mobile/ImageDetails.qml
index d86fd2d..58b0b83 100644
--- a/demos/declarative/flickr/mobile/ImageDetails.qml
+++ b/demos/declarative/flickr/mobile/ImageDetails.qml
@@ -4,7 +4,7 @@ import "../common" as Common
Flipable {
id: container
- property var frontContainer: containerFront
+ property variant frontContainer: containerFront
property string photoTitle: ""
property string photoTags: ""
property int photoWidth
@@ -14,7 +14,7 @@ Flipable {
property string photoDate
property string photoUrl
property int rating: 2
- property var prevScale: 1.0
+ property variant prevScale: 1.0
signal closed
diff --git a/demos/declarative/snake/snake.qml b/demos/declarative/snake/snake.qml
index 014f04e..47bced4 100644
--- a/demos/declarative/snake/snake.qml
+++ b/demos/declarative/snake/snake.qml
@@ -24,7 +24,7 @@ Rectangle {
property int direction
property int headDirection
- property var head;
+ property variant head;
Content.HighScoreModel {
id: highScores
diff --git a/demos/declarative/twitter/TwitterCore/RssModel.qml b/demos/declarative/twitter/TwitterCore/RssModel.qml
index 5015e18..dca8499 100644
--- a/demos/declarative/twitter/TwitterCore/RssModel.qml
+++ b/demos/declarative/twitter/TwitterCore/RssModel.qml
@@ -1,7 +1,7 @@
import Qt 4.7
Item { id: wrapper
- property var model: xmlModel
+ property variant model: xmlModel
property string tags : ""
property string authName : ""
property string authPass : ""
diff --git a/demos/declarative/twitter/TwitterCore/UserModel.qml b/demos/declarative/twitter/TwitterCore/UserModel.qml
index 449e96c..8a8eb7b 100644
--- a/demos/declarative/twitter/TwitterCore/UserModel.qml
+++ b/demos/declarative/twitter/TwitterCore/UserModel.qml
@@ -4,7 +4,7 @@ import Qt 4.7
//Copied from RssModel
Item { id: wrapper
- property var model: xmlModel
+ property variant model: xmlModel
property string user : ""
property int status: xmlModel.status
function reload() { xmlModel.reload(); }
diff --git a/demos/declarative/twitter/twitter.qml b/demos/declarative/twitter/twitter.qml
index c5e5002..84926cd 100644
--- a/demos/declarative/twitter/twitter.qml
+++ b/demos/declarative/twitter/twitter.qml
@@ -4,7 +4,7 @@ import "TwitterCore" 1.0 as Twitter
Item {
id: screen; width: 320; height: 480
property bool userView : false
- property var tmpStr
+ property variant tmpStr
function setMode(m){
screen.userView = m;
if(m == false){