The QContactOnlineAccount class provides an online account, which the contact uses to communicate with friends and family. More...
#include <QContactOnlineAccount>
Inherits: QContactDetail.
This class was introduced in Qt Mobility 1.0.
QString | accountUri () const |
QStringList | capabilities () const |
QString | protocol () const |
QString | serviceProvider () const |
void | setAccountUri ( const QString & accountUri ) |
void | setCapabilities ( const QStringList & capabilities ) |
void | setProtocol ( const QString & protocol ) |
void | setServiceProvider ( const QString & serviceProvider ) |
void | setSubTypes ( const QStringList & subTypes ) |
void | setSubTypes ( const QString & subType ) |
QStringList | subTypes () const |
const QLatin1Constant | DefinitionName |
const QLatin1Constant | FieldAccountUri |
const QLatin1Constant | FieldCapabilities |
const QLatin1Constant | FieldProtocol |
const QLatin1Constant | FieldServiceProvider |
const QLatin1Constant | FieldSubTypes |
const QLatin1Constant | ProtocolAim |
const QLatin1Constant | ProtocolIcq |
const QLatin1Constant | ProtocolIrc |
const QLatin1Constant | ProtocolJabber |
const QLatin1Constant | ProtocolMsn |
const QLatin1Constant | ProtocolQq |
const QLatin1Constant | ProtocolSkype |
const QLatin1Constant | ProtocolYahoo |
const QLatin1Constant | SubTypeImpp |
const QLatin1Constant | SubTypeSip |
const QLatin1Constant | SubTypeSipVoip |
const QLatin1Constant | SubTypeVideoShare |
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.
Returns the universal resource identifier of the online account of the contact.
This function was introduced in Qt Mobility 1.0.
See also setAccountUri().
Returns the capabilities of the online account about which this detail stores presence information.
This function was introduced in Qt Mobility 1.0.
See also setCapabilities().
Returns the protocol value.
See also setProtocol().
Returns the service provider of the online account of the contact.
This function was introduced in Qt Mobility 1.0.
See also setServiceProvider().
Sets the universal resource identifier of the contact's online account to accountUri.
This function was introduced in Qt Mobility 1.0.
See also accountUri().
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.
This function was introduced in Qt Mobility 1.0.
See also capabilities().
Set the protocol to protocol.
See also protocol().
Sets the service provider of the contact's online account to serviceProvider.
This function was introduced in Qt Mobility 1.0.
See also serviceProvider().
Sets the subtypes which this detail implements to be those contained in the list of given subTypes.
This function was introduced in Qt Mobility 1.0.
See also subTypes().
Sets the subtypes which this detail implements to be just the given subType.
This function was introduced in Qt Mobility 1.0.
Returns the list of subtypes that this detail implements.
This function was introduced in Qt Mobility 1.0.
See also setSubTypes().
The string constant for the definition name of QContactOnlineAccount details.
The field key constant for the account uri value.
See also accountUri() and setAccountUri().
The field key constant for the account capabilities value.
See also capabilities() and setCapabilities().
The field key constant for the account service provider name.
See also protocol() and setProtocol().
The field key constant for the account service provider name.
See also serviceProvider() and setServiceProvider().
The field key constant for the field that stores the sub types of a QContactOnlineAccount.
See also subTypes() and setSubTypes().
The predefined string constant for a protocol value, indicating this online account is for the AIM protocol.
See also protocol() and setProtocol().
The predefined string constant for a protocol value, indicating this online account is for the ICQ protocol.
See also protocol() and setProtocol().
The predefined string constant for a protocol value, indicating this online account is for the IRC protocol.
See also protocol() and setProtocol().
The predefined string constant for a protocol value, indicating this online account is for the Jabber protocol.
See also protocol() and setProtocol().
The predefined string constant for a protocol value, indicating this online account is for the MSN protocol.
See also protocol() and setProtocol().
The predefined string constant for a protocol value, indicating this online account is for the Tecent QQ protocol.
See also protocol() and setProtocol().
The predefined string constant for a protocol value, indicating this online account is for the Skype protocol.
See also protocol() and setProtocol().
The predefined string constant for a protocol value, indicating this online account is for the Yahoo chat protocol.
See also protocol() and setProtocol().
The predefined string constant for a sub type value, indicating this online account supports IMPP.
See also subTypes() and setSubTypes().
The predefined string constant for a sub type value, indicating this online account supports SIP.
See also subTypes() and setSubTypes().
The predefined string constant for a sub type value, indicating this online account supports SIP based VOIP.
See also subTypes() and setSubTypes().
The predefined string constant for a sub type value, indicating this online account supports VideoShare.
See also subTypes() and setSubTypes().