Home · All Classes · All Functions ·

QContactAvatar Class Reference

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

    #include <QContactAvatar>

Inherits QContactDetail.


Public Functions

QUrl imageUrl () const
void setImageUrl ( const QUrl & imageUrl )
void setVideoUrl ( const QUrl & videoUrl )
QUrl videoUrl () const

Static Public Members

const QLatin1Constant DefinitionName
const QLatin1Constant FieldImageUrl
const QLatin1Constant FieldVideoUrl

Detailed Description

The QContactAvatar class contains the avatar of a contact.


Member Function Documentation

QUrl QContactAvatar::imageUrl () const

Returns the url of an avatar image associated with the contact

See also setImageUrl().

void QContactAvatar::setImageUrl ( const QUrl & imageUrl )

Sets the url of an avatar image associated with the contact to imageUrl

See also imageUrl().

void QContactAvatar::setVideoUrl ( const QUrl & videoUrl )

Sets the url of an avatar video associated with the contact to videoUrl

See also videoUrl().

QUrl QContactAvatar::videoUrl () const

Returns the url of an avatar video associated with the contact

See also setVideoUrl().


Member Variable Documentation

const QLatin1Constant QContactAvatar::DefinitionName

The string constant for the definition name of QContactAvatar details.

const QLatin1Constant QContactAvatar::FieldImageUrl

The field key constant for the value containing the URL of the avatar image.

See also imageUrl() and setImageUrl().

const QLatin1Constant QContactAvatar::FieldVideoUrl

The field key constant for the value containing the URL of a video avatar.

See also videoUrl() and setVideoUrl().


Copyright © 2010 Nokia Corporation and/or its subsidiary(-ies) Trademarks
Qt Mobility Project 1.0.2