Attica::License
#include <Attica/License>
Public Types | |
typedef QList< License > | List |
Public Member Functions | |
License () | |
License (const License &other) | |
~License () | |
uint | id () const |
QString | name () const |
License & | operator= (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.
Member Typedef Documentation
◆ List
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
-
other the 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
◆ id()
uint License::id | ( | ) | const |
Definition at line 44 of file license.cpp.
◆ name()
QString License::name | ( | ) | const |
Definition at line 54 of file license.cpp.
◆ operator=()
Assignment operator.
- Parameters
-
other the License to assign from
- Returns
- pointer to this License
Definition at line 34 of file license.cpp.
◆ setId()
void License::setId | ( | uint | id | ) |
Definition at line 49 of file license.cpp.
◆ setName()
void License::setName | ( | const QString & | name | ) |
Definition at line 59 of file license.cpp.
◆ setUrl()
void License::setUrl | ( | const QUrl & | url | ) |
Definition at line 64 of file license.cpp.
◆ url()
QUrl License::url | ( | ) | const |
Definition at line 69 of file license.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:17:36 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.