Attica::DownloadDescription
#include <Attica/DownloadDescription>
Public Types | |
enum | Type { FileDownload = 0 , LinkDownload , PackageDownload } |
Public Member Functions | |
DownloadDescription (const DownloadDescription &other) | |
QString | category () const |
QString | distributionType () const |
QString | gpgFingerprint () const |
QString | gpgSignature () const |
bool | hasPrice () const |
int | id () const |
QString | link () const |
QString | name () const |
DownloadDescription & | operator= (const DownloadDescription &other) |
QString | packageName () const |
QString | priceAmount () const |
QString | priceReason () const |
QString | repository () const |
void | setCategory (const QString &category) |
void | setDistributionType (const QString &distributionType) |
void | setGpgFingerprint (const QString &fingerprint) |
void | setGpgSignature (const QString &signature) |
void | setHasPrice (bool hasPrice) |
void | setId (int id) |
void | setLink (const QString &link) |
void | setName (const QString &name) |
void | setPackageName (const QString &packageName) |
void | setPriceAmount (const QString &priceAmount) |
void | setPriceReason (const QString &priceReason) |
void | setRepository (const QString &repository) |
void | setSize (uint size) |
void | setTags (const QStringList &tags) |
void | setType (Attica::DownloadDescription::Type type) |
void | setVersion (const QString &version) |
uint | size () const |
QStringList | tags () const |
Attica::DownloadDescription::Type | type () const |
QString | version () const |
Detailed Description
Represents a download description.
Definition at line 25 of file downloaddescription.h.
Member Enumeration Documentation
◆ Type
enum Attica::DownloadDescription::Type |
Definition at line 28 of file downloaddescription.h.
Constructor & Destructor Documentation
◆ DownloadDescription() [1/2]
DownloadDescription::DownloadDescription | ( | ) |
Definition at line 39 of file downloaddescription.cpp.
◆ DownloadDescription() [2/2]
DownloadDescription::DownloadDescription | ( | const DownloadDescription & | other | ) |
Definition at line 44 of file downloaddescription.cpp.
◆ ~DownloadDescription()
DownloadDescription::~DownloadDescription | ( | ) |
Definition at line 55 of file downloaddescription.cpp.
Member Function Documentation
◆ category()
QString Attica::DownloadDescription::category | ( | ) | const |
Definition at line 59 of file downloaddescription.cpp.
◆ distributionType()
QString Attica::DownloadDescription::distributionType | ( | ) | const |
Definition at line 79 of file downloaddescription.cpp.
◆ gpgFingerprint()
QString Attica::DownloadDescription::gpgFingerprint | ( | ) | const |
Definition at line 159 of file downloaddescription.cpp.
◆ gpgSignature()
QString Attica::DownloadDescription::gpgSignature | ( | ) | const |
Definition at line 169 of file downloaddescription.cpp.
◆ hasPrice()
bool Attica::DownloadDescription::hasPrice | ( | ) | const |
Definition at line 89 of file downloaddescription.cpp.
◆ id()
int DownloadDescription::id | ( | ) | const |
The id of the description - as one Content can have multiple download descriptions associated.
This will simply be 1, 2, ...
Definition at line 64 of file downloaddescription.cpp.
◆ link()
QString Attica::DownloadDescription::link | ( | ) | const |
Definition at line 109 of file downloaddescription.cpp.
◆ name()
QString Attica::DownloadDescription::name | ( | ) | const |
Definition at line 119 of file downloaddescription.cpp.
◆ operator=()
DownloadDescription & DownloadDescription::operator= | ( | const DownloadDescription & | other | ) |
Definition at line 49 of file downloaddescription.cpp.
◆ packageName()
QString Attica::DownloadDescription::packageName | ( | ) | const |
Definition at line 179 of file downloaddescription.cpp.
◆ priceAmount()
QString Attica::DownloadDescription::priceAmount | ( | ) | const |
Definition at line 129 of file downloaddescription.cpp.
◆ priceReason()
QString Attica::DownloadDescription::priceReason | ( | ) | const |
Definition at line 139 of file downloaddescription.cpp.
◆ repository()
QString Attica::DownloadDescription::repository | ( | ) | const |
Definition at line 189 of file downloaddescription.cpp.
◆ setCategory()
void DownloadDescription::setCategory | ( | const QString & | category | ) |
Definition at line 74 of file downloaddescription.cpp.
◆ setDistributionType()
void DownloadDescription::setDistributionType | ( | const QString & | distributionType | ) |
Definition at line 84 of file downloaddescription.cpp.
◆ setGpgFingerprint()
void Attica::DownloadDescription::setGpgFingerprint | ( | const QString & | fingerprint | ) |
Definition at line 164 of file downloaddescription.cpp.
◆ setGpgSignature()
void Attica::DownloadDescription::setGpgSignature | ( | const QString & | signature | ) |
Definition at line 174 of file downloaddescription.cpp.
◆ setHasPrice()
void DownloadDescription::setHasPrice | ( | bool | hasPrice | ) |
Definition at line 94 of file downloaddescription.cpp.
◆ setId()
void DownloadDescription::setId | ( | int | id | ) |
Definition at line 69 of file downloaddescription.cpp.
◆ setLink()
void DownloadDescription::setLink | ( | const QString & | link | ) |
Definition at line 114 of file downloaddescription.cpp.
◆ setName()
void DownloadDescription::setName | ( | const QString & | name | ) |
Definition at line 124 of file downloaddescription.cpp.
◆ setPackageName()
void Attica::DownloadDescription::setPackageName | ( | const QString & | packageName | ) |
Definition at line 184 of file downloaddescription.cpp.
◆ setPriceAmount()
void DownloadDescription::setPriceAmount | ( | const QString & | priceAmount | ) |
Definition at line 134 of file downloaddescription.cpp.
◆ setPriceReason()
void Attica::DownloadDescription::setPriceReason | ( | const QString & | priceReason | ) |
Definition at line 144 of file downloaddescription.cpp.
◆ setRepository()
void Attica::DownloadDescription::setRepository | ( | const QString & | repository | ) |
Definition at line 194 of file downloaddescription.cpp.
◆ setSize()
void Attica::DownloadDescription::setSize | ( | uint | size | ) |
Definition at line 154 of file downloaddescription.cpp.
◆ setTags()
void Attica::DownloadDescription::setTags | ( | const QStringList & | tags | ) |
Set the list of tags for this download description.
- Since
- 5.50
Definition at line 204 of file downloaddescription.cpp.
◆ setType()
void DownloadDescription::setType | ( | Attica::DownloadDescription::Type | type | ) |
Definition at line 104 of file downloaddescription.cpp.
◆ setVersion()
void Attica::DownloadDescription::setVersion | ( | const QString & | version | ) |
- Since
- 6.5
Definition at line 214 of file downloaddescription.cpp.
◆ size()
uint Attica::DownloadDescription::size | ( | ) | const |
Definition at line 149 of file downloaddescription.cpp.
◆ tags()
QStringList Attica::DownloadDescription::tags | ( | ) | const |
Get the list of tags for this download description.
- Since
- 5.50
Definition at line 199 of file downloaddescription.cpp.
◆ type()
Attica::DownloadDescription::Type DownloadDescription::type | ( | ) | const |
Definition at line 99 of file downloaddescription.cpp.
◆ version()
|
nodiscard |
The download version as set on the remote.
May be QString() when not set.
- Since
- 6.5
Definition at line 209 of file downloaddescription.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Oct 4 2024 12:05:20 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.