5 #ifndef QXMPPREMOTEMETHOD_H 6 #define QXMPPREMOTEMETHOD_H 8 #include "QXmppRpcIq.h" 15 #if QXMPP_DEPRECATED_SINCE(1, 12) 17 QT_WARNING_DISABLE_DEPRECATED
20 struct [[deprecated("Removed from public API (unmaintained)")]] QXmppRemoteMethodResult {
21 QXmppRemoteMethodResult() :
hasError(false), code(0) { }
28 class QXMPP_EXPORT Q_DECL_DEPRECATED_X("Removed from public API (unmaintained)") QXmppRemoteMethod :
public QObject
32 QXmppRemoteMethod(
const QString &jid,
const QString &method,
const QVariantList &args,
QXmppClient *client);
33 QXmppRemoteMethodResult call();
35 Q_SIGNAL
void callDone();
38 Q_SLOT
void gotError(
const QXmppRpcErrorIq &iq);
43 QXmppRemoteMethodResult m_result;
50 #endif // QXMPPREMOTEMETHOD_H The QXmppRpcResponseIq class represents an IQ used to carry an RPC response as specified by XEP-0009:...
Definition: QXmppRpcIq.h:25
bool hasError(const Result< T > &r)
Definition: QXmppGlobal.h:224
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