MythTV  master
Public Member Functions | Public Attributes | List of all members
MythDownloadInfo Class Reference

Public Member Functions

 MythDownloadInfo ()
 
 ~MythDownloadInfo ()
 
bool IsDone (void)
 
void SetDone (bool done)
 

Public Attributes

QString m_url
 
QUrl m_redirectedTo
 
QString * m_finalUrl {nullptr}
 
QNetworkRequest * m_request {nullptr}
 
QNetworkReply * m_reply {nullptr}
 
QString m_outFile
 
QByteArray * m_data {nullptr}
 
QByteArray m_privData
 
QObject * m_caller {nullptr}
 
MRequestType m_requestType {kRequestGet}
 
bool m_reload {false}
 
bool m_preferCache {false}
 
bool m_syncMode {false}
 
bool m_processReply {true}
 
bool m_done {false}
 
qint64 m_bytesReceived {0}
 
qint64 m_bytesTotal {0}
 
QDateTime m_lastStat
 
AuthCallback m_authCallback {nullptr}
 
void * m_authArg {nullptr}
 
const QHash< QByteArray, QByteArray > * m_headers {nullptr}
 
QNetworkReply::NetworkError m_errorCode {QNetworkReply::NoError}
 
QMutex m_lock
 

Detailed Description

Definition at line 46 of file mythdownloadmanager.cpp.

Constructor & Destructor Documentation

◆ MythDownloadInfo()

MythDownloadInfo::MythDownloadInfo ( )
inline

Definition at line 49 of file mythdownloadmanager.cpp.

◆ ~MythDownloadInfo()

MythDownloadInfo::~MythDownloadInfo ( )
inline

Definition at line 55 of file mythdownloadmanager.cpp.

Member Function Documentation

◆ IsDone()

bool MythDownloadInfo::IsDone ( void  )
inline

Definition at line 62 of file mythdownloadmanager.cpp.

Referenced by MythDownloadManager::downloadNow().

◆ SetDone()

void MythDownloadInfo::SetDone ( bool  done)
inline

Definition at line 68 of file mythdownloadmanager.cpp.

Member Data Documentation

◆ m_url

QString MythDownloadInfo::m_url

◆ m_redirectedTo

QUrl MythDownloadInfo::m_redirectedTo

Definition at line 75 of file mythdownloadmanager.cpp.

Referenced by MythDownloadManager::downloadFinished().

◆ m_finalUrl

QString* MythDownloadInfo::m_finalUrl {nullptr}

◆ m_request

QNetworkRequest* MythDownloadInfo::m_request {nullptr}

◆ m_reply

QNetworkReply* MythDownloadInfo::m_reply {nullptr}

◆ m_outFile

QString MythDownloadInfo::m_outFile

◆ m_data

QByteArray* MythDownloadInfo::m_data {nullptr}

◆ m_privData

QByteArray MythDownloadInfo::m_privData

Definition at line 81 of file mythdownloadmanager.cpp.

◆ m_caller

QObject* MythDownloadInfo::m_caller {nullptr}

◆ m_requestType

MRequestType MythDownloadInfo::m_requestType {kRequestGet}

◆ m_reload

bool MythDownloadInfo::m_reload {false}

◆ m_preferCache

bool MythDownloadInfo::m_preferCache {false}

◆ m_syncMode

bool MythDownloadInfo::m_syncMode {false}

◆ m_processReply

bool MythDownloadInfo::m_processReply {true}

Definition at line 87 of file mythdownloadmanager.cpp.

Referenced by MythDownloadManager::download().

◆ m_done

bool MythDownloadInfo::m_done {false}

Definition at line 88 of file mythdownloadmanager.cpp.

Referenced by MythDownloadManager::downloadCanceled().

◆ m_bytesReceived

qint64 MythDownloadInfo::m_bytesReceived {0}

Definition at line 89 of file mythdownloadmanager.cpp.

Referenced by MythDownloadManager::downloadProgress().

◆ m_bytesTotal

qint64 MythDownloadInfo::m_bytesTotal {0}

Definition at line 90 of file mythdownloadmanager.cpp.

Referenced by MythDownloadManager::downloadProgress().

◆ m_lastStat

QDateTime MythDownloadInfo::m_lastStat

◆ m_authCallback

AuthCallback MythDownloadInfo::m_authCallback {nullptr}

◆ m_authArg

void* MythDownloadInfo::m_authArg {nullptr}

◆ m_headers

const QHash<QByteArray, QByteArray>* MythDownloadInfo::m_headers {nullptr}

◆ m_errorCode

QNetworkReply::NetworkError MythDownloadInfo::m_errorCode {QNetworkReply::NoError}

◆ m_lock

QMutex MythDownloadInfo::m_lock

Definition at line 97 of file mythdownloadmanager.cpp.

Referenced by MythDownloadManager::downloadCanceled().


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