Attica::Distribution
Attica::Distribution Class Reference
#include <Attica/Distribution>
Public Types | |
typedef QList< Distribution > | List |
Public Member Functions | |
Distribution () | |
Distribution (const Distribution &other) | |
~Distribution () | |
uint | id () const |
QString | name () const |
Distribution & | operator= (const Distribution &other) |
void | setId (uint id) |
void | setName (const QString &name) |
Detailed Description
The Distribution class contains information about one distribution that the server offers. It consists of an integer id and a distribution name.
Definition at line 26 of file distribution.h.
Constructor & Destructor Documentation
◆ Distribution() [1/2]
Distribution::Distribution | ( | ) |
Creates an empty Distribution.
Definition at line 26 of file distribution.cpp.
◆ Distribution() [2/2]
Distribution::Distribution | ( | const Distribution & | other | ) |
Copy constructor.
- Parameters
-
other the Distribution to copy from
Definition at line 31 of file distribution.cpp.
◆ ~Distribution()
Distribution::~Distribution | ( | ) |
Destructor.
Definition at line 42 of file distribution.cpp.
Member Function Documentation
◆ operator=()
Distribution & Distribution::operator= | ( | const Distribution & | other | ) |
Assignment operator.
- Parameters
-
other the Distribution to assign from
- Returns
- pointer to this Distribution
Definition at line 36 of file distribution.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
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.