6 #ifndef QXMPPREGISTRATIONMANAGER_H 7 #define QXMPPREGISTRATIONMANAGER_H 9 #include "QXmppClientExtension.h" 10 #include "QXmppRegisterIq.h" 12 class QXmppRegistrationManagerPrivate;
226 Q_PROPERTY(
bool supportedByServer READ supportedByServer NOTIFY supportedByServerChanged)
234 void changePassword(
const QString &newPassword);
235 void deleteAccount();
249 bool supportedByServer()
const;
251 void requestRegistrationForm(
const QString &service = {});
254 void setRegistrationFormToSend(
const QXmppDataForm &dataForm);
255 void sendCachedRegistrationForm();
257 bool registerOnConnectEnabled()
const;
258 void setRegisterOnConnectEnabled(
bool enabled);
271 void supportedByServerChanged();
280 void passwordChanged(
const QString &newPassword);
309 void accountDeleted();
322 void registrationSucceeded();
347 void setSupportedByServer(
bool supportedByServer);
349 const std::unique_ptr<QXmppRegistrationManagerPrivate> d;
352 #endif // QXMPPREGISTRATIONMANAGER_H The QXmppRegisterIq class represents a registration IQ as defined by XEP-0077: In-Band Registration...
Definition: QXmppRegisterIq.h:22
virtual bool handleStanza(const QDomElement &stanza)
You need to implement this method to process incoming XMPP stanzas.
Definition: QXmppClientExtension.cpp:51
Definition: QXmppDiscoveryIq.h:17
The QXmppRegistrationManager class manages in-band registration and account management tasks like cha...
Definition: QXmppRegistrationManager.h:221
virtual QStringList discoveryFeatures() const
Definition: QXmppClientExtension.cpp:22
The QXmppClientExtension class is the base class for QXmppClient extensions.
Definition: QXmppClientExtension.h:32
The Error class represents a stanza error.
Definition: QXmppStanza.h:93
virtual void setClient(QXmppClient *client)
Definition: QXmppClientExtension.cpp:88
The QXmppClient class is the main class for using QXmpp.
Definition: QXmppClient.h:83