Attica::Distribution

Attica::Distribution Class Reference

#include <distribution.h>

Public Types

typedef QList< DistributionList
 

Public Member Functions

 Distribution ()
 
 Distribution (const Distribution &other)
 
 ~Distribution ()
 
uint id () const
 
QString name () const
 
Distributionoperator= (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 24 of file distribution.h.

Constructor & Destructor Documentation

Distribution::Distribution ( )

Creates an empty Distribution.

Definition at line 24 of file distribution.cpp.

Distribution::Distribution ( const Distribution other)

Copy constructor.

Parameters
otherthe Distribution to copy from

Definition at line 29 of file distribution.cpp.

Distribution::~Distribution ( )

Destructor.

Definition at line 40 of file distribution.cpp.

Member Function Documentation

Distribution & Distribution::operator= ( const Distribution other)

Assignment operator.

Parameters
otherthe Distribution to assign from
Returns
pointer to this Distribution

Definition at line 34 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-2020 The KDE developers.
Generated on Sat Jul 4 2020 23:01:40 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.