|
|
The Config class is used to parse the configuration file and keep track of the various options (dbase connection information, command levels, etc).
Config* instance () |
Get a pointer to the single instance of the Config class.
void readConfig (const QString& filename) |
Load configuration information from filename. Throws a EConfigError if the file could not be open.
Parameters:
filename | The name of the config file to use. |
const QString& getNick () |
Get the value of the nick field in the config file.
Returns: The value of the nick field.
const QString& getUserName () |
Get the value of the username field in the config file.
Returns: The value of the username field.
const QString& getRealName () |
Get the value of the realname field in the config file.
Returns: The value of the realname field.
const QString& getUserMode () |
Get the value of the usermode field in the config file.
Returns: The value of the usermode field.
const QString& getDbaseHost () |
Get the value of the dbasehost field in the config file.
Returns: The value of the dbasehost field.
const QString& getDbaseUser () |
Get the value of the dbaseuser field in the config file.
Returns: The value of the dbaseuser field.
const QString& getDbasePass () |
Get the value of the dbasepass field in the config file.
Returns: The value of the dbasepass field.
const QString& getDbaseName () |
Get the value of the dbasename field in the config file.
Returns: The value of the dbasename field.
const QString& getLanguage () |
Get the value of the language field in the config file.
Returns: The value of the language field.
bool debugOn () |
Determine wether the config file turned debug mode on.
Returns: true if debug mode is activated, false otherwise.
Generated by: nightsky@centauri on Sat Jan 15 23:06:10 2000, using kdoc 2.0a30. |