Home · All Classes · All Functions ·

QContactOnlineAccount Class Reference

The QContactOnlineAccount class provides the online account, which the contact uses to communicate with friends and family. More...

    #include <QContactOnlineAccount>

Inherits QContactDetail.


Public Functions

QString accountUri () const
QStringList capabilities () const
QString nickname () const
QString presence () const
QString serviceProvider () const
void setAccountUri ( const QString & accountUri )
void setCapabilities ( const QStringList & capabilities )
void setNickname ( const QString & nickname )
void setPresence ( const QString & presence )
void setServiceProvider ( const QString & serviceProvider )
void setStatusMessage ( const QString & statusMessage )
void setSubTypes ( const QStringList & subTypes )
void setSubTypes ( const QString & subType )
QString statusMessage () const
QStringList subTypes () const

Public Variables

const char * DefinitionName
const char * FieldAccountUri
const char * FieldCapabilities
const char * FieldNickname
const char * FieldPresence
const char * FieldServiceProvider
const char * FieldStatusMessage
const char * FieldSubTypes
const char * PresenceAvailable
const char * PresenceAway
const char * PresenceBusy
const char * PresenceExtendedAway
const char * PresenceHidden
const char * PresenceOffline
const char * PresenceUnknown
const char * SubTypeImpp
const char * SubTypeSip
const char * SubTypeSipVoip
const char * SubTypeVideoShare

Additional Inherited Members


Detailed Description

The QContactOnlineAccount class provides the online account, which the contact uses to communicate with friends and family.


Member Function Documentation

QString QContactOnlineAccount::accountUri () const

Returns the universal resource identifier of the online account of the contact.

See also setAccountUri().

QStringList QContactOnlineAccount::capabilities () const

Returns the capabilities of the online account about which this detail stores presence information.

See also setCapabilities().

QString QContactOnlineAccount::nickname () const

Returns the last-known nickname used by the contact during communications via the online account.

See also setNickname().

QString QContactOnlineAccount::presence () const

Returns the presence of the online account according to the presence provider.

See also setPresence().

QString QContactOnlineAccount::serviceProvider () const

Returns the service provider of the online account of the contact.

See also setServiceProvider().

void QContactOnlineAccount::setAccountUri ( const QString & accountUri )

Sets the universal resource identifier of the contact's online account to accountUri.

See also accountUri().

void QContactOnlineAccount::setCapabilities ( const QStringList & capabilities )

Sets the capabilities of the online account about which this detail stores presence information to capabilities. The capabilities list is a list of service-provider specified strings which together identify the types of communication which may be possible.

See also capabilities().

void QContactOnlineAccount::setNickname ( const QString & nickname )

Sets the last-known nickname used by the contact during communications via the online account about which this detail stores presence information to nickname.

See also nickname().

void QContactOnlineAccount::setPresence ( const QString & presence )

Sets the presence of the online account according to the presence information provider to presence.

See also presence().

void QContactOnlineAccount::setServiceProvider ( const QString & serviceProvider )

Sets the service provider of the contact's online account to serviceProvider.

See also serviceProvider().

void QContactOnlineAccount::setStatusMessage ( const QString & statusMessage )

Sets the last-known status message of the contact which was communicated via the online account about which this detail stores presence information to statusMessage.

See also statusMessage().

void QContactOnlineAccount::setSubTypes ( const QStringList & subTypes )

Sets the subtypes which this detail implements to be those contained in the list of given subTypes.

See also subTypes().

void QContactOnlineAccount::setSubTypes ( const QString & subType )

Sets the subtypes which this detail implements to be just the given subType.

QString QContactOnlineAccount::statusMessage () const

Returns the last-known status message of the contact which was communicated via the online account about which this detail stores presence information.

See also setStatusMessage().

QStringList QContactOnlineAccount::subTypes () const

Returns the list of subtypes that this detail implements.

See also setSubTypes().


Member Variable Documentation

const char * QContactOnlineAccount::DefinitionName

The constant string which identifies the definition of details which identify the organization to which a contact belongs in a given context.

const char * QContactOnlineAccount::FieldAccountUri

The constant key for which the remote account uri value is stored in details of the QContactOnlineAccount type.

const char * QContactOnlineAccount::FieldCapabilities

The constant key for which the account capabilities value is stored in details of the QContactOnlineAccount type.

const char * QContactOnlineAccount::FieldNickname

The constant key for which the nickname value is stored in details of the QContactOnlineAccount type.

const char * QContactOnlineAccount::FieldPresence

The constant key for which the presence value is stored in details of the QContactOnlineAccount typel.

const char * QContactOnlineAccount::FieldServiceProvider

The constant key for which the service provider value is stored in details of the QContactOnlineAccount type.

const char * QContactOnlineAccount::FieldStatusMessage

The constant key for which the status message value is stored in details of the QContactOnlineAccount type.

const char * QContactOnlineAccount::FieldSubTypes

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

const char * QContactOnlineAccount::PresenceAvailable

The value for presence which specifies that the contact's current status is available.

const char * QContactOnlineAccount::PresenceAway

The value for presence which specifies that the contact's current status is away.

const char * QContactOnlineAccount::PresenceBusy

The value for presence which specifies that the contact's current status is busy.

const char * QContactOnlineAccount::PresenceExtendedAway

The value for presence which specifies that the contact's current status is extended away.

const char * QContactOnlineAccount::PresenceHidden

The value for presence which specifies that the contact's current. status is hidden

const char * QContactOnlineAccount::PresenceOffline

The value for presence which specifies that the contact's current status is offline.

const char * QContactOnlineAccount::PresenceUnknown

The value for presence which specifies that the contact's current status is unknown.

const char * QContactOnlineAccount::SubTypeImpp

The constant attribute value which describes the online account as supporting IMPP.

const char * QContactOnlineAccount::SubTypeSip

The constant attribute value which describes the online account as supporting SIP.

const char * QContactOnlineAccount::SubTypeSipVoip

The constant attribute value which describes the online account as supporting SIP-based VoIP.

const char * QContactOnlineAccount::SubTypeVideoShare

The constant attribute value which describes the online account as supporting VideoShare.


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