Attica 5.109.0
|
Represents a server config. More...
#include <Attica/Config>
Public Types | |
typedef QList< Config > | List |
Public Member Functions | |
Config () | |
Creates an empty Config. | |
Config (const Config &other) | |
Copy constructor. | |
~Config () | |
Destructor. | |
QString | contact () const |
QString | host () const |
bool | isValid () const |
Checks whether this config is valid. | |
Config & | operator= (const Config &other) |
Assignment operator. | |
void | setContact (const QString &contact) |
void | setHost (const QString &host) |
void | setSsl (bool ssl) |
void | setVersion (const QString &version) |
void | setWebsite (const QString &website) |
bool | ssl () const |
QString | version () const |
QString | website () const |
Represents a server config.
Attica::Config::Config | ( | ) |
Creates an empty Config.
Attica::Config::Config | ( | const Config & | other | ) |
Copy constructor.
other | the Config to copy from |
Attica::Config::~Config | ( | ) |
Destructor.
bool Attica::Config::isValid | ( | ) | const |
Checks whether this config is valid.
true
if config is valid, false
otherwise