Public Member Functions | Private Attributes

Config Class Reference

Configuration settings. More...

#include <config.h>

List of all members.

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.

Detailed Description

Configuration settings.


Constructor & Destructor Documentation

Config::Config (  ) 

Initialise all keys.

Config::~Config (  ) 

Member Function Documentation

QString Config::ApiKey (  ) 

Returns the API Key.

Returns:
The API Key
bool Config::Load ( QString  filename  ) 

Loads the configuration.

Parameters:
filename The file to read
Returns:
Loading success or failure
void Config::Save (  ) 

Save the configuration (Not currently implemented).


Member Data Documentation

QMap<QString, QString> Config::data [private]

Configuration data <key, value>


The documentation for this class was generated from the following files: