1 #ifndef LAUNCHERSETTINGS_HPP
2 #define LAUNCHERSETTINGS_HPP
24 void setContentList(
const QString& contentListName,
const QStringList& fileNames);
35 static QStringList
reverse(
const QStringList& toReverse);
45 static bool isEqual(
const QStringList& list1,
const QStringList& list2);
49 QStringList
subKeys(
const QString &key);
60 #endif // LAUNCHERSETTINGS_HPP
QStringList getContentListFiles(const QString &contentListName) const
Definition: launchersettings.cpp:154
~LauncherSettings()
Definition: launchersettings.cpp:19
static QStringList reverse(const QStringList &toReverse)
Definition: launchersettings.cpp:160
void removeContentList(const QString &contentListName)
Definition: launchersettings.cpp:128
static QString makeContentListKey(const QString &contentListName)
Definition: launchersettings.cpp:96
QStringList subKeys(const QString &key)
Definition: launchersettings.cpp:23
static const char sContentListSuffix[]
Definition: launchersettings.hpp:57
QString getCurrentContentListName() const
Definition: launchersettings.cpp:149
void setCurrentContentListName(const QString &contentListName)
Definition: launchersettings.cpp:133
static QString makeNewContentListName()
Definition: launchersettings.cpp:187
Definition: settingsbase.hpp:13
static const char sLauncherConfigFileName[]
Definition: launchersettings.hpp:37
void setContentList(const GameSettings &gameSettings)
Set initially selected content list to match values from openmw.cfg, creating if necessary.
Definition: launchersettings.cpp:101
LauncherSettings()
Definition: launchersettings.cpp:15
static const char sCurrentContentListKey[]
name of entry in launcher.cfg that holds name of currently selected Content List
Definition: launchersettings.hpp:52
static bool isEqual(const QStringList &list1, const QStringList &list2)
Definition: launchersettings.cpp:168
Definition: launchersettings.hpp:9
QStringList getContentLists()
Definition: launchersettings.cpp:91
bool writeFile(QTextStream &stream)
Definition: launchersettings.cpp:52
static const char sContentListsSectionPrefix[]
section of launcher.cfg holding the Content Lists
Definition: launchersettings.hpp:55
Definition: gamesettings.hpp:20