Attica::DownloadDescription

Search for usage in LXR

Attica::DownloadDescription Class Reference

#include <Attica/DownloadDescription>

Public Types

enum  Type { FileDownload = 0 , LinkDownload , PackageDownload }
 

Public Member Functions

 DownloadDescription (const DownloadDescription &other)
 
QString category () const
 
QString distributionType () const
 
QString gpgFingerprint () const
 
QString gpgSignature () const
 
bool hasPrice () const
 
int id () const
 
QString link () const
 
QString name () const
 
DownloadDescriptionoperator= (const DownloadDescription &other)
 
QString packageName () const
 
QString priceAmount () const
 
QString priceReason () const
 
QString repository () const
 
void setCategory (const QString &category)
 
void setDistributionType (const QString &distributionType)
 
void setGpgFingerprint (const QString &fingerprint)
 
void setGpgSignature (const QString &signature)
 
void setHasPrice (bool hasPrice)
 
void setId (int id)
 
void setLink (const QString &link)
 
void setName (const QString &name)
 
void setPackageName (const QString &packageName)
 
void setPriceAmount (const QString &priceAmount)
 
void setPriceReason (const QString &priceReason)
 
void setRepository (const QString &repository)
 
void setSize (uint size)
 
void setTags (const QStringList &tags)
 
void setType (Attica::DownloadDescription::Type type)
 
uint size () const
 
QStringList tags () const
 
Attica::DownloadDescription::Type type () const
 

Detailed Description

Represents a download description.

Definition at line 25 of file downloaddescription.h.

Member Enumeration Documentation

◆ Type

enum Attica::DownloadDescription::Type

Definition at line 28 of file downloaddescription.h.

Constructor & Destructor Documentation

◆ DownloadDescription() [1/2]

DownloadDescription::DownloadDescription ( )

Definition at line 38 of file downloaddescription.cpp.

◆ DownloadDescription() [2/2]

DownloadDescription::DownloadDescription ( const DownloadDescription & other)

Definition at line 43 of file downloaddescription.cpp.

◆ ~DownloadDescription()

DownloadDescription::~DownloadDescription ( )

Definition at line 54 of file downloaddescription.cpp.

Member Function Documentation

◆ category()

QString Attica::DownloadDescription::category ( ) const

Definition at line 58 of file downloaddescription.cpp.

◆ distributionType()

QString Attica::DownloadDescription::distributionType ( ) const

Definition at line 78 of file downloaddescription.cpp.

◆ gpgFingerprint()

QString Attica::DownloadDescription::gpgFingerprint ( ) const

Definition at line 158 of file downloaddescription.cpp.

◆ gpgSignature()

QString Attica::DownloadDescription::gpgSignature ( ) const

Definition at line 168 of file downloaddescription.cpp.

◆ hasPrice()

bool Attica::DownloadDescription::hasPrice ( ) const

Definition at line 88 of file downloaddescription.cpp.

◆ id()

int DownloadDescription::id ( ) const

The id of the description - as one Content can have multiple download descriptions associated.

This will simply be 1, 2, ...

Definition at line 63 of file downloaddescription.cpp.

◆ link()

QString Attica::DownloadDescription::link ( ) const

Definition at line 108 of file downloaddescription.cpp.

◆ name()

QString Attica::DownloadDescription::name ( ) const

Definition at line 118 of file downloaddescription.cpp.

◆ operator=()

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

Definition at line 48 of file downloaddescription.cpp.

◆ packageName()

QString Attica::DownloadDescription::packageName ( ) const

Definition at line 178 of file downloaddescription.cpp.

◆ priceAmount()

QString Attica::DownloadDescription::priceAmount ( ) const

Definition at line 128 of file downloaddescription.cpp.

◆ priceReason()

QString Attica::DownloadDescription::priceReason ( ) const

Definition at line 138 of file downloaddescription.cpp.

◆ repository()

QString Attica::DownloadDescription::repository ( ) const

Definition at line 188 of file downloaddescription.cpp.

◆ setCategory()

void DownloadDescription::setCategory ( const QString & category)

Definition at line 73 of file downloaddescription.cpp.

◆ setDistributionType()

void DownloadDescription::setDistributionType ( const QString & distributionType)

Definition at line 83 of file downloaddescription.cpp.

◆ setGpgFingerprint()

void Attica::DownloadDescription::setGpgFingerprint ( const QString & fingerprint)

Definition at line 163 of file downloaddescription.cpp.

◆ setGpgSignature()

void Attica::DownloadDescription::setGpgSignature ( const QString & signature)

Definition at line 173 of file downloaddescription.cpp.

◆ setHasPrice()

void DownloadDescription::setHasPrice ( bool hasPrice)

Definition at line 93 of file downloaddescription.cpp.

◆ setId()

void DownloadDescription::setId ( int id)

Definition at line 68 of file downloaddescription.cpp.

◆ setLink()

void DownloadDescription::setLink ( const QString & link)

Definition at line 113 of file downloaddescription.cpp.

◆ setName()

void DownloadDescription::setName ( const QString & name)

Definition at line 123 of file downloaddescription.cpp.

◆ setPackageName()

void Attica::DownloadDescription::setPackageName ( const QString & packageName)

Definition at line 183 of file downloaddescription.cpp.

◆ setPriceAmount()

void DownloadDescription::setPriceAmount ( const QString & priceAmount)

Definition at line 133 of file downloaddescription.cpp.

◆ setPriceReason()

void Attica::DownloadDescription::setPriceReason ( const QString & priceReason)

Definition at line 143 of file downloaddescription.cpp.

◆ setRepository()

void Attica::DownloadDescription::setRepository ( const QString & repository)

Definition at line 193 of file downloaddescription.cpp.

◆ setSize()

void Attica::DownloadDescription::setSize ( uint size)

Definition at line 153 of file downloaddescription.cpp.

◆ setTags()

void Attica::DownloadDescription::setTags ( const QStringList & tags)

Set the list of tags for this download description.

Since
5.50

Definition at line 203 of file downloaddescription.cpp.

◆ setType()

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

Definition at line 103 of file downloaddescription.cpp.

◆ size()

uint Attica::DownloadDescription::size ( ) const

Definition at line 148 of file downloaddescription.cpp.

◆ tags()

QStringList Attica::DownloadDescription::tags ( ) const

Get the list of tags for this download description.

Since
5.50

Definition at line 198 of file downloaddescription.cpp.

◆ type()

Attica::DownloadDescription::Type DownloadDescription::type ( ) const

Definition at line 98 of file downloaddescription.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.