diff options
| author | LostDragonist <lost.dragonist@gmail.com> | 2019-06-04 20:25:13 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-06-04 20:25:13 -0500 |
| commit | e6f5e471a73dc0d4e3994c23c51721d805144742 (patch) | |
| tree | a0af6727b1706cbd5981d08c7838062ccd73f8ba /src/settings.h | |
| parent | 2fb33d891f15a598b16d34960a51bff0be30bcdc (diff) | |
| parent | c31303c6af77a47e61efd94022302f860ed5ebfc (diff) | |
Merge pull request #749 from isanae/manual-nexus-api-key
New dialog to manually enter Nexus API key
Diffstat (limited to 'src/settings.h')
| -rw-r--r-- | src/settings.h | 30 |
1 files changed, 18 insertions, 12 deletions
diff --git a/src/settings.h b/src/settings.h index 04a0646e..bccd1e81 100644 --- a/src/settings.h +++ b/src/settings.h @@ -188,6 +188,24 @@ public: bool getNexusApiKey(QString &apiKey) const; /** + * @brief set the nexus login information + * + * @param username username + * @param password password + */ + bool setNexusApiKey(const QString& apiKey); + + /** + * @brief clears the nexus login information + */ + bool clearNexusApiKey(); + + /** + * @brief returns whether an API key is currently stored + */ + bool hasNexusApiKey() const; + + /** * @brief retrieve the login information for steam * * @param username (out) receives the user name for nexus @@ -241,14 +259,6 @@ public: QString executablesBlacklist() const; /** - * @brief set the nexus login information - * - * @param username username - * @param password password - */ - void setNexusApiKey(QString apiKey); - - /** * @brief set the steam login information * * @param username username @@ -481,7 +491,6 @@ private: void update(); private: - QPushButton *m_nexusConnect; QCheckBox *m_offlineBox; QCheckBox *m_proxyBox; QListWidget *m_knownServersList; @@ -538,9 +547,6 @@ private: private slots: void resetDialogs(); - void processApiKey(const QString &); - void clearApiKey(QPushButton *nexusButton); - void checkApiKey(QPushButton *nexusButton); signals: |
