![]() |
VR-Forces 4.0.4 Class Documentation
|
Global configuration options. More...
Static Public Member Functions | |
| static const QString & | dataDir () |
| Directory where your database files are stored. | |
| static void | setDataDir (const QString &s) |
| set the data directory to something other than the default. | |
| static const QString & | configDir () |
| Directory where your confgiruation files are stored. | |
| static void | setConfigDir (const QString &s) |
| set the data directory to something other than the default. | |
| static const QString & | artworkDir () |
| Directory where your artwork files are stored. | |
| static void | setArtworkDir (const QString &s) |
| set the artwork directory to something other than the default. | |
| static const QString & | translationDir () |
| Directory where your translation files are stored. | |
| static void | setTranslationDir (const QString &s) |
| set the translation directory to something other than the default. | |
| static const QString & | documentationDir () |
| Directory where your documentation files are stored. | |
| static void | setDocumentationDir (const QString &s) |
| set the documentation directory to something other than the default. | |
| static QString | createRelativePath (QString &filePath, QString &workingDirPath) |
| Returns a relative file path if available. | |
| static const QString & | logDirectory () |
| Where to place log files. Default is ".". | |
| static void | setLogDirectory (const QString &) |
| static QString | cleanPath (const QString &) |
| Returns an absolute path. | |
Static Protected Member Functions | |
| static QString | polishString (const QString &str) |
Static Protected Attributes | |
| static QString | myDataDir |
| static QString | myArtworkDir |
| static QString | myTranslationDir |
| static QString | myConfigDir |
| static QString | myDocumentationDir |
| static QString | myLogDirectory |
Global configuration options.
| static const QString& DtGlobalEnv::dataDir | ( | ) | [static] |
Directory where your database files are stored.
By default this is ./data
| static void DtGlobalEnv::setDataDir | ( | const QString & | s | ) | [static] |
set the data directory to something other than the default.
| static const QString& DtGlobalEnv::configDir | ( | ) | [static] |
Directory where your confgiruation files are stored.
By default this is ./config
| static void DtGlobalEnv::setConfigDir | ( | const QString & | s | ) | [static] |
set the data directory to something other than the default.
| static const QString& DtGlobalEnv::artworkDir | ( | ) | [static] |
Directory where your artwork files are stored.
By default this is ./artwork
| static void DtGlobalEnv::setArtworkDir | ( | const QString & | s | ) | [static] |
set the artwork directory to something other than the default.
| static const QString& DtGlobalEnv::translationDir | ( | ) | [static] |
Directory where your translation files are stored.
By default this is ./translations
| static void DtGlobalEnv::setTranslationDir | ( | const QString & | s | ) | [static] |
set the translation directory to something other than the default.
| static const QString& DtGlobalEnv::documentationDir | ( | ) | [static] |
Directory where your documentation files are stored.
By default this is ./doc
| static void DtGlobalEnv::setDocumentationDir | ( | const QString & | s | ) | [static] |
set the documentation directory to something other than the default.
| static QString DtGlobalEnv::createRelativePath | ( | QString & | filePath, |
| QString & | workingDirPath | ||
| ) | [static] |
Returns a relative file path if available.
Swiped from trainerUtil Stuffed in here for patch
| static const QString& DtGlobalEnv::logDirectory | ( | ) | [static] |
Where to place log files. Default is ".".
| static void DtGlobalEnv::setLogDirectory | ( | const QString & | ) | [static] |
| static QString DtGlobalEnv::cleanPath | ( | const QString & | ) | [static] |
Returns an absolute path.
If the path supplied is relative, prepends the current working directory
| static QString DtGlobalEnv::polishString | ( | const QString & | str | ) | [static, protected] |
QString DtGlobalEnv::myDataDir [static, protected] |
QString DtGlobalEnv::myArtworkDir [static, protected] |
QString DtGlobalEnv::myTranslationDir [static, protected] |
QString DtGlobalEnv::myConfigDir [static, protected] |
QString DtGlobalEnv::myDocumentationDir [static, protected] |
QString DtGlobalEnv::myLogDirectory [static, protected] |