Home · All Classes · All Functions ·

QContactAvatar Class Reference

The QContactAvatar class contains the avatar of a contact. More...

    #include <QContactAvatar>

Inherits QContactDetail.


Public Functions

QString avatar () const
void setAvatar ( const QString & avatar )
void setSubType ( const QString & subType )
QString subType () const

Public Variables

const char * DefinitionName
const char * FieldAvatar
const char * FieldSubType
const char * SubTypeAudioRingtone
const char * SubTypeImage
const char * SubTypeTexturedMesh
const char * SubTypeVideo
const char * SubTypeVideoRingtone

Additional Inherited Members


Detailed Description

The QContactAvatar class contains the avatar of a contact.


Member Function Documentation

QString QContactAvatar::avatar () const

Returns the location of an avatar file associated with the contact.

See also setAvatar().

void QContactAvatar::setAvatar ( const QString & avatar )

Sets the location of an avatar file associated with the contact to avatar.

See also avatar().

void QContactAvatar::setSubType ( const QString & subType )

Sets the subtype which this detail implements to be the given subType.

See also subType().

QString QContactAvatar::subType () const

Returns the subtype that this detail implements, if defined.

See also setSubType().


Member Variable Documentation

const char * QContactAvatar::DefinitionName

The constant string which identifies the definition of details which are avatars.

const char * QContactAvatar::FieldAvatar

The constant key for which the path the avatar value is stored in details of the QContactAvatar type.

const char * QContactAvatar::FieldSubType

The constant key for which the subtypes value is stored in details of the QContactAvatar type.

const char * QContactAvatar::SubTypeAudioRingtone

The constant attribute value which describes the avatar as being an audio ringtone.

const char * QContactAvatar::SubTypeImage

The constant attribute value which describes the avatar as being an image.

const char * QContactAvatar::SubTypeTexturedMesh

The constant attribute value which describes the avatar as being a textured, 3D mesh.

const char * QContactAvatar::SubTypeVideo

The constant attribute value which describes the avatar as being a video.

const char * QContactAvatar::SubTypeVideoRingtone

The constant attribute value which describes the avatar as being a video ringtone.


Copyright © 2009 Nokia Corporation and/or its subsidiary(-ies) Trademarks
Qt Mobility Project 1.0.0 (Technical Preview)