9#include "downloaditem.h"
22 Attica::DownloadDescription::Type m_type;
50void DownloadItem::setUrl(
const QUrl &url)
55QUrl DownloadItem::url()
const
60void DownloadItem::setMimeType(
const QString &mimeType)
65QString DownloadItem::mimeType()
const
70void DownloadItem::setPackageName(
const QString &packageName)
72 d->m_packageName = packageName;
75QString DownloadItem::packageName()
const
77 return d->m_packageName;
80void DownloadItem::setPackageRepository(
const QString &packageRepository)
82 d->m_packageRepository = packageRepository;
85QString DownloadItem::packageRepository()
const
87 return d->m_packageRepository;
90void DownloadItem::setGpgFingerprint(
const QString &gpgFingerprint)
92 d->m_gpgFingerprint = gpgFingerprint;
95QString DownloadItem::gpgFingerprint()
const
97 return d->m_gpgFingerprint;
100void DownloadItem::setGpgSignature(
const QString &gpgSignature)
102 d->m_gpgSignature = gpgSignature;
105QString DownloadItem::gpgSignature()
const
107 return d->m_gpgSignature;
110void DownloadItem::setType(Attica::DownloadDescription::Type type)
115Attica::DownloadDescription::Type DownloadItem::type()
Represents a download description.
Represents a download item.
~DownloadItem()
Destructor.
DownloadItem & operator=(const DownloadItem &other)
Assignment operator.
DownloadItem()
Creates an empty DownloadItem.
Type type(const QSqlDatabase &db)
KCALUTILS_EXPORT QString mimeType()
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:17:36 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.