QXmpp Version:0.3.91
|
The QXmppPresence::Status class represents the status of an XMPP entity. More...
#include <QXmppPresence.h>
Public Types | |
enum | Type { Offline = 0, Online, Away, XA, DND, Chat } |
This enum is used to describe an availability status. More... | |
Public Member Functions | |
Status (QXmppPresence::Status::Type type=QXmppPresence::Status::Online, const QString statusText="", int priority=0) | |
Constructs a presence status. | |
QXmppPresence::Status::Type | type () const |
Returns the status type, for instance busy or away. | |
void | setType (QXmppPresence::Status::Type) |
Sets the status type. | |
QString | statusText () const |
Returns the status text, a textual description of the user's status. | |
void | setStatusText (const QString &) |
int | priority () const |
Returns the priority level of the resource. | |
void | setPriority (int) |
The QXmppPresence::Status class represents the status of an XMPP entity.
It stores information such as the "away", "busy" status of a user, or a human-readable description.
This enum is used to describe an availability status.
void QXmppPresence::Status::setPriority | ( | int | priority | ) |
Sets the priority level of the resource.
priority |
void QXmppPresence::Status::setStatusText | ( | const QString & | str | ) |
Sets the status text, a textual description of the user's status.
str | The status text, for example "Gone fishing". |