#include <downloaditem.h>
Definition at line 42 of file downloaditem.h.
◆ DownloadItem()
DownloadItem::DownloadItem |
( |
QListWidgetItem * |
item, |
|
|
QWebEngineDownloadRequest * |
downloadItem, |
|
|
const QString & |
path, |
|
|
const QString & |
fileName, |
|
|
bool |
openFile, |
|
|
DownloadManager * |
manager |
|
) |
| |
|
explicit |
◆ ~DownloadItem()
DownloadItem::~DownloadItem |
( |
| ) |
|
|
override |
◆ currentSpeed()
double DownloadItem::currentSpeed |
( |
| ) |
const |
|
inline |
◆ currentSpeedToString()
QString DownloadItem::currentSpeedToString |
( |
double |
speed | ) |
|
|
static |
◆ deleteItem
◆ downloadFinished
void DownloadItem::downloadFinished |
( |
bool |
success | ) |
|
|
signal |
◆ fileName()
QString DownloadItem::fileName |
( |
| ) |
const |
◆ isCancelled()
bool DownloadItem::isCancelled |
( |
| ) |
|
◆ isDownloading()
bool DownloadItem::isDownloading |
( |
| ) |
const |
|
inline |
◆ path()
QString DownloadItem::path |
( |
| ) |
const |
◆ progress()
int DownloadItem::progress |
( |
| ) |
|
◆ progressChanged
void DownloadItem::progressChanged |
( |
double |
currSpeed, |
|
|
qint64 |
received, |
|
|
qint64 |
total |
|
) |
| |
|
signal |
◆ remaingTimeToString()
QString DownloadItem::remaingTimeToString |
( |
QTime |
time | ) |
|
|
static |
◆ remainingTime()
QTime DownloadItem::remainingTime |
( |
| ) |
const |
|
inline |
◆ setDownTimer()
void DownloadItem::setDownTimer |
( |
const QElapsedTimer & |
timer | ) |
|
|
inline |
◆ startDownloading()
void DownloadItem::startDownloading |
( |
| ) |
|
◆ url()
QUrl DownloadItem::url |
( |
| ) |
const |
The documentation for this class was generated from the following files: