DownloadLinkInfo

Search for usage in LXR

DownloadLinkInfo Class Reference

#include <downloadlinkinfo.h>

Properties

QString descriptionLink
 
QString distributionType
 
QString formattedSize
 
QString icon
 
int id
 
bool isDownloadtypeLink
 
QString name
 
QString priceAmount
 
quint64 size
 

Public Member Functions

 DownloadLinkInfo (const DownloadLinkInfo &)
 
 DownloadLinkInfo (const KNSCore::Entry::DownloadLinkInformation &data)
 
QString descriptionLink () const
 
QString distributionType () const
 
QString formattedSize () const
 
QString icon () const
 
int id () const
 
bool isDownloadtypeLink () const
 
QString name () const
 
DownloadLinkInfooperator= (const DownloadLinkInfo &)
 
QString priceAmount () const
 
quint64 size () const
 

Detailed Description

One downloadable item as contained within one content item.

A simple data container which wraps a KNSCore::Entry::DownloadLinkInformation instance and provides property accessors for each of the pieces of information stored in it.

Definition at line 22 of file downloadlinkinfo.h.

Property Documentation

◆ descriptionLink

QString DownloadLinkInfo::descriptionLink
read

Definition at line 28 of file downloadlinkinfo.h.

◆ distributionType

QString DownloadLinkInfo::distributionType
read

Definition at line 27 of file downloadlinkinfo.h.

◆ formattedSize

QString DownloadLinkInfo::formattedSize
read

Definition at line 32 of file downloadlinkinfo.h.

◆ icon

QString DownloadLinkInfo::icon
read

Definition at line 33 of file downloadlinkinfo.h.

◆ id

int DownloadLinkInfo::id
read

Definition at line 29 of file downloadlinkinfo.h.

◆ isDownloadtypeLink

bool DownloadLinkInfo::isDownloadtypeLink
read

Definition at line 30 of file downloadlinkinfo.h.

◆ name

QString DownloadLinkInfo::name
read

Definition at line 25 of file downloadlinkinfo.h.

◆ priceAmount

QString DownloadLinkInfo::priceAmount
read

Definition at line 26 of file downloadlinkinfo.h.

◆ size

quint64 DownloadLinkInfo::size
read

Definition at line 31 of file downloadlinkinfo.h.

Constructor & Destructor Documentation

◆ DownloadLinkInfo()

DownloadLinkInfo::DownloadLinkInfo ( const KNSCore::Entry::DownloadLinkInformation & data)
explicit

Definition at line 25 of file downloadlinkinfo.cpp.

Member Function Documentation

◆ descriptionLink()

QString DownloadLinkInfo::descriptionLink ( ) const

Definition at line 69 of file downloadlinkinfo.cpp.

◆ distributionType()

QString DownloadLinkInfo::distributionType ( ) const

Definition at line 64 of file downloadlinkinfo.cpp.

◆ formattedSize()

QString DownloadLinkInfo::formattedSize ( ) const

Definition at line 89 of file downloadlinkinfo.cpp.

◆ icon()

QString DownloadLinkInfo::icon ( ) const

Definition at line 98 of file downloadlinkinfo.cpp.

◆ id()

int DownloadLinkInfo::id ( ) const

Definition at line 74 of file downloadlinkinfo.cpp.

◆ isDownloadtypeLink()

bool DownloadLinkInfo::isDownloadtypeLink ( ) const

Definition at line 79 of file downloadlinkinfo.cpp.

◆ name()

QString DownloadLinkInfo::name ( ) const

Definition at line 54 of file downloadlinkinfo.cpp.

◆ priceAmount()

QString DownloadLinkInfo::priceAmount ( ) const

Definition at line 59 of file downloadlinkinfo.cpp.

◆ size()

quint64 DownloadLinkInfo::size ( ) const

Definition at line 84 of file downloadlinkinfo.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 Sat Apr 27 2024 22:17:01 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.