QXmppPasswordReply Class
The QXmppPasswordReply class represents a password reply. More...
| Header: | #include <QXmppPasswordChecker.h> |
Public Types
| enum | Error { NoError, AuthorizationError, TemporaryError } |
Public Functions
| QXmppPasswordReply(QObject *parent = nullptr) | |
| QByteArray | digest() const |
| QXmppPasswordReply::Error | error() const |
| bool | isFinished() const |
| QString | password() const |
| void | setDigest(const QByteArray &digest) |
| void | setError(QXmppPasswordReply::Error error) |
| void | setPassword(const QString &password) |
Public Slots
| void | finish() |
| void | finishLater() |
Signals
| void | finished() |
Detailed Description
Member Type Documentation
enum QXmppPasswordReply::Error
This enum is used to describe authentication errors.
| Constant | Value |
|---|---|
QXmppPasswordReply::NoError | 0 |
QXmppPasswordReply::AuthorizationError | 1 |
QXmppPasswordReply::TemporaryError | 2 |
Member Function Documentation
QXmppPasswordReply::QXmppPasswordReply(QObject *parent = nullptr)
Constructs a new QXmppPasswordReply.
parent.
QByteArray QXmppPasswordReply::digest() const
Returns the received MD5 digest.
See also setDigest().
QXmppPasswordReply::Error QXmppPasswordReply::error() const
Returns the error that was found during the processing of this request.
If no error was found, returns NoError.
See also setError().
[slot] void QXmppPasswordReply::finish()
Mark reply as finished.
[slot] void QXmppPasswordReply::finishLater()
Delay marking reply as finished.
[signal] void QXmppPasswordReply::finished()
This signal is emitted when the reply has finished.
bool QXmppPasswordReply::isFinished() const
Returns true when the reply has finished.
QString QXmppPasswordReply::password() const
Returns the received password.
See also setPassword().
void QXmppPasswordReply::setDigest(const QByteArray &digest)
Sets the received MD5 digest.
See also digest().
void QXmppPasswordReply::setError(QXmppPasswordReply::Error error)
Returns the error that was found during the processing of this request.
See also error().
void QXmppPasswordReply::setPassword(const QString &password)
Sets the received password.
See also password().