|
QXmpp Version: 1.11.3
|
Represents an extended address as defined by XEP-0033: Extended Stanza Addressing. More...
#include <QXmppStanza.h>
Public Member Functions | |
| QXmppExtendedAddress () | |
| QXmppExtendedAddress (const QXmppExtendedAddress &) | |
| Default copy-constructur. | |
| QXmppExtendedAddress (QXmppExtendedAddress &&) | |
| Default move-constructur. | |
| QXmppExtendedAddress & | operator= (const QXmppExtendedAddress &) |
| Default assignment operator. | |
| QXmppExtendedAddress & | operator= (QXmppExtendedAddress &&) |
| Default assignment operator. | |
| QString | description () const |
| void | setDescription (const QString &description) |
| QString | jid () const |
| void | setJid (const QString &jid) |
| QString | type () const |
| void | setType (const QString &type) |
| bool | isDelivered () const |
| void | setDelivered (bool) |
| bool | isValid () const |
Represents an extended address as defined by XEP-0033: Extended Stanza Addressing.
Extended addresses maybe of different types: some are defined by XEP-0033, others are defined in separate XEPs (for instance XEP-0146: Remote Controlling Clients). That is why the "type" property is a string rather than an enumerated type.
| QXmppExtendedAddress::QXmppExtendedAddress | ( | ) |
Constructs an empty extended address.
| QString QXmppExtendedAddress::description | ( | ) | const |
Returns the human-readable description of the address.
| bool QXmppExtendedAddress::isDelivered | ( | ) | const |
Returns whether the stanza has been delivered to this address.
| bool QXmppExtendedAddress::isValid | ( | ) | const |
Checks whether this address is valid. The extended address is considered to be valid if at least type and JID fields are non-empty.
| QString QXmppExtendedAddress::jid | ( | ) | const |
Returns the JID of the address.
| void QXmppExtendedAddress::setDelivered | ( | bool | delivered | ) |
Sets whether the stanza has been delivered to this address.
| void QXmppExtendedAddress::setDescription | ( | const QString & | description | ) |
Sets the human-readable description of the address.
| void QXmppExtendedAddress::setJid | ( | const QString & | jid | ) |
Sets the JID of the address.
| void QXmppExtendedAddress::setType | ( | const QString & | type | ) |
Sets the type of the address.
| QString QXmppExtendedAddress::type | ( | ) | const |
Returns the type of the address.