Attica 5.109.0
Public Types | Public Member Functions | List of all members
Attica::License

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

#include <Attica/License>

Public Types

typedef QList< LicenseList
 

Public Member Functions

 License ()
 Creates an empty License.
 
 License (const License &other)
 Copy constructor.
 
 ~License ()
 Destructor.
 
uint id () const
 
QString name () const
 
Licenseoperator= (const License &other)
 Assignment operator.
 
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.

Constructor & Destructor Documentation

◆ License() [1/2]

Attica::License::License ( )

Creates an empty License.

◆ License() [2/2]

Attica::License::License ( const License other)

Copy constructor.

Parameters
otherthe License to copy from

◆ ~License()

Attica::License::~License ( )

Destructor.

Member Function Documentation

◆ operator=()

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

Assignment operator.

Parameters
otherthe License to assign from
Returns
pointer to this License