#include <gamesettings.hpp>
Config::GameSettings::~GameSettings |
( |
| ) |
|
void Config::GameSettings::addDataDir |
( |
const QString & |
dir | ) |
|
|
inline |
void Config::GameSettings::clear |
( |
| ) |
|
QStringList Config::GameSettings::getContentList |
( |
| ) |
const |
QStringList Config::GameSettings::getDataDirs |
( |
| ) |
|
|
inline |
QString Config::GameSettings::getDataLocal |
( |
| ) |
|
|
inline |
bool Config::GameSettings::hasMaster |
( |
| ) |
|
bool Config::GameSettings::isOrderedLine |
( |
const QString & |
line | ) |
const |
|
private |
bool Config::GameSettings::readFile |
( |
QTextStream & |
stream | ) |
|
bool Config::GameSettings::readFile |
( |
QTextStream & |
stream, |
|
|
QMap< QString, QString > & |
settings |
|
) |
| |
bool Config::GameSettings::readUserFile |
( |
QTextStream & |
stream | ) |
|
void Config::GameSettings::remove |
( |
const QString & |
key | ) |
|
|
inline |
void Config::GameSettings::removeDataDir |
( |
const QString & |
dir | ) |
|
|
inline |
void Config::GameSettings::setContentList |
( |
const QStringList & |
fileNames | ) |
|
void Config::GameSettings::setMultiValue |
( |
const QString & |
key, |
|
|
const QString & |
value |
|
) |
| |
|
inline |
void Config::GameSettings::setValue |
( |
const QString & |
key, |
|
|
const QString & |
value |
|
) |
| |
|
inline |
void Config::GameSettings::validatePaths |
( |
| ) |
|
|
private |
QString Config::GameSettings::value |
( |
const QString & |
key, |
|
|
const QString & |
defaultValue = QString() |
|
) |
| |
|
inline |
QStringList Config::GameSettings::values |
( |
const QString & |
key, |
|
|
const QStringList & |
defaultValues = QStringList() |
|
) |
| const |
bool Config::GameSettings::writeFile |
( |
QTextStream & |
stream | ) |
|
bool Config::GameSettings::writeFileWithComments |
( |
QFile & |
file | ) |
|
QStringList Config::GameSettings::mDataDirs |
|
private |
QString Config::GameSettings::mDataLocal |
|
private |
QMap<QString, QString> Config::GameSettings::mSettings |
|
private |
QMap<QString, QString> Config::GameSettings::mUserSettings |
|
private |
const char Config::GameSettings::sContentKey = "content" |
|
staticprivate |
The documentation for this class was generated from the following files: