Attica::Config

Attica::Config Class Reference

#include <config.h>

Inherits 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 21 of file config.h.

Constructor & Destructor Documentation

Config::Config ( )

Creates an empty Config.

Definition at line 28 of file config.cpp.

Config::Config ( const Config other)

Copy constructor.

Parameters
otherthe Config to copy from

Definition at line 33 of file config.cpp.

Config::~Config ( )

Destructor.

Definition at line 44 of file config.cpp.

Member Function Documentation

bool Config::isValid ( ) const

Checks whether this config is valid.

Returns
true if config is valid, false otherwise

Definition at line 73 of file config.cpp.

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

Assignment operator.

Parameters
otherthe Config to assign from
Returns
pointer to this Config

Definition at line 38 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-2020 The KDE developers.
Generated on Sat Jul 11 2020 23:00:50 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.