Attica::DownloadItem Class

class Attica::DownloadItem

Represents a download item. More...

Header: #include <Attica/DownloadItem>
CMake: find_package(KF6 REQUIRED COMPONENTS Attica)
target_link_libraries(mytarget PRIVATE KF6::Attica)

Public Types

Public Functions

DownloadItem()
QString gpgFingerprint() const
QString gpgSignature() const
QString mimeType() const
QString packageName() const
QString packageRepository() const
void setGpgFingerprint(const QString &gpgFingerprint)
void setGpgSignature(const QString &gpgSignature)
void setMimeType(const QString &mimeType)
void setPackageName(const QString &packageName)
void setPackageRepository(const QString &packageRepository)
void setType(Attica::DownloadDescription::Type type)
void setUrl(const QUrl &url)
Attica::DownloadDescription::Type type()
QUrl url() const

Detailed Description

Member Type Documentation

DownloadItem::List

Member Function Documentation

DownloadItem::DownloadItem()

Creates an empty DownloadItem

QString DownloadItem::gpgFingerprint() const

See also setGpgFingerprint().

QString DownloadItem::gpgSignature() const

See also setGpgSignature().

QString DownloadItem::mimeType() const

See also setMimeType().

QString DownloadItem::packageName() const

See also setPackageName().

QString DownloadItem::packageRepository() const

See also setPackageRepository().

void DownloadItem::setGpgFingerprint(const QString &gpgFingerprint)

See also gpgFingerprint().

void DownloadItem::setGpgSignature(const QString &gpgSignature)

See also gpgSignature().

void DownloadItem::setMimeType(const QString &mimeType)

See also mimeType().

void DownloadItem::setPackageName(const QString &packageName)

See also packageName().

void DownloadItem::setPackageRepository(const QString &packageRepository)

See also packageRepository().

void DownloadItem::setType(Attica::DownloadDescription::Type type)

See also type().

void DownloadItem::setUrl(const QUrl &url)

See also url().

Attica::DownloadDescription::Type DownloadItem::type()

See also setType().

QUrl DownloadItem::url() const

See also setUrl().