Changeset View
Changeset View
Standalone View
Standalone View
src/ruqolacore/rocketchataccountsettings.h
Context not available. | |||||
57 | Q_REQUIRED_RESULT QString password() const; | 57 | Q_REQUIRED_RESULT QString password() const; | ||
---|---|---|---|---|---|
58 | void setPassword(const QString &password); | 58 | void setPassword(const QString &password); | ||
59 | 59 | | |||
60 | Q_REQUIRED_RESULT QString twoFactorAuthenticationCode() const; | ||||
61 | void setTwoFactorAuthenticationCode(const QString &twoFactorAuthenticationCode); | ||||
62 | | ||||
60 | void removeSettings(); | 63 | void removeSettings(); | ||
61 | 64 | | |||
62 | Q_REQUIRED_RESULT bool showUnreadOnTop() const; | 65 | Q_REQUIRED_RESULT bool showUnreadOnTop() const; | ||
Context not available. | |||||
73 | void userIDChanged(); | 76 | void userIDChanged(); | ||
74 | void accountNameChanged(); | 77 | void accountNameChanged(); | ||
75 | void passwordChanged(); | 78 | void passwordChanged(); | ||
79 | void twoFactorAuthenticationCodeChanged(); | ||||
76 | 80 | | |||
77 | private: | 81 | private: | ||
78 | Q_DISABLE_COPY(RocketChatAccountSettings) | 82 | Q_DISABLE_COPY(RocketChatAccountSettings) | ||
Context not available. | |||||
87 | QString mCachePath; | 91 | QString mCachePath; | ||
88 | QString mUserName; | 92 | QString mUserName; | ||
89 | QString mPassword; | 93 | QString mPassword; | ||
94 | QString mTwoFactorAuthenticationCode; | ||||
90 | qint64 mExpireToken = -1; | 95 | qint64 mExpireToken = -1; | ||
91 | QSettings *mSetting = nullptr; | 96 | QSettings *mSetting = nullptr; | ||
92 | bool mShowUnreadOnTop = false; | 97 | bool mShowUnreadOnTop = false; | ||
Context not available. |