Attica::Config Class

class Attica::Config

Represents a server config. More...

Header: #include <Attica/Config>
CMake: find_package(KF6 REQUIRED COMPONENTS Attica)
target_link_libraries(mytarget PRIVATE KF6::Attica)

Public Types

Public Functions

Config()
QString contact() const
QString host() const
bool isValid() const
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

Detailed Description

Member Type Documentation

Config::List

Member Function Documentation

Config::Config()

Creates an empty Config

QString Config::contact() const

See also setContact().

QString Config::host() const

See also setHost().

bool Config::isValid() const

Returns whether this config is valid

void Config::setContact(const QString &contact)

See also contact().

void Config::setHost(const QString &host)

See also host().

void Config::setSsl(bool ssl)

See also ssl().

void Config::setVersion(const QString &version)

See also version().

void Config::setWebsite(const QString &website)

See also website().

bool Config::ssl() const

See also setSsl().

QString Config::version() const

See also setVersion().

QString Config::website() const

See also setWebsite().