diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2010-04-09 03:38:04 (GMT) |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2010-04-09 03:38:04 (GMT) |
commit | 51a8ca0c1fe9d5cce6b430632446a2d3c42989c8 (patch) | |
tree | e9cc3a5988f514cc1fd4fe51a0c29969d21f2c8f /demos/declarative/twitter | |
parent | 45ca7aff2c04c302906a1af0d9d671bb9cb452f0 (diff) | |
download | Qt-51a8ca0c1fe9d5cce6b430632446a2d3c42989c8.zip Qt-51a8ca0c1fe9d5cce6b430632446a2d3c42989c8.tar.gz Qt-51a8ca0c1fe9d5cce6b430632446a2d3c42989c8.tar.bz2 |
Replace "property var " with "property variant " in QML code
Diffstat (limited to 'demos/declarative/twitter')
-rw-r--r-- | demos/declarative/twitter/TwitterCore/RssModel.qml | 2 | ||||
-rw-r--r-- | demos/declarative/twitter/TwitterCore/UserModel.qml | 2 | ||||
-rw-r--r-- | demos/declarative/twitter/twitter.qml | 2 |
3 files changed, 3 insertions, 3 deletions
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){ |