Attica::Distribution
#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.
Member Typedef Documentation
◆ List
Definition at line 29 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
◆ id()
uint Distribution::id | ( | ) | const |
Definition at line 46 of file distribution.cpp.
◆ name()
QString Distribution::name | ( | ) | const |
Definition at line 56 of file distribution.cpp.
◆ 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.
◆ setId()
void Distribution::setId | ( | uint | id | ) |
Definition at line 51 of file distribution.cpp.
◆ setName()
void Distribution::setName | ( | const QString & | name | ) |
Definition at line 61 of file distribution.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:17:36 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.