Attica 5.109.0
|
The Distribution class contains information about one distribution that the server offers. More...
#include <Attica/Distribution>
Public Types | |
typedef QList< Distribution > | List |
Public Member Functions | |
Distribution () | |
Creates an empty Distribution. | |
Distribution (const Distribution &other) | |
Copy constructor. | |
~Distribution () | |
Destructor. | |
uint | id () const |
QString | name () const |
Distribution & | operator= (const Distribution &other) |
Assignment operator. | |
void | setId (uint id) |
void | setName (const QString &name) |
The Distribution class contains information about one distribution that the server offers.
It consists of an integer id and a distribution name.
Attica::Distribution::Distribution | ( | ) |
Creates an empty Distribution.
Attica::Distribution::Distribution | ( | const Distribution & | other | ) |
Copy constructor.
other | the Distribution to copy from |
Attica::Distribution::~Distribution | ( | ) |
Destructor.
Distribution & Attica::Distribution::operator= | ( | const Distribution & | other | ) |
Assignment operator.
other | the Distribution to assign from |