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.

Member Typedef Documentation

◆ List

Definition at line 26 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.

otherthe License to copy from

Definition at line 29 of file license.cpp.

◆ ~License()

License::~License ( )


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=()

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

Assignment operator.

otherthe License to assign from
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:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Jun 14 2024 12:00:19 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.