Detailed Description
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.
Member Function Documentation
QString QContactGlobalPresence::customMessage () const
Returns the custom status message from the contact for the aggregate presence detail.
See also setCustomMessage().
QString QContactGlobalPresence::nickname () const
Returns the last-known nickname used by the contact during communications via any online account about which this detail aggregates presence information.
See also setNickname().
Returns the aggregate presence state of any online accounts about which this detail aggregates presence information.
See also setPresenceState().
QUrl QContactGlobalPresence::presenceStateImageUrl () const
Returns the last-known status image url of the contact.
See also setPresenceStateImageUrl().
QString QContactGlobalPresence::presenceStateText () const
Returns the text corresponding to the current presence state.
See also setPresenceStateText().
void QContactGlobalPresence::setCustomMessage ( const QString & customMessage )
Sets the custom status message from the contact for the aggregate presence detail, to customMessage.
See also customMessage().
void QContactGlobalPresence::setNickname ( const QString & nickname )
Sets the last-known nickname used by the contact during communications via any online account about which this detail aggregates presence information to nickname.
See also nickname().
void QContactGlobalPresence::setPresenceState ( QContactPresence::PresenceState presenceState )
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.
See also presenceState().
void QContactGlobalPresence::setPresenceStateImageUrl ( const QUrl & presenceStateImageUrl )
Sets the last-known status image url of the contact to presenceStateImageUrl.
See also presenceStateImageUrl().
void QContactGlobalPresence::setPresenceStateText ( const QString & presenceStateText )
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.
See also presenceStateText().
void QContactGlobalPresence::setTimestamp ( const QDateTime & updateTimestamp )
Sets the update timestamp of the global presence detail to be updateTimestamp.
See also timestamp().
QDateTime QContactGlobalPresence::timestamp () const
Returns the timestamp at which the data in the global presence detail was valid.
See also setTimestamp().