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 43 of file mythdownloadmanager.cpp.

Constructor & Destructor Documentation

◆ MythDownloadInfo()

MythDownloadInfo::MythDownloadInfo ( )
inline

Definition at line 46 of file mythdownloadmanager.cpp.

◆ ~MythDownloadInfo()

MythDownloadInfo::~MythDownloadInfo ( )
inline

Definition at line 52 of file mythdownloadmanager.cpp.

Member Function Documentation

◆ IsDone()

bool MythDownloadInfo::IsDone ( void  )
inline

Definition at line 59 of file mythdownloadmanager.cpp.

Referenced by MythDownloadManager::downloadNow().

◆ SetDone()

void MythDownloadInfo::SetDone ( bool  done)
inline

Definition at line 65 of file mythdownloadmanager.cpp.

Member Data Documentation

◆ m_url

QString MythDownloadInfo::m_url

◆ m_redirectedTo

QUrl MythDownloadInfo::m_redirectedTo

Definition at line 72 of file mythdownloadmanager.cpp.

Referenced by MythDownloadManager::downloadFinished().

◆ m_finalUrl

QString* MythDownloadInfo::m_finalUrl {nullptr}

Definition at line 73 of file mythdownloadmanager.cpp.

Referenced by MythDownloadManager::downloadFinished().

◆ 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 78 of file mythdownloadmanager.cpp.

Referenced by RemoteFileDownloadThread::run().

◆ 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 84 of file mythdownloadmanager.cpp.

Referenced by ~MythDownloadInfo().

◆ m_done

bool MythDownloadInfo::m_done {false}

Definition at line 85 of file mythdownloadmanager.cpp.

Referenced by MythDownloadManager::downloadCanceled(), IsDone(), and SetDone().

◆ m_bytesReceived

qint64 MythDownloadInfo::m_bytesReceived {0}

◆ m_bytesTotal

qint64 MythDownloadInfo::m_bytesTotal {0}

◆ m_lastStat

QDateTime MythDownloadInfo::m_lastStat

◆ m_authCallback

AuthCallback MythDownloadInfo::m_authCallback {nullptr}

◆ m_authArg

void* MythDownloadInfo::m_authArg {nullptr}

Definition at line 90 of file mythdownloadmanager.cpp.

Referenced by MythDownloadManager::authCallback().

◆ 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 94 of file mythdownloadmanager.cpp.

Referenced by MythDownloadManager::downloadCanceled(), IsDone(), and SetDone().


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