Home · Modules · All Classes · All Namespaces |
The PresenceSpec class represents a Telepathy presence information supported by a protocol. More...
#include <TelepathyQt/PresenceSpec>
Public Types | |
enum | SimpleStatusFlag { NoFlags, MaySetOnSelf, CanHaveStatusMessage, AllFlags } |
Public Member Functions | |
PresenceSpec () | |
PresenceSpec (const QString &status, const SimpleStatusSpec &spec) | |
PresenceSpec (const PresenceSpec &other) | |
~PresenceSpec () | |
bool | isValid () const |
PresenceSpec & | operator= (const PresenceSpec &other) |
bool | operator== (const PresenceSpec &other) const |
bool | operator!= (const PresenceSpec &other) const |
bool | operator< (const PresenceSpec &other) const |
Presence | presence (const QString &statusMessage=QString()) const |
bool | maySetOnSelf () const |
bool | canHaveStatusMessage () const |
SimpleStatusSpec | bareSpec () const |
Static Public Member Functions | |
static PresenceSpec | available (SimpleStatusFlags flags=AllFlags) |
static PresenceSpec | chat (SimpleStatusFlags flags=AllFlags) |
static PresenceSpec | pstn (SimpleStatusFlags flags=CanHaveStatusMessage) |
static PresenceSpec | away (SimpleStatusFlags flags=AllFlags) |
static PresenceSpec | brb (SimpleStatusFlags flags=AllFlags) |
static PresenceSpec | dnd (SimpleStatusFlags flags=AllFlags) |
static PresenceSpec | busy (SimpleStatusFlags flags=AllFlags) |
static PresenceSpec | xa (SimpleStatusFlags flags=AllFlags) |
static PresenceSpec | hidden (SimpleStatusFlags flags=AllFlags) |
static PresenceSpec | offline (SimpleStatusFlags flags=CanHaveStatusMessage) |
static PresenceSpec | unknown (SimpleStatusFlags flags=CanHaveStatusMessage) |
static PresenceSpec | error (SimpleStatusFlags flags=CanHaveStatusMessage) |
The PresenceSpec class represents a Telepathy presence information supported by a protocol.
Tp::PresenceSpec::PresenceSpec | ( | ) |
Tp::PresenceSpec::PresenceSpec | ( | const QString & | status, |
const SimpleStatusSpec & | spec | ||
) |
Tp::PresenceSpec::PresenceSpec | ( | const PresenceSpec & | other | ) |
Tp::PresenceSpec::~PresenceSpec | ( | ) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
inline |
PresenceSpec & Tp::PresenceSpec::operator= | ( | const PresenceSpec & | other | ) |
bool Tp::PresenceSpec::operator== | ( | const PresenceSpec & | other | ) | const |
bool Tp::PresenceSpec::operator!= | ( | const PresenceSpec & | other | ) | const |
bool Tp::PresenceSpec::operator< | ( | const PresenceSpec & | other | ) | const |
Presence Tp::PresenceSpec::presence | ( | const QString & | statusMessage = QString() | ) | const |
bool Tp::PresenceSpec::maySetOnSelf | ( | ) | const |
bool Tp::PresenceSpec::canHaveStatusMessage | ( | ) | const |
SimpleStatusSpec Tp::PresenceSpec::bareSpec | ( | ) | const |
TelepathyQt 0.9.8 | Generated by 1.8.15 |