QXmpp Version: 1.5.6
|
The QXmppRpcResponseIq class represents an IQ used to carry an RPC response as specified by XEP-0009: Jabber-RPC. More...
#include <QXmppRpcIq.h>
Public Member Functions | |
int | faultCode () const |
void | setFaultCode (int faultCode) |
QString | faultString () const |
void | setFaultString (const QString &faultString) |
QVariantList | values () const |
void | setValues (const QVariantList &values) |
Public Member Functions inherited from QXmppIq | |
QXmppIq (QXmppIq::Type type=QXmppIq::Get) | |
QXmppIq (const QXmppIq &other) | |
Constructs a copy of other. | |
QXmppIq (QXmppIq &&) | |
Default move-constructor. | |
QXmppIq & | operator= (const QXmppIq &other) |
Assigns other to this IQ. | |
QXmppIq & | operator= (QXmppIq &&) |
Move-assignment operator. | |
QXmppIq::Type | type () const |
void | setType (QXmppIq::Type) |
bool | isXmppStanza () const override |
Public Member Functions inherited from QXmppStanza | |
QXmppStanza (const QString &from=QString(), const QString &to=QString()) | |
QXmppStanza (const QXmppStanza &other) | |
Constructs a copy of other. | |
QXmppStanza (QXmppStanza &&) | |
Move constructor. | |
virtual | ~QXmppStanza () |
Destroys a QXmppStanza. | |
QXmppStanza & | operator= (const QXmppStanza &other) |
Assigns other to this stanza. | |
QXmppStanza & | operator= (QXmppStanza &&) |
Move-assignment operator. | |
QString | to () const |
void | setTo (const QString &) |
QString | from () const |
void | setFrom (const QString &) |
QString | id () const |
void | setId (const QString &) |
QString | lang () const |
void | setLang (const QString &) |
QXmppStanza::Error | error () const |
std::optional< Error > | errorOptional () const |
void | setError (const QXmppStanza::Error &error) |
void | setError (const std::optional< Error > &error) |
QXmppElementList | extensions () const |
void | setExtensions (const QXmppElementList &elements) |
QList< QXmppExtendedAddress > | extendedAddresses () const |
void | setExtendedAddresses (const QList< QXmppExtendedAddress > &extendedAddresses) |
std::optional< QXmppE2eeMetadata > | e2eeMetadata () const |
void | setE2eeMetadata (const std::optional< QXmppE2eeMetadata > &e2eeMetadata) |
Public Member Functions inherited from QXmppNonza | |
virtual void | parse (const QDomElement &)=0 |
virtual void | toXml (QXmlStreamWriter *writer) const =0 |
Additional Inherited Members | |
Public Types inherited from QXmppIq | |
enum | Type { Error = 0 , Get , Set , Result } |
This enum describes the type of IQ. More... | |
The QXmppRpcResponseIq class represents an IQ used to carry an RPC response as specified by XEP-0009: Jabber-RPC.
int QXmppRpcResponseIq::faultCode | ( | ) | const |
Returns the fault code.
QString QXmppRpcResponseIq::faultString | ( | ) | const |
Returns the fault string.
void QXmppRpcResponseIq::setFaultCode | ( | int | faultCode | ) |
Sets the fault code.
faultCode |
void QXmppRpcResponseIq::setFaultString | ( | const QString & | faultString | ) |
Sets the fault string.
faultString |
void QXmppRpcResponseIq::setValues | ( | const QVariantList & | values | ) |
Sets the response values.
values |
QVariantList QXmppRpcResponseIq::values | ( | ) | const |
Returns the response values.