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) |
Detailed Description
Global configuration options.
Member Function Documentation
| 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 | ) |
|
|
staticprotected |
Member Data Documentation
| QString DtGlobalEnv::myDataDir |
|
staticprotected |
| QString DtGlobalEnv::myArtworkDir |
|
staticprotected |
| QString DtGlobalEnv::myTranslationDir |
|
staticprotected |
| QString DtGlobalEnv::myConfigDir |
|
staticprotected |
| QString DtGlobalEnv::myDocumentationDir |
|
staticprotected |
| QString DtGlobalEnv::myLogDirectory |
|
staticprotected |
The documentation for this class was generated from the following file:
- /exports/nfedora7-1/nightly/docs/vrforcesDevelopment.tot/include/ngutil/globalEnv.h