Changeset View
Changeset View
Standalone View
Standalone View
src/ruqolacore/rocketchataccountsettings.cpp
Context not available. | |||||
184 | Q_EMIT passwordChanged(); | 184 | Q_EMIT passwordChanged(); | ||
---|---|---|---|---|---|
185 | } | 185 | } | ||
186 | 186 | | |||
187 | QString RocketChatAccountSettings::twoFactorAuthenticationCode() const | ||||
188 | { | ||||
189 | return mTwoFactorAuthenticationCode; | ||||
190 | } | ||||
191 | | ||||
192 | void RocketChatAccountSettings::setTwoFactorAuthenticationCode(const QString &twoFactorAuthenticationCode) | ||||
193 | { | ||||
194 | if (mTwoFactorAuthenticationCode != twoFactorAuthenticationCode) { | ||||
195 | mTwoFactorAuthenticationCode = twoFactorAuthenticationCode; | ||||
196 | | ||||
197 | Q_EMIT twoFactorAuthenticationCodeChanged(); | ||||
198 | } | ||||
199 | } | ||||
200 | | ||||
187 | QString RocketChatAccountSettings::userName() const | 201 | QString RocketChatAccountSettings::userName() const | ||
188 | { | 202 | { | ||
189 | return mUserName; | 203 | return mUserName; | ||
Context not available. |