Attica
9 #include "downloaditem.h" 22 Attica::DownloadDescription::Type m_type;
25 m_type(DownloadDescription::FileDownload)
30 DownloadItem::DownloadItem()
35 DownloadItem::DownloadItem(
const Attica::DownloadItem &other)
40 DownloadItem &DownloadItem::operator=(
const Attica::DownloadItem &other)
46 DownloadItem::~DownloadItem()
49 void DownloadItem::setUrl(
const QUrl &url)
54 QUrl DownloadItem::url()
const 59 void DownloadItem::setMimeType(
const QString &mimeType)
61 d->m_mimeType = mimeType;
64 QString DownloadItem::mimeType()
const 69 void DownloadItem::setPackageName(
const QString &packageName)
71 d->m_packageName = packageName;
74 QString DownloadItem::packageName()
const 76 return d->m_packageName;
79 void DownloadItem::setPackageRepository(
const QString &packageRepository)
81 d->m_packageRepository = packageRepository;
84 QString DownloadItem::packageRepository()
const 86 return d->m_packageRepository;
89 void DownloadItem::setGpgFingerprint(
const QString &gpgFingerprint)
91 d->m_gpgFingerprint = gpgFingerprint;
94 QString DownloadItem::gpgFingerprint()
const 96 return d->m_gpgFingerprint;
99 void DownloadItem::setGpgSignature(
const QString &gpgSignature)
101 d->m_gpgSignature = gpgSignature;
104 QString DownloadItem::gpgSignature()
const 106 return d->m_gpgSignature;
109 void DownloadItem::setType(Attica::DownloadDescription::Type type)
114 Attica::DownloadDescription::Type DownloadItem::type()
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Sat Jan 23 2021 03:59:44 by
doxygen 1.8.11 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.