summaryrefslogtreecommitdiff
path: root/src/profile.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/profile.h')
-rw-r--r--src/profile.h17
1 files changed, 13 insertions, 4 deletions
diff --git a/src/profile.h b/src/profile.h
index 9ddd5b89..a9d68062 100644
--- a/src/profile.h
+++ b/src/profile.h
@@ -79,6 +79,13 @@ public:
~Profile();
/**
+ * Determines the default settings for the profile based on the current state of the profile's
+ * files. This function should remain backwards compatible as much as possible.
+ **/
+
+ void findProfileSettings(void);
+
+ /**
* @return true if this profile (still) exists on disc
*/
bool exists() const;
@@ -230,7 +237,7 @@ public:
* retrieve the number of mods for which this object has status information.
* This is usually the same as ModInfo::getNumMods() except between
* calls to ModInfo::updateFromDisc() and the Profile::refreshModStatus()
- *
+ *
* @return number of mods for which the profile has status information
**/
size_t numMods() const { return m_ModStatus.size(); }
@@ -287,12 +294,14 @@ public:
void dumpModStatus() const;
- QVariant setting(const QString &section, const QString &name,
- const QVariant &fallback = QVariant());
+ QVariant setting(const QString &section, const QString &name = QString(),
+ const QVariant &fallback = QVariant()) const;
void storeSetting(const QString &section, const QString &name,
const QVariant &value);
- void removeSetting(const QString &section, const QString &name);
+ void storeSetting(const QString &name, const QVariant &value);
+ void removeSetting(const QString &section, const QString &name = QString());
+ void removeSetting(const QString &name);
int getPriorityMinimum() const;