Attica::License

Search for usage in LXR

Attica::License Class Reference

#include <Attica/License>

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 23 of file license.h.

Constructor & Destructor Documentation

◆ License() [1/2]

License::License ( )

Creates an empty License.

Definition at line 24 of file license.cpp.

◆ License() [2/2]

License::License ( const License other)

Copy constructor.

Parameters
otherthe License to copy from

Definition at line 29 of file license.cpp.

◆ ~License()

License::~License ( )

Destructor.

Definition at line 40 of file license.cpp.

Member Function Documentation

◆ operator=()

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

Assignment operator.

Parameters
otherthe License to assign from
Returns
pointer to this License

Definition at line 34 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-2023 The KDE developers.
Generated on Wed Nov 29 2023 04:07:39 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.