Attica::Distribution Class
class Attica::DistributionThe Distribution class contains information about one distribution that the server offers. More...
Header: | #include <Attica/Distribution> |
CMake: | find_package(KF6 REQUIRED COMPONENTS Attica) target_link_libraries(mytarget PRIVATE KF6::Attica) |
Public Types
Public Functions
Distribution() | |
uint | id() const |
QString | name() const |
void | setId(uint id) |
void | setName(const QString &name) |
Detailed Description
It consists of an integer id and a distribution name.
Member Type Documentation
Distribution::List
Member Function Documentation
Distribution::Distribution()
Creates an empty Distribution
uint Distribution::id() const
See also setId().
QString Distribution::name() const
See also setName().
void Distribution::setId(uint id)
See also id().
void Distribution::setName(const QString &name)
See also name().