forked from blue/squawk
actual pasword reasking on failed authentication
This commit is contained in:
parent
ce686e121b
commit
8f949277f6
13 changed files with 347 additions and 28 deletions
|
@ -61,6 +61,12 @@ class Account : public QObject
|
|||
friend class RosterHandler;
|
||||
friend class VCardHandler;
|
||||
public:
|
||||
enum class Error {
|
||||
authentication,
|
||||
other,
|
||||
none
|
||||
};
|
||||
|
||||
Account(
|
||||
const QString& p_login,
|
||||
const QString& p_server,
|
||||
|
@ -82,6 +88,7 @@ public:
|
|||
QString getFullJid() const;
|
||||
Shared::Availability getAvailability() const;
|
||||
Shared::AccountPassword getPasswordType() const;
|
||||
Error getLastError() const;
|
||||
bool getActive() const;
|
||||
|
||||
void setName(const QString& p_name);
|
||||
|
@ -166,6 +173,7 @@ private:
|
|||
|
||||
NetworkAccess* network;
|
||||
Shared::AccountPassword passwordType;
|
||||
Error lastError;
|
||||
bool pepSupport;
|
||||
bool active;
|
||||
bool notReadyPassword;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue