diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-09-02 07:00:14 (GMT) |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-09-02 07:00:14 (GMT) |
commit | 5455a16f49e8d36e604705c14c842c8a4e1b4f1f (patch) | |
tree | 60e0fbdb2d2ab5109fb3327968b84681d433b73a /demos/declarative/flickr/common/ImageDetails.qml | |
parent | 2fc0161b46597bf64a8f88f027f3b98a021a8242 (diff) | |
download | Qt-5455a16f49e8d36e604705c14c842c8a4e1b4f1f.zip Qt-5455a16f49e8d36e604705c14c842c8a4e1b4f1f.tar.gz Qt-5455a16f49e8d36e604705c14c842c8a4e1b4f1f.tar.bz2 |
Disallow using typenames as ids
This is now illegal:
import Qt 4.6
Item { id: Item }
as is
import Qt 4.6
Item { id: Text }
Diffstat (limited to 'demos/declarative/flickr/common/ImageDetails.qml')
-rw-r--r-- | demos/declarative/flickr/common/ImageDetails.qml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/demos/declarative/flickr/common/ImageDetails.qml b/demos/declarative/flickr/common/ImageDetails.qml index dcd44eb..6b42910 100644 --- a/demos/declarative/flickr/common/ImageDetails.qml +++ b/demos/declarative/flickr/common/ImageDetails.qml @@ -19,7 +19,7 @@ Flipable { signal closed transform: Rotation { - id: Rotation + id: DetailsRotation origin.x: Container.width / 2; axis.y: 1; axis.z: 0 } @@ -48,7 +48,7 @@ Flipable { LikeOMeter { x: 40; y: 250; rating: Container.rating } - Flickable { id: Flickable; x: 220; width: 480; height: 210; y: 130; clip: true + Flickable { id: FlickSurface; x: 220; width: 480; height: 210; y: 130; clip: true viewportWidth: 480; viewportHeight: DescriptionText.height WebView { id: DescriptionText; width: parent.width @@ -70,8 +70,8 @@ Flipable { anchors.left: TagsLabel.right; anchors.top: Date.bottom; elide: "ElideRight"; text: Container.photoTags } - ScrollBar { id: ScrollBar; x: 720; y: Flickable.y; width: 7; height: Flickable.height; opacity: 0; - flickableArea: Flickable; clip: true } + ScrollBar { id: ScrollBar; x: 720; y: FlickSurface.y; width: 7; height: FlickSurface.height; opacity: 0; + flickableArea: FlickSurface; clip: true } } back: Item { @@ -136,7 +136,7 @@ Flipable { states: [ State { name: "Back" - PropertyChanges { target: Rotation; angle: 180 } + PropertyChanges { target: DetailsRotation; angle: 180 } } ] |