QXmppIq Class
The QXmppIq class is the base class for all IQs. More...
- List of all members, including inherited members
- QXmppIq is part of Stanzas.
Public Types
| enum | Type { Error, Get, Set, Result } |
Public Functions
| QXmppIq(QXmppIq::Type type = QXmppIq::Get) | |
| QXmppIq(const QXmppIq &other) | |
| QXmppIq(QXmppIq &&) | |
| void | setType(QXmppIq::Type type) |
| QXmppIq::Type | type() const |
| QXmppIq & | operator=(QXmppIq &&) |
| QXmppIq & | operator=(const QXmppIq &other) |
Reimplemented Public Functions
(since QXmpp 1.0) virtual bool | isXmppStanza() const override |
Detailed Description
Member Type Documentation
enum QXmppIq::Type
This enum describes the type of IQ.
| Constant | Value | Description |
|---|---|---|
QXmppIq::Error | 0 | Error response. |
QXmppIq::Get | 1 | Get request. |
QXmppIq::Set | 2 | Set request. |
QXmppIq::Result | 3 | Result. |
Member Function Documentation
QXmppIq::QXmppIq(QXmppIq::Type type = QXmppIq::Get)
Constructs a QXmppIq with the specified type.
QXmppIq::QXmppIq(const QXmppIq &other)
Constructs a copy of other.
QXmppIq::QXmppIq(QXmppIq &&)
Default move-constructor.
[override virtual, since QXmpp 1.0] bool QXmppIq::isXmppStanza() const
Reimplements: QXmppNonza::isXmppStanza() const.
Returns whether the QXmppStanza is a stanza in the XMPP sense (i. e. a message, iq or presence)
This function was introduced in QXmpp 1.0.
void QXmppIq::setType(QXmppIq::Type type)
Sets the IQ's type to type.
See also type().
QXmppIq::Type QXmppIq::type() const
Returns the IQ's type.
See also setType().
QXmppIq &QXmppIq::operator=(QXmppIq &&)
Move-assignment operator.
QXmppIq &QXmppIq::operator=(const QXmppIq &other)
Assigns other to this IQ.