summaryrefslogtreecommitdiff
path: root/src/settings.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/settings.h')
-rw-r--r--src/settings.h36
1 files changed, 18 insertions, 18 deletions
diff --git a/src/settings.h b/src/settings.h
index a9501b9d..f71949d2 100644
--- a/src/settings.h
+++ b/src/settings.h
@@ -498,24 +498,6 @@ class NexusSettings
public:
NexusSettings(Settings& parent, QSettings& settings);
- // if the key exists from the credentials store, puts it in `apiKey` and
- // returns true; otherwise, returns false and leaves `apiKey` untouched
- //
- bool apiKey(QString& apiKey) const;
-
- // sets the api key in the credentials store, removes it if empty; returns
- // false on errors
- //
- bool setApiKey(const QString& apiKey);
-
- // removes the api key from the credentials store; returns false on errors
- //
- bool clearApiKey();
-
- // returns whether an API key is currently stored
- //
- bool hasApiKey() const;
-
// returns whether endorsement integration is enabled
//
bool endorsementIntegration() const;
@@ -844,6 +826,24 @@ public:
static bool hideTutorialQuestion();
static void setHideTutorialQuestion(bool b);
+ // if the key exists from the credentials store, puts it in `apiKey` and
+ // returns true; otherwise, returns false and leaves `apiKey` untouched
+ //
+ static bool nexusApiKey(QString& apiKey);
+
+ // sets the api key in the credentials store, removes it if empty; returns
+ // false on errors
+ //
+ static bool setNexusApiKey(const QString& apiKey);
+
+ // removes the api key from the credentials store; returns false on errors
+ //
+ static bool clearNexusApiKey();
+
+ // returns whether an API key is currently stored
+ //
+ static bool hasNexusApiKey();
+
// resets anything that the user can disable
static void resetDialogs();