35 QString requestInfo(
const QString &jid,
const QString &node = QString());
36 QString requestItems(
const QString &jid,
const QString &node = QString());
38 using InfoResult = std::variant<QXmppDiscoveryIq, QXmppError>;
43 QString clientCapabilitiesNode()
const;
44 void setClientCapabilitiesNode(
const QString &);
47 QString clientCategory()
const;
48 void setClientCategory(
const QString &);
50 void setClientName(
const QString &);
51 QString clientName()
const;
53 QString clientType()
const;
54 void setClientType(
const QString &);
62 std::variant<QXmppDiscoveryIq, QXmppStanza::Error> handleIq(
QXmppDiscoveryIq &&iq);
73 const std::unique_ptr<QXmppDiscoveryManagerPrivate> d;
The QXmppClientExtension class is the base class for QXmppClient extensions.
Definition QXmppClientExtension.h:33
virtual QStringList discoveryFeatures() const
Definition QXmppClientExtension.cpp:22
virtual bool handleStanza(const QDomElement &stanza)
You need to implement this method to process incoming XMPP stanzas.
Definition QXmppClientExtension.cpp:51