9#include "downloaddescription.h"
19 Attica::DownloadDescription::Type
type = Attica::DownloadDescription::FileDownload;
20 bool hasPrice =
false;
39DownloadDescription::DownloadDescription()
55DownloadDescription::~DownloadDescription()
59QString Attica::DownloadDescription::category()
const
69void DownloadDescription::setId(
int id)
74void DownloadDescription::setCategory(
const QString &category)
76 d->category = category;
79QString Attica::DownloadDescription::distributionType()
const
81 return d->distributionType;
84void DownloadDescription::setDistributionType(
const QString &distributionType)
86 d->distributionType = distributionType;
89bool Attica::DownloadDescription::hasPrice()
const
94void DownloadDescription::setHasPrice(
bool hasPrice)
96 d->hasPrice = hasPrice;
99Attica::DownloadDescription::Type DownloadDescription::type()
const
104void DownloadDescription::setType(Attica::DownloadDescription::Type type)
109QString Attica::DownloadDescription::link()
const
114void DownloadDescription::setLink(
const QString &link)
119QString Attica::DownloadDescription::name()
const
124void DownloadDescription::setName(
const QString &name)
129QString Attica::DownloadDescription::priceAmount()
const
131 return d->priceAmount;
134void DownloadDescription::setPriceAmount(
const QString &priceAmount)
136 d->priceAmount = priceAmount;
139QString Attica::DownloadDescription::priceReason()
const
141 return d->priceReason;
144void Attica::DownloadDescription::setPriceReason(
const QString &priceReason)
146 d->priceReason = priceReason;
149uint Attica::DownloadDescription::size()
const
154void Attica::DownloadDescription::setSize(uint size)
159QString Attica::DownloadDescription::gpgFingerprint()
const
161 return d->gpgFingerprint;
164void Attica::DownloadDescription::setGpgFingerprint(
const QString &fingerprint)
166 d->gpgFingerprint = fingerprint;
169QString Attica::DownloadDescription::gpgSignature()
const
171 return d->gpgSignature;
174void Attica::DownloadDescription::setGpgSignature(
const QString &signature)
176 d->gpgSignature = signature;
179QString Attica::DownloadDescription::packageName()
const
181 return d->packageName;
184void Attica::DownloadDescription::setPackageName(
const QString &packageName)
186 d->packageName = packageName;
189QString Attica::DownloadDescription::repository()
const
191 return d->repository;
194void Attica::DownloadDescription::setRepository(
const QString &repository)
196 d->repository = repository;
216 d->version = version;
Represents a download description.
void setTags(const QStringList &tags)
Set the list of tags for this download description.
void setVersion(const QString &version)
QString version() const
The download version as set on the remote.
QStringList tags() const
Get the list of tags for this download description.
int id() const
The id of the description - as one Content can have multiple download descriptions associated.
KDB_EXPORT KDbVersionInfo version()
QString name(GameStandardAction id)
KIOCORE_EXPORT CopyJob * link(const QList< QUrl > &src, const QUrl &destDir, JobFlags flags=DefaultFlags)
VehicleSection::Type type(QStringView coachNumber, QStringView coachClassification)
Category category(StandardShortcut id)