5 #ifndef QXMPPREMOTEMETHOD_H
6 #define QXMPPREMOTEMETHOD_H
8 #include "QXmppRpcIq.h"
15 struct QXmppRemoteMethodResult
17 QXmppRemoteMethodResult() : hasError(false), code(0) { }
24 class QXMPP_EXPORT QXmppRemoteMethod :
public QObject
28 QXmppRemoteMethod(
const QString &jid,
const QString &method,
const QVariantList &args,
QXmppClient *client);
29 QXmppRemoteMethodResult call();
32 void gotError(
const QXmppRpcErrorIq &iq);
41 QXmppRemoteMethodResult m_result;
The QXmppClient class is the main class for using QXmpp.
Definition: QXmppClient.h:84
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