Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
Assets::Downloader::AssetDownloaderPrivate Class Reference
Collaboration diagram for Assets::Downloader::AssetDownloaderPrivate:

Public Member Functions

 AssetDownloaderPrivate (AssetDownloader *q)
void setLocalDownloadDir (const QDir &dir)
void setProgress (int progressValue, int progressMaximum, const QString &progressText)
void updateProgress (int progressValue, int progressMaximum)
void clearProgress (const QString &progressText)
void setupDownload (NetworkQuery *query, const QString &progressText)
 AssetDownloaderPrivate (AssetDownloader *q)
void setLocalDownloadDir (const QDir &dir)
void setProgress (int progressValue, int progressMaximum, const QString &progressText)
void updateProgress (int progressValue, int progressMaximum)
void clearProgress (const QString &progressText)
void setupDownload (NetworkQuery *query, const QString &progressText)

Public Attributes

AssetDownloaderm_q = nullptr
std::unique_ptr< QNetworkAccessManagerm_manager
std::unique_ptr< QTemporaryDir > m_temporaryDir
TaskTreeRunner m_taskTreeRunner
QString m_lastProgressText
QDir m_localDownloadDir
QString m_jsonFileName
QString m_zipFileName
QDir m_preferredLocalDownloadDir
QUrl m_offlineAssetsFilePath
QUrl m_downloadBase
QStringList m_networkErrors
QStringList m_sslErrors

Detailed Description

Definition at line 33 of file assetdownloader.cpp.

Constructor & Destructor Documentation

◆ AssetDownloaderPrivate() [1/2]

Assets::Downloader::AssetDownloaderPrivate::AssetDownloaderPrivate ( AssetDownloader * q)
inline

Definition at line 36 of file assetdownloader.cpp.

References m_q.

◆ AssetDownloaderPrivate() [2/2]

Assets::Downloader::AssetDownloaderPrivate::AssetDownloaderPrivate ( AssetDownloader * q)
inline

Definition at line 36 of file assetdownloader.cpp.

Member Function Documentation

◆ clearProgress() [1/2]

void Assets::Downloader::AssetDownloaderPrivate::clearProgress ( const QString & progressText)
inline

Definition at line 70 of file assetdownloader.cpp.

◆ clearProgress() [2/2]

void Assets::Downloader::AssetDownloaderPrivate::clearProgress ( const QString & progressText)
inline

Definition at line 70 of file assetdownloader.cpp.

◆ setLocalDownloadDir() [1/2]

void Assets::Downloader::AssetDownloaderPrivate::setLocalDownloadDir ( const QDir & dir)
inline

Definition at line 54 of file assetdownloader.cpp.

◆ setLocalDownloadDir() [2/2]

void Assets::Downloader::AssetDownloaderPrivate::setLocalDownloadDir ( const QDir & dir)
inline

Definition at line 54 of file assetdownloader.cpp.

◆ setProgress() [1/2]

void Assets::Downloader::AssetDownloaderPrivate::setProgress ( int progressValue,
int progressMaximum,
const QString & progressText )
inline

Definition at line 61 of file assetdownloader.cpp.

◆ setProgress() [2/2]

void Assets::Downloader::AssetDownloaderPrivate::setProgress ( int progressValue,
int progressMaximum,
const QString & progressText )
inline

Definition at line 61 of file assetdownloader.cpp.

◆ setupDownload() [1/2]

void Assets::Downloader::AssetDownloaderPrivate::setupDownload ( NetworkQuery * query,
const QString & progressText )
inline

Definition at line 75 of file assetdownloader.cpp.

◆ setupDownload() [2/2]

void Assets::Downloader::AssetDownloaderPrivate::setupDownload ( NetworkQuery * query,
const QString & progressText )
inline

Definition at line 75 of file assetdownloader.cpp.

◆ updateProgress() [1/2]

void Assets::Downloader::AssetDownloaderPrivate::updateProgress ( int progressValue,
int progressMaximum )
inline

Definition at line 66 of file assetdownloader.cpp.

◆ updateProgress() [2/2]

void Assets::Downloader::AssetDownloaderPrivate::updateProgress ( int progressValue,
int progressMaximum )
inline

Definition at line 66 of file assetdownloader.cpp.

Member Data Documentation

◆ m_downloadBase

QUrl Assets::Downloader::AssetDownloaderPrivate::m_downloadBase

Definition at line 50 of file assetdownloader.cpp.

◆ m_jsonFileName

QString Assets::Downloader::AssetDownloaderPrivate::m_jsonFileName

Definition at line 45 of file assetdownloader.cpp.

◆ m_lastProgressText

QString Assets::Downloader::AssetDownloaderPrivate::m_lastProgressText

Definition at line 42 of file assetdownloader.cpp.

◆ m_localDownloadDir

QDir Assets::Downloader::AssetDownloaderPrivate::m_localDownloadDir

Definition at line 43 of file assetdownloader.cpp.

◆ m_manager

std::unique_ptr< QNetworkAccessManager > Assets::Downloader::AssetDownloaderPrivate::m_manager

Definition at line 39 of file assetdownloader.cpp.

◆ m_networkErrors

QStringList Assets::Downloader::AssetDownloaderPrivate::m_networkErrors

Definition at line 51 of file assetdownloader.cpp.

◆ m_offlineAssetsFilePath

QUrl Assets::Downloader::AssetDownloaderPrivate::m_offlineAssetsFilePath

Definition at line 49 of file assetdownloader.cpp.

◆ m_preferredLocalDownloadDir

QDir Assets::Downloader::AssetDownloaderPrivate::m_preferredLocalDownloadDir
Initial value:

Definition at line 47 of file assetdownloader.cpp.

◆ m_q

AssetDownloader * Assets::Downloader::AssetDownloaderPrivate::m_q = nullptr

Definition at line 37 of file assetdownloader.cpp.

Referenced by AssetDownloaderPrivate().

◆ m_sslErrors

QStringList Assets::Downloader::AssetDownloaderPrivate::m_sslErrors

Definition at line 52 of file assetdownloader.cpp.

◆ m_taskTreeRunner

TaskTreeRunner Assets::Downloader::AssetDownloaderPrivate::m_taskTreeRunner

Definition at line 41 of file assetdownloader.cpp.

◆ m_temporaryDir

std::unique_ptr< QTemporaryDir > Assets::Downloader::AssetDownloaderPrivate::m_temporaryDir

Definition at line 40 of file assetdownloader.cpp.

◆ m_zipFileName

QString Assets::Downloader::AssetDownloaderPrivate::m_zipFileName

Definition at line 46 of file assetdownloader.cpp.


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