Search for usage in LXR

Attica::Config Class Reference

#include <Attica/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.

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

◆ 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.

The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Wed Nov 29 2023 04:07:39 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.