6 #ifndef QXMPPREGISTRATIONMANAGER_H 7 #define QXMPPREGISTRATIONMANAGER_H 9 #include "QXmppClientExtension.h" 10 #include "QXmppRegisterIq.h" 12 class 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);
274 void supportedByServerChanged();
283 void passwordChanged(
const QString &newPassword);
305 void accountDeleted();
318 void registrationSucceeded();
342 void setSupportedByServer(
bool supportedByServer);
343 void handleAccountDeleted();
345 const std::unique_ptr<QXmppRegistrationManagerPrivate> d;
348 #endif // QXMPPREGISTRATIONMANAGER_H virtual void onRegistered(QXmppClient *client)
Definition: QXmppClientExtension.cpp:85
The QXmppRegisterIq class represents a registration IQ as defined by XEP-0077: In-Band Registration...
Definition: QXmppRegisterIq.h:22
virtual void onUnregistered(QXmppClient *client)
Definition: QXmppClientExtension.cpp:95
virtual bool handleStanza(const QDomElement &stanza)
You need to implement this method to process incoming XMPP stanzas.
Definition: client/compat/removed_api.cpp:26
Definition: QXmppDiscoveryIq.h:17
The QXmppRegistrationManager class manages in-band registration and account management tasks like cha...
Definition: QXmppRegistrationManager.h:224
virtual QStringList discoveryFeatures() const
Definition: QXmppClientExtension.cpp:22
The QXmppClientExtension class is the base class for QXmppClient extensions.
Definition: QXmppClientExtension.h:31
The Error class represents a stanza error.
Definition: QXmppStanza.h:93
Main class for starting and managing connections to XMPP servers.
Definition: QXmppClient.h:61