The QContactThumbnail class contains a thumbnail used in display lists to represent the contact. More...
#include <QContactThumbnail>
Inherits: QContactDetail.
This class was introduced in Qt Mobility 1.0.
void | setThumbnail ( const QImage & thumbnail ) |
QImage | thumbnail () const |
const QLatin1Constant | DefinitionName |
const QLatin1Constant | FieldThumbnail |
The QContactThumbnail class contains a thumbnail used in display lists to represent the contact.
Users can specify a thumbnail image for a contact via this detail. Support for this detail is backend specific; some managers will save the image as given, no matter how big it is, while other managers will scale the image prior to save in order to reduce memory overhead. Some managers will automatically synthesize a thumbnail detail for each contact if an avatar image url is specified but no thumbnail detail is specified.
The content of the thumbnail detail is static once set. That is, in order to change the thumbnail of a particular contact, the user must modify the detail and update the contact. This is in contrast to the QContactAvatar detail, which contains URLs to resources; the actual content of the resource might be changed dynamically by person, group or organization for which the QContact is a digital representation. That is, the content of a QContactThumbnail detail is set by the user who has created the contact, but the content of a resource identified by a URL specified in a QContactAvatar detail is set by whoever owns the resource which the URL identifies.
This leaf-class has been part of the default schema since version 1.0 of the Qt Mobility project.
See also QContactAvatar.
Sets the thumbnail image of the contact to be thumbnail
This function was introduced in Qt Mobility 1.0.
See also thumbnail().
Returns the thumbnail image of the contact
This function was introduced in Qt Mobility 1.0.
See also setThumbnail().
The string constant for the definition name of QContactThumbnail details.
The field key constant for the value containing the thumbnail image.
See also thumbnail() and setThumbnail().
© 2008-2011 Nokia Corporation and/or its subsidiaries. Nokia, Qt and their respective logos are trademarks of Nokia Corporation in Finland and/or other countries worldwide.
All other trademarks are property of their respective owners. Privacy Policy
Licensees holding valid Qt Commercial licenses may use this document in accordance with the Qt Commercial License Agreement provided with the Software or, alternatively, in accordance with the terms contained in a written agreement between you and Nokia.
Alternatively, this document may be used under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation.