digiKam
Loading...
Searching...
No Matches
Digikam::DownloadInfo Class Reference

#include <filesdownloader.h>

Public Member Functions

 DownloadInfo ()=default
 
 DownloadInfo (const DownloadInfo &other)
 
 DownloadInfo (const QString &_path, const QString &_name, const QString &_hash, const qint64 &_size)
 
DownloadInfooperator= (const DownloadInfo &other)
 
 ~DownloadInfo ()=default
 

Public Attributes

QString hash
 
QString name
 
QString path
 
qint64 size = 0
 

Constructor & Destructor Documentation

◆ DownloadInfo() [1/3]

Digikam::DownloadInfo::DownloadInfo ( )
default

◆ DownloadInfo() [2/3]

Digikam::DownloadInfo::DownloadInfo ( const QString &  _path,
const QString &  _name,
const QString &  _hash,
const qint64 &  _size 
)

◆ DownloadInfo() [3/3]

Digikam::DownloadInfo::DownloadInfo ( const DownloadInfo other)

◆ ~DownloadInfo()

Digikam::DownloadInfo::~DownloadInfo ( )
default

Member Function Documentation

◆ operator=()

DownloadInfo & Digikam::DownloadInfo::operator= ( const DownloadInfo other)

References hash, name, path, and size.

Member Data Documentation

◆ hash

QString Digikam::DownloadInfo::hash

The file hash as SHA256.

Referenced by operator=().

◆ name

QString Digikam::DownloadInfo::name

The file name on the server.

Referenced by operator=().

◆ path

QString Digikam::DownloadInfo::path

The file path on the server.

Referenced by operator=().

◆ size

qint64 Digikam::DownloadInfo::size = 0

The file size.

Referenced by operator=().


The documentation for this class was generated from the following files: