#include <TelepathyQt4/Types>
Public Attributes | |
uint | type |
QString | status |
QString | statusMessage |
A struct representing the presence of a contact.
The string identifier of the status, e.g. "brb", as defined in the Statuses property.
Referenced by TpPrototype::Account::currentPresence(), and TpPrototype::PresenceManager::slotPresencesChanged().
The user-defined status message, e.g. "Back soon!".
Clients SHOULD set the status message for the local user to the empty string, unless the user has actually provided a specific message (i.e. one that conveys more information than the Status).
User interfaces SHOULD regard an empty status message as unset, and MAY replace it with a localized string corresponding to the Status or Type.
<tp:rationale> Use case: Daf sets his status in Empathy by choosing the Welsh translation of "Available" from a menu. It is more informative for his English-speaking colleagues to see the English translation of "Available" (as localized by their own clients) than to see "Ar Gael" (which they don't understand anyway). </tp:rationale>
Referenced by TpPrototype::PresenceManager::slotPresencesChanged().
The presence type, e.g. Connection_Presence_Type_Away.
Referenced by TpPrototype::PresenceManager::slotPresencesChanged().