summaryrefslogtreecommitdiffstats
path: root/src/imports/contacts/qdeclarativecontact_p.h
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 /src/imports/contacts/qdeclarativecontact_p.h
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 'src/imports/contacts/qdeclarativecontact_p.h')
-rw-r--r--src/imports/contacts/qdeclarativecontact_p.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/imports/contacts/qdeclarativecontact_p.h b/src/imports/contacts/qdeclarativecontact_p.h
index e4a74b957..76387dd97 100644
--- a/src/imports/contacts/qdeclarativecontact_p.h
+++ b/src/imports/contacts/qdeclarativecontact_p.h
@@ -89,7 +89,6 @@ class QDeclarativeContact : public QObject
Q_PROPERTY (QDeclarativeContactRingtone* ringtone READ ringtone NOTIFY contactChanged)
Q_PROPERTY (QDeclarativeContactSyncTarget* syncTarget READ syncTarget NOTIFY contactChanged)
Q_PROPERTY (QDeclarativeContactTag* tag READ tag NOTIFY contactChanged)
- Q_PROPERTY (QUrl thumbnail READ thumbnail WRITE setThumbnail NOTIFY contactChanged)
Q_PROPERTY (QDeclarativeContactUrl* url READ url NOTIFY contactChanged)
Q_PROPERTY (QDeclarativeContactVersion* version READ version NOTIFY contactChanged)
Q_PROPERTY (QQmlListProperty<QDeclarativeContactUrl> urls READ urls NOTIFY contactChanged)
@@ -147,8 +146,6 @@ public:
QDeclarativeContactRingtone* ringtone();
QDeclarativeContactSyncTarget* syncTarget();
QDeclarativeContactTag* tag();
- QUrl thumbnail() const;
- void setThumbnail(const QUrl& url);
QDeclarativeContactUrl* url();
QDeclarativeContactVersion* version();
QQmlListProperty<QDeclarativeContactUrl> urls();