summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorCristiano di Flora <cristiano.di-flora@nokia.com>2012-03-14 10:38:00 +0200
committerQt by Nokia <qt-info@nokia.com>2012-03-15 19:44:53 +0100
commit35b93c1f1b62367fe7435e0dbd5dac1d6f7707ce (patch)
tree4388e72b4c964aa709fe2d5afd80aa2baeceba2d /examples
parent8e953bbe6d90bbc73515f2381a780f8112b27bb7 (diff)
Remove QContactThumbnail detail.
This change removes the QContactThumbnail detail from contacts API. From now on, the handling of PHOTO property of a vcard in Versit will by default cover only the case of a URL value in the PHOTO field. Base64 encoded PHOTO properties are not added by default anymore to QContact objects. In case a specific platform requires storing Base64, this will have to be achieved by implementing platform-specific property handler plugins, e.g. taking care of storing the encoded thumbnails to the platform specific media storage location and converting the image to one or more formats that best fit the target platform. Change-Id: I46028b6229b04be0da853a5c02a600ae0d7b63ec Reviewed-by: Kranthi Kuntala <kranthi.kumar-kuntala@nokia.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/qmlcontacts/contents/ContactListView.qml28
1 files changed, 0 insertions, 28 deletions
diff --git a/examples/qmlcontacts/contents/ContactListView.qml b/examples/qmlcontacts/contents/ContactListView.qml
index 76e9ca848..a3c30539e 100644
--- a/examples/qmlcontacts/contents/ContactListView.qml
+++ b/examples/qmlcontacts/contents/ContactListView.qml
@@ -90,34 +90,6 @@ Item {
Column {
Row {
spacing: 2
- Item {
- id: mainAvatar;
- height: wrapper.height;
- width: height;
-
- Rectangle {
- border.width: 2;
- radius: 4;
- anchors.fill: parent;
- anchors.margins: 2;
-
- Image {
- id: thumbnail
- anchors.fill: parent;
- anchors.margins: 2;
-
- source: model.contact.thumbnail;
- fillMode: Image.PreserveAspectFit
- smooth:true
- }
- Image {
- anchors.fill: parent;
- anchors.margins: 2;
- source: "images/default.svg";
- opacity: thumbnail.status == Image.Ready ? 0 : 1;
- }
- }
- }
Column {
Item {