6 #ifndef QXMPPREGISTRATIONMANAGER_H 7 #define QXMPPREGISTRATIONMANAGER_H 9 #include "QXmppClientExtension.h" 10 #include "QXmppRegisterIq.h" 12 class QXmppRegistrationManagerPrivate;
217 Q_PROPERTY(
bool supportedByServer READ supportedByServer NOTIFY supportedByServerChanged)
225 void changePassword(
const QString &newPassword);
226 void deleteAccount();
240 bool supportedByServer()
const;
242 void requestRegistrationForm(
const QString &service = {});
245 void setRegistrationFormToSend(
const QXmppDataForm &dataForm);
246 void sendCachedRegistrationForm();
248 bool registerOnConnectEnabled()
const;
249 void setRegisterOnConnectEnabled(
bool enabled);
261 Q_SIGNAL
void supportedByServerChanged();
270 Q_SIGNAL
void passwordChanged(
const QString &newPassword);
292 Q_SIGNAL
void accountDeleted();
305 Q_SIGNAL
void registrationSucceeded();
329 void setSupportedByServer(
bool supportedByServer);
330 void handleAccountDeleted();
332 const std::unique_ptr<QXmppRegistrationManagerPrivate> d;
335 #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:45
The QXmppRegistrationManager class manages in-band registration and account management tasks like cha...
Definition: QXmppRegistrationManager.h:212
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:111
Main class for starting and managing connections to XMPP servers.
Definition: QXmppClient.h:61