13class QXMPP_EXPORT QXmppRpcMarshaller
16 static void marshall(QXmlStreamWriter *writer,
const QVariant &value);
17 static QVariant demarshall(
const QDomElement &elem, QStringList &errors);
30 int faultCode()
const;
31 void setFaultCode(
int faultCode);
33 QString faultString()
const;
34 void setFaultString(
const QString &faultString);
36 QVariantList values()
const;
37 void setValues(
const QVariantList &values);
40 static bool isRpcResponseIq(
const QDomElement &element);
45 void parseElementFromChild(
const QDomElement &element)
override;
46 void toXmlElementFromChild(QXmlStreamWriter *writer)
const override;
51 QString m_faultString;
52 QVariantList m_values;
65 QString method()
const;
66 void setMethod(
const QString &method);
68 QVariantList arguments()
const;
69 void setArguments(
const QVariantList &arguments);
72 static bool isRpcInvokeIq(
const QDomElement &element);
77 void parseElementFromChild(
const QDomElement &element)
override;
78 void toXmlElementFromChild(QXmlStreamWriter *writer)
const override;
82 QVariantList m_arguments;
85 friend class QXmppRpcErrorIq;
88class QXMPP_EXPORT QXmppRpcErrorIq :
public QXmppIq
97 static bool isRpcErrorIq(
const QDomElement &element);
102 void parseElementFromChild(
const QDomElement &element)
override;
103 void toXmlElementFromChild(QXmlStreamWriter *writer)
const override;
The QXmppIq class is the base class for all IQs.
Definition QXmppIq.h:23
The QXmppRpcInvokeIq class represents an IQ used to carry an RPC invocation as specified by XEP-0009:...
Definition QXmppRpcIq.h:61
The QXmppRpcResponseIq class represents an IQ used to carry an RPC response as specified by XEP-0009:...
Definition QXmppRpcIq.h:26