Attica 5.109.0
Public Types | Public Member Functions | List of all members
Attica::DownloadItem

Represents a download item. More...

#include <Attica/DownloadItem>

Public Types

typedef QList< DownloadItemList
 

Public Member Functions

 DownloadItem ()
 Creates an empty DownloadItem.
 
 DownloadItem (const DownloadItem &other)
 Copy constructor.
 
 ~DownloadItem ()
 Destructor.
 
QString gpgFingerprint () const
 
QString gpgSignature () const
 
QString mimeType () const
 
DownloadItemoperator= (const DownloadItem &other)
 Assignment operator.
 
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

Represents a download item.

Constructor & Destructor Documentation

◆ DownloadItem() [1/2]

Attica::DownloadItem::DownloadItem ( )

Creates an empty DownloadItem.

◆ DownloadItem() [2/2]

Attica::DownloadItem::DownloadItem ( const DownloadItem other)

Copy constructor.

Parameters
otherthe DownloadItem to copy from

◆ ~DownloadItem()

Attica::DownloadItem::~DownloadItem ( )

Destructor.

Member Function Documentation

◆ operator=()

DownloadItem & Attica::DownloadItem::operator= ( const DownloadItem other)

Assignment operator.

Parameters
otherthe DownloadItem to assign from
Returns
pointer to this DownloadItem