Configuration settings. More...
#include <config.h>
Public Member Functions | |
QString | ApiKey () |
Returns the API Key. | |
bool | Load (QString filename) |
Loads the configuration. | |
void | Save () |
Save the configuration (Not currently implemented). | |
Config () | |
Initialise all keys. | |
~Config () | |
Private Attributes | |
QMap< QString, QString > | data |
Configuration data <key, value> | |
const QString | API_KEY |
The API Key for theTvDb.com. |
Configuration settings.
Config::Config | ( | ) |
Initialise all keys.
Config::~Config | ( | ) |
QString Config::ApiKey | ( | ) |
Returns the API Key.
bool Config::Load | ( | QString | filename | ) |
Loads the configuration.
filename | The file to read |
void Config::Save | ( | ) |
Save the configuration (Not currently implemented).
QMap<QString, QString> Config::data [private] |
Configuration data <key, value>