#include <launchersettings.hpp>
|
static QStringList | reverse (const QStringList &toReverse) |
|
|
QStringList | subKeys (const QString &key) |
|
Config::LauncherSettings::LauncherSettings |
( |
| ) |
|
Config::LauncherSettings::~LauncherSettings |
( |
| ) |
|
QStringList Config::LauncherSettings::getContentListFiles |
( |
const QString & |
contentListName | ) |
const |
QStringList Config::LauncherSettings::getContentLists |
( |
| ) |
|
- Returns
- names of all Content Lists in the launcher's .cfg file.
QString Config::LauncherSettings::getCurrentContentListName |
( |
| ) |
const |
bool Config::LauncherSettings::isEqual |
( |
const QStringList & |
list1, |
|
|
const QStringList & |
list2 |
|
) |
| |
|
staticprivate |
- Returns
- true if both lists are same
QString Config::LauncherSettings::makeContentListKey |
( |
const QString & |
contentListName | ) |
|
|
staticprivate |
- Returns
- key to use to get/set the files in the specified Content List
QString Config::LauncherSettings::makeNewContentListName |
( |
| ) |
|
|
staticprivate |
void Config::LauncherSettings::removeContentList |
( |
const QString & |
contentListName | ) |
|
QStringList Config::LauncherSettings::reverse |
( |
const QStringList & |
toReverse | ) |
|
|
static |
- Returns
- new list that is reversed order of input
void Config::LauncherSettings::setContentList |
( |
const GameSettings & |
gameSettings | ) |
|
Set initially selected content list to match values from openmw.cfg, creating if necessary.
void Config::LauncherSettings::setContentList |
( |
const QString & |
contentListName, |
|
|
const QStringList & |
fileNames |
|
) |
| |
Create a Content List (or replace if it already exists)
void Config::LauncherSettings::setCurrentContentListName |
( |
const QString & |
contentListName | ) |
|
QStringList Config::LauncherSettings::subKeys |
( |
const QString & |
key | ) |
|
|
private |
bool Config::LauncherSettings::writeFile |
( |
QTextStream & |
stream | ) |
|
const char Config::LauncherSettings::sContentListsSectionPrefix = "Profiles/" |
|
staticprivate |
section of launcher.cfg holding the Content Lists
const char Config::LauncherSettings::sContentListSuffix = "/content" |
|
staticprivate |
const char Config::LauncherSettings::sCurrentContentListKey = "Profiles/currentprofile" |
|
staticprivate |
name of entry in launcher.cfg that holds name of currently selected Content List
const char Config::LauncherSettings::sLauncherConfigFileName = "launcher.cfg" |
|
static |
The documentation for this class was generated from the following files: