#include <libmythbase/mythsingledownload.h>
|
void | Progress (qint64 bytesRead, qint64 totalBytes) |
|
Definition at line 25 of file mythsingledownload.h.
◆ MythSingleDownload()
MythSingleDownload::MythSingleDownload |
( |
void |
| ) |
|
|
default |
◆ ~MythSingleDownload()
MythSingleDownload::~MythSingleDownload |
( |
void |
| ) |
|
|
overridedefault |
◆ DownloadURL()
bool MythSingleDownload::DownloadURL |
( |
const QUrl & |
url, |
|
|
QByteArray * |
buffer, |
|
|
std::chrono::seconds |
timeout = 30s , |
|
|
uint |
redirs = 0 , |
|
|
qint64 |
maxsize = 0 , |
|
|
QString * |
final_url = nullptr |
|
) |
| |
◆ Cancel()
void MythSingleDownload::Cancel |
( |
void |
| ) |
|
◆ ErrorString()
QString MythSingleDownload::ErrorString |
( |
void |
| ) |
const |
|
inline |
◆ ErrorCode()
QNetworkReply::NetworkError MythSingleDownload::ErrorCode |
( |
void |
| ) |
const |
|
inline |
◆ Progress
void MythSingleDownload::Progress |
( |
qint64 |
bytesRead, |
|
|
qint64 |
totalBytes |
|
) |
| |
|
privateslot |
◆ m_mgr
QNetworkAccessManager MythSingleDownload::m_mgr |
|
private |
◆ m_timer
QTimer MythSingleDownload::m_timer |
|
private |
◆ m_reply
QNetworkReply* MythSingleDownload::m_reply {nullptr} |
|
private |
◆ m_lock
QMutex MythSingleDownload::m_lock |
|
private |
◆ m_replylock
QMutex MythSingleDownload::m_replylock |
|
private |
◆ m_errorstring
QString MythSingleDownload::m_errorstring |
|
private |
◆ m_errorcode
QNetworkReply::NetworkError MythSingleDownload::m_errorcode {QNetworkReply::NoError} |
|
private |
◆ m_buffer
QByteArray* MythSingleDownload::m_buffer {nullptr} |
|
private |
◆ m_maxsize
qint64 MythSingleDownload::m_maxsize {0} |
|
private |
The documentation for this class was generated from the following files: