5 #ifndef QXMPPREMOTEMETHOD_H 6 #define QXMPPREMOTEMETHOD_H 8 #include "QXmppRpcIq.h" 15 struct QXmppRemoteMethodResult {
16 QXmppRemoteMethodResult() : hasError(false), code(0) { }
23 class QXMPP_EXPORT QXmppRemoteMethod :
public QObject
27 QXmppRemoteMethod(
const QString &jid,
const QString &method,
const QVariantList &args,
QXmppClient *client);
28 QXmppRemoteMethodResult call();
31 void gotError(
const QXmppRpcErrorIq &iq);
40 QXmppRemoteMethodResult m_result;
43 #endif // QXMPPREMOTEMETHOD_H The QXmppRpcResponseIq class represents an IQ used to carry an RPC response as specified by XEP-0009:...
Definition: QXmppRpcIq.h:25
The QXmppRpcInvokeIq class represents an IQ used to carry an RPC invocation as specified by XEP-0009:...
Definition: QXmppRpcIq.h:60
Main class for starting and managing connections to XMPP servers.
Definition: QXmppClient.h:61