Home · All Classes · All Namespaces · Modules · Functions · Files
Public Attributes
Tp::SimplePresence Struct Reference

#include <TelepathyQt4/Types>

List of all members.

Public Attributes


Detailed Description

Structure type generated from the specification.

A struct representing the presence of a contact.


Member Data Documentation

The presence type, e.g. Connection_Presence_Type_Away.

The string identifier of the status, e.g. "brb", as defined in the Statuses property.

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.

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).


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt4 0.6.5