Search for usage in LXR

Attica::Config Class Reference

#include <Attica/Config>

Inherits Parser public Attica::Parser< Config >.

Public Types

typedef QList< ConfigList

Public Member Functions

 Config ()
 Config (const Config &other)
 ~Config ()
QString contact () const
QString host () const
bool isValid () const
Configoperator= (const Config &other)
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

Represents a server config.

Definition at line 23 of file config.h.

Member Typedef Documentation

◆ List

Definition at line 26 of file config.h.

Constructor & Destructor Documentation

◆ Config() [1/2]

Config::Config ( )

Creates an empty Config.

Definition at line 28 of file config.cpp.

◆ Config() [2/2]

Config::Config ( const Config & other)

Copy constructor.

otherthe Config to copy from

Definition at line 33 of file config.cpp.

◆ ~Config()

Config::~Config ( )


Definition at line 44 of file config.cpp.

Member Function Documentation

◆ contact()

QString Config::contact ( ) const

Definition at line 63 of file config.cpp.

◆ host()

QString Config::host ( ) const

Definition at line 58 of file config.cpp.

◆ isValid()

bool Config::isValid ( ) const

Checks whether this config is valid.

true if config is valid, false otherwise

Definition at line 73 of file config.cpp.

◆ operator=()

Config & Config::operator= ( const Config & other)

Assignment operator.

otherthe Config to assign from
pointer to this Config

Definition at line 38 of file config.cpp.

◆ setContact()

void Config::setContact ( const QString & contact)

Definition at line 78 of file config.cpp.

◆ setHost()

void Config::setHost ( const QString & host)

Definition at line 93 of file config.cpp.

◆ setSsl()

void Config::setSsl ( bool ssl)

Definition at line 98 of file config.cpp.

◆ setVersion()

void Config::setVersion ( const QString & version)

Definition at line 83 of file config.cpp.

◆ setWebsite()

void Config::setWebsite ( const QString & website)

Definition at line 88 of file config.cpp.

◆ ssl()

bool Config::ssl ( ) const

Definition at line 68 of file config.cpp.

◆ version()

QString Attica::Config::version ( ) const

Definition at line 48 of file config.cpp.

◆ website()

QString Config::website ( ) const

Definition at line 53 of file config.cpp.

The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Jun 14 2024 12:00:19 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.