6#ifndef QXMPPREGISTRATIONMANAGER_H
7#define QXMPPREGISTRATIONMANAGER_H
9#include "QXmppClientExtension.h"
10#include "QXmppRegisterIq.h"
12class QXmppRegistrationManagerPrivate;
229 Q_PROPERTY(
bool supportedByServer READ supportedByServer NOTIFY supportedByServerChanged)
237 void changePassword(
const QString &newPassword);
238 void deleteAccount();
252 bool supportedByServer()
const;
254 void requestRegistrationForm(
const QString &service = {});
257 void setRegistrationFormToSend(
const QXmppDataForm &dataForm);
258 void sendCachedRegistrationForm();
260 bool registerOnConnectEnabled()
const;
261 void setRegisterOnConnectEnabled(
bool enabled);
342 void setSupportedByServer(
bool supportedByServer);
343 void handleAccountDeleted();
345 const std::unique_ptr<QXmppRegistrationManagerPrivate> d;
The QXmppClientExtension class is the base class for QXmppClient extensions.
Definition: QXmppClientExtension.h:32
virtual QStringList discoveryFeatures() const
Definition: QXmppClientExtension.cpp:22
virtual void onUnregistered(QXmppClient *client)
Definition: QXmppClientExtension.cpp:95
virtual void onRegistered(QXmppClient *client)
Definition: QXmppClientExtension.cpp:85
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: QXmppDiscoveryIq.h:18
The QXmppRegisterIq class represents a registration IQ as defined by XEP-0077: In-Band Registration.
Definition: QXmppRegisterIq.h:23
The QXmppRegistrationManager class manages in-band registration and account management tasks like cha...
Definition: QXmppRegistrationManager.h:225
void registrationFormReceived(const QXmppRegisterIq &iq)
void passwordChangeFailed(QXmppStanza::Error error)
void passwordChanged(const QString &newPassword)
void registrationFailed(const QXmppStanza::Error &error)
void accountDeletionFailed(QXmppStanza::Error error)
void registrationSucceeded()
void supportedByServerChanged()
The Error class represents a stanza error.
Definition: QXmppStanza.h:94