Attica::Distribution

Search for usage in LXR

Attica::Distribution Class Reference

#include <Attica/Distribution>

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 26 of file distribution.h.

Member Typedef Documentation

◆ List

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
otherthe 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
otherthe 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:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:58:18 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.