summaryrefslogtreecommitdiff
path: root/src/settingsdialog.h
diff options
context:
space:
mode:
authorisanae <14251494+isanae@users.noreply.github.com>2019-07-12 02:46:31 -0400
committerisanae <14251494+isanae@users.noreply.github.com>2019-07-12 02:46:31 -0400
commit45f0a9e78ac876a2a956bc538c6d34358703e338 (patch)
treee05b9248f09255154359fb4237f5b36faed2800e /src/settingsdialog.h
parentbe1ee2a97c867a80c07c4b865c306977d96249dc (diff)
nexus info and stats in settings
cleaned up double logging for github reset validation progress dialog parent just before the main window dies removed unused APIStats from APIUserAccount, added isValid()
Diffstat (limited to 'src/settingsdialog.h')
-rw-r--r--src/settingsdialog.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/settingsdialog.h b/src/settingsdialog.h
index 1741fc13..c5f487fd 100644
--- a/src/settingsdialog.h
+++ b/src/settingsdialog.h
@@ -145,15 +145,21 @@ private:
std::unique_ptr<NexusSSOLogin> m_nexusLogin;
std::unique_ptr<NexusKeyValidator> m_nexusValidator;
+ void validateKey(const QString& key);
bool setKey(const QString& key);
bool clearKey();
+
+ void updateNexusState();
void updateNexusButtons();
+ void updateNexusData();
void onSSOKeyChanged(const QString& key);
void onSSOStateChanged(NexusSSOLogin::States s, const QString& e);
void onValidatorStateChanged(NexusKeyValidator::States s, const QString& e);
void onValidatorFinished(const APIUserAccount& user);
+
+ void addNexusLog(const QString& s);
};
#endif // SETTINGSDIALOG_H