Detailed Description
The QContactOnlineAccount class provides an online account, which the contact uses to communicate with friends and family.
A QContactOnlineAccount consists of the account details required to communicate with the contact, including the account URI, the capabilities of the account, the service provider of the account, and the type of the account.
Presence information for a particular QContactOnlineAccount detail is provided in a QContactPresence detail which is linked (via linkedDetailUris()) to the account detail. This information is generally provided by the backend, and is not modifiable by clients.
This leaf-class has been part of the default schema since version 1.0 of the Qt Mobility project.
See also QContactPresence.
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::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::setServiceProvider ( const QString & serviceProvider )
Sets the service provider of the contact's online account to serviceProvider.
See also serviceProvider().
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.
QStringList QContactOnlineAccount::subTypes () const
Returns the list of subtypes that this detail implements.
See also setSubTypes().