Attica::License Class

class Attica::License

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

Header: #include <Attica/License>
CMake: find_package(KF6 REQUIRED COMPONENTS Attica)
target_link_libraries(mytarget PRIVATE KF6::Attica)

Public Types

Public Functions

License()
uint id() const
QString name() const
void setId(uint id)
void setName(const QString &name)
void setUrl(const QUrl &url)
QUrl url() const

Detailed Description

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

Member Type Documentation

License::List

Member Function Documentation

License::License()

Creates an empty License

uint License::id() const

See also setId().

QString License::name() const

See also setName().

void License::setId(uint id)

See also id().

void License::setName(const QString &name)

See also name().

void License::setUrl(const QUrl &url)

See also url().

QUrl License::url() const

See also setUrl().