The QContactGlobalPresence class provides aggregated presence information for a contact, synthesized or supplied by the backend. More...
#include <QContactGlobalPresence>
Inherits: QContactDetail.
This class was introduced in Qt Mobility 1.0.
QString | customMessage () const |
QString | nickname () const |
QContactPresence::PresenceState | presenceState () const |
QUrl | presenceStateImageUrl () const |
QString | presenceStateText () const |
void | setCustomMessage ( const QString & customMessage ) |
void | setNickname ( const QString & nickname ) |
void | setPresenceState ( QContactPresence::PresenceState presenceState ) |
void | setPresenceStateImageUrl ( const QUrl & presenceStateImageUrl ) |
void | setPresenceStateText ( const QString & presenceStateText ) |
void | setTimestamp ( const QDateTime & updateTimestamp ) |
QDateTime | timestamp () const |
const QLatin1Constant | DefinitionName |
const QLatin1Constant | FieldCustomMessage |
const QLatin1Constant | FieldNickname |
const QLatin1Constant | FieldPresenceState |
const QLatin1Constant | FieldPresenceStateImageUrl |
const QLatin1Constant | FieldPresenceStateText |
const QLatin1Constant | FieldTimestamp |
QContactFilter | match ( QContactPresence::PresenceState state ) |
The QContactGlobalPresence class provides aggregated presence information for a contact, synthesized or supplied by the backend.
This leaf-class has been part of the default schema since version 1.0 of the Qt Mobility project.
Returns the custom status message from the contact for the aggregate presence detail.
This function was introduced in Qt Mobility 1.0.
See also setCustomMessage().
Returns a filter which matches any contact whose global presence state is listed as state.
Returns the last-known nickname used by the contact during communications via any online account about which this detail aggregates presence information.
This function was introduced in Qt Mobility 1.0.
See also setNickname().
Returns the aggregate presence state of any online accounts about which this detail aggregates presence information.
This function was introduced in Qt Mobility 1.0.
See also setPresenceState().
Returns the last-known status image url of the contact.
This function was introduced in Qt Mobility 1.0.
See also setPresenceStateImageUrl().
Returns the text corresponding to the current presence state.
This function was introduced in Qt Mobility 1.0.
See also setPresenceStateText().
Sets the custom status message from the contact for the aggregate presence detail, to customMessage.
This function was introduced in Qt Mobility 1.0.
See also customMessage().
Sets the last-known nickname used by the contact during communications via any online account about which this detail aggregates presence information to nickname.
This function was introduced in Qt Mobility 1.0.
See also nickname().
Sets the presence state of this aggregate detail according to the presence information available from the presence providers which this detail aggregates to the given presenceState.
This function was introduced in Qt Mobility 1.0.
See also presenceState().
Sets the last-known status image url of the contact to presenceStateImageUrl.
This function was introduced in Qt Mobility 1.0.
See also presenceStateImageUrl().
Sets the text corresponding to the presence state to presenceStateText. This function is generally called by presence providers to allow custom naming of states, or to allow finer grained state reporting than is provided by the presence state API.
This function was introduced in Qt Mobility 1.0.
See also presenceStateText().
Sets the update timestamp of the global presence detail to be updateTimestamp.
This function was introduced in Qt Mobility 1.0.
See also timestamp().
Returns the timestamp at which the data in the global presence detail was valid.
This function was introduced in Qt Mobility 1.0.
See also setTimestamp().
The string constant for the definition name of QContactGlobalPresence details.
The field key constant for the user-entered custom presence message.
See also setCustomMessage() and customMessage().
The field key constant for the nickname value.
See also setNickname() and nickname().
The field key constant for the presence state enumeration value.
See also setPresenceState() and presenceState().
The field key constant for the presence state image URL.
See also setPresenceStateImageUrl() and presenceStateImageUrl().
The field key constant for the presence state description value.
See also setPresenceStateText() and presenceStateText().
The field key constant for the timestamp value.
See also setTimestamp() and timestamp().