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.

Member Typedef Documentation

◆ List

Definition at line 29 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

◆ gpgFingerprint()

QString DownloadItem::gpgFingerprint ( ) const

Definition at line 95 of file downloaditem.cpp.

◆ gpgSignature()

QString DownloadItem::gpgSignature ( ) const

Definition at line 105 of file downloaditem.cpp.

◆ mimeType()

QString DownloadItem::mimeType ( ) const

Definition at line 65 of file downloaditem.cpp.

◆ 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.

◆ packageName()

QString DownloadItem::packageName ( ) const

Definition at line 75 of file downloaditem.cpp.

◆ packageRepository()

QString DownloadItem::packageRepository ( ) const

Definition at line 85 of file downloaditem.cpp.

◆ setGpgFingerprint()

void DownloadItem::setGpgFingerprint ( const QString & gpgFingerprint)

Definition at line 90 of file downloaditem.cpp.

◆ setGpgSignature()

void DownloadItem::setGpgSignature ( const QString & gpgSignature)

Definition at line 100 of file downloaditem.cpp.

◆ setMimeType()

void DownloadItem::setMimeType ( const QString & mimeType)

Definition at line 60 of file downloaditem.cpp.

◆ setPackageName()

void DownloadItem::setPackageName ( const QString & packageName)

Definition at line 70 of file downloaditem.cpp.

◆ setPackageRepository()

void DownloadItem::setPackageRepository ( const QString & packageRepository)

Definition at line 80 of file downloaditem.cpp.

◆ setType()

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

Definition at line 110 of file downloaditem.cpp.

◆ setUrl()

void DownloadItem::setUrl ( const QUrl & url)

Definition at line 50 of file downloaditem.cpp.

◆ type()

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

Definition at line 115 of file downloaditem.cpp.

◆ url()

QUrl DownloadItem::url ( ) const

Definition at line 55 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-2024 The KDE developers.
Generated on Fri Jun 21 2024 12:04:24 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.