5#ifndef QXMPPVCARDMANAGER_H
6#define QXMPPVCARDMANAGER_H
8#include "QXmppClientExtension.h"
15class QXmppVCardManagerPrivate;
48 using Result = std::variant<QXmpp::Success, QXmppError>;
58 QString requestVCard(
const QString &bareJid = QString());
63 QString requestClientVCard();
64 bool isClientVCardReceived()
const;
85 const std::unique_ptr<QXmppVCardManagerPrivate> d;
The QXmppClientExtension class is the base class for QXmppClient extensions.
Definition: QXmppClientExtension.h:32
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: client/compat/removed_api.cpp:26
Main class for starting and managing connections to XMPP servers.
Definition: QXmppClient.h:62
Definition: QXmppTask.h:62
Represents the XMPP vCard.
Definition: QXmppVCardIq.h:214
The QXmppVCardManager class gets/sets XMPP vCards. It is an implementation of XEP-0054: vcard-temp.
Definition: QXmppVCardManager.h:43
std::variant< QXmppVCardIq, QXmppError > VCardIqResult
QXmppVCardIq or QXmppError.
Definition: QXmppVCardManager.h:50
void vCardReceived(const QXmppVCardIq &)
void onUnregistered(QXmppClient *client) override
std::variant< QXmpp::Success, QXmppError > Result
Success or QXmppError.
Definition: QXmppVCardManager.h:48
void onRegistered(QXmppClient *client) override
void clientVCardReceived()
Definition: QXmppError.h:17