Attica::License

Attica::License Class Reference

#include <license.h>

Public Types

typedef QList< LicenseList
 

Public Member Functions

 License ()
 
 License (const License &other)
 
 ~License ()
 
uint id () const
 
QString name () const
 
Licenseoperator= (const License &other)
 
void setId (uint id)
 
void setName (const QString &name)
 
void setUrl (const QUrl &url)
 
QUrl url () const
 

Detailed Description

The License class contains information about one license that the server offers.

It consists of an integer id, a name and a link to a webpage describing the license.

Definition at line 21 of file license.h.

Constructor & Destructor Documentation

License::License ( )

Creates an empty License.

Definition at line 22 of file license.cpp.

License::License ( const License other)

Copy constructor.

Parameters
otherthe License to copy from

Definition at line 27 of file license.cpp.

License::~License ( )

Destructor.

Definition at line 38 of file license.cpp.

Member Function Documentation

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

Assignment operator.

Parameters
otherthe License to assign from
Returns
pointer to this License

Definition at line 32 of file license.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 11 2020 23:00:50 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.