summaryrefslogtreecommitdiff
path: root/src/settings.h
diff options
context:
space:
mode:
authorisanae <14251494+isanae@users.noreply.github.com>2019-08-17 08:27:13 -0400
committerisanae <14251494+isanae@users.noreply.github.com>2019-08-17 08:27:13 -0400
commit7cc5f220520ab19940462fb6d2f660d8b7e2d600 (patch)
tree0f66ecd267b063dbf6b519c0de2a34d06d30250c /src/settings.h
parentd9cb15f1d117b91f0d75c1b7702696f7da93d3d2 (diff)
put tutorials in the settings
finished moving endorsement to settings
Diffstat (limited to 'src/settings.h')
-rw-r--r--src/settings.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/settings.h b/src/settings.h
index 167c74fc..5044af98 100644
--- a/src/settings.h
+++ b/src/settings.h
@@ -98,6 +98,10 @@ enum class EndorsementState
NoDecision
};
+EndorsementState endorsementStateFromString(const QString& s);
+QString toString(EndorsementState s);
+
+
/**
* manages the settings for Mod Organizer. The settings are not cached
* inside the class but read/written directly from/to disc
@@ -226,6 +230,8 @@ public:
std::vector<std::map<QString, QVariant>> getExecutables() const;
void setExecutables(const std::vector<std::map<QString, QVariant>>& v);
+ bool isTutorialCompleted(const QString& windowName) const;
+ void setTutorialCompleted(const QString& windowName, bool b=true);
std::optional<int> getIndex(QComboBox* cb) const;
void saveIndex(const QComboBox* cb);
@@ -364,6 +370,8 @@ public:
bool endorsementIntegration() const;
EndorsementState endorsementState() const;
+ void setEndorsementState(EndorsementState s);
+ void setEndorsementState(const QString& s);
/**
* @return true if the API counter should be hidden