Attica::DownloadItem

Search for usage in LXR

Attica::DownloadItem Class Reference

#include <Attica/DownloadItem>

Public Types

typedef QList< DownloadItemList
 

Public Member Functions

 DownloadItem ()
 
 DownloadItem (const DownloadItem &other)
 
 ~DownloadItem ()
 
QString gpgFingerprint () const
 
QString gpgSignature () const
 
QString mimeType () const
 
DownloadItemoperator= (const DownloadItem &other)
 
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.

Definition at line 26 of file downloaditem.h.

Constructor & Destructor Documentation

◆ DownloadItem() [1/2]

DownloadItem::DownloadItem ( )

Creates an empty DownloadItem.

Definition at line 30 of file downloaditem.cpp.

◆ DownloadItem() [2/2]

DownloadItem::DownloadItem ( const DownloadItem other)

Copy constructor.

Parameters
otherthe DownloadItem to copy from

Definition at line 35 of file downloaditem.cpp.

◆ ~DownloadItem()

DownloadItem::~DownloadItem ( )

Destructor.

Definition at line 46 of file downloaditem.cpp.

Member Function Documentation

◆ operator=()

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

Assignment operator.

Parameters
otherthe DownloadItem to assign from
Returns
pointer to this DownloadItem

Definition at line 40 of file downloaditem.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Wed Nov 29 2023 04:07:39 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.