Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
|
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) |
Public Attributes | |
AssetDownloader * | m_q = nullptr |
std::unique_ptr< QNetworkAccessManager > | m_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 |
Definition at line 33 of file assetdownloader.cpp.
|
inline |
Definition at line 36 of file assetdownloader.cpp.
|
inline |
Definition at line 68 of file assetdownloader.cpp.
References setProgress().
Referenced by setupDownload().
Definition at line 52 of file assetdownloader.cpp.
References QDir::absolutePath(), dir, emit, QUrl::fromLocalFile(), Assets::Downloader::AssetDownloader::localDownloadDirChanged(), m_localDownloadDir, and m_q.
|
inline |
Definition at line 59 of file assetdownloader.cpp.
References emit, m_lastProgressText, m_q, and Assets::Downloader::AssetDownloader::progressChanged().
Referenced by clearProgress(), and updateProgress().
|
inline |
Definition at line 73 of file assetdownloader.cpp.
References clearProgress(), QObject::connect(), QNetworkReply::downloadProgress(), m_manager, reply, Tasking::NetworkQuery::started(), and updateProgress().
|
inline |
Definition at line 64 of file assetdownloader.cpp.
References m_lastProgressText, and setProgress().
Referenced by setupDownload().
QUrl Assets::Downloader::AssetDownloaderPrivate::m_downloadBase |
Definition at line 50 of file assetdownloader.cpp.
QString Assets::Downloader::AssetDownloaderPrivate::m_jsonFileName |
Definition at line 45 of file assetdownloader.cpp.
QString Assets::Downloader::AssetDownloaderPrivate::m_lastProgressText |
Definition at line 42 of file assetdownloader.cpp.
Referenced by setProgress(), and updateProgress().
QDir Assets::Downloader::AssetDownloaderPrivate::m_localDownloadDir |
Definition at line 43 of file assetdownloader.cpp.
Referenced by setLocalDownloadDir().
std::unique_ptr<QNetworkAccessManager> Assets::Downloader::AssetDownloaderPrivate::m_manager |
Definition at line 39 of file assetdownloader.cpp.
Referenced by setupDownload().
QUrl Assets::Downloader::AssetDownloaderPrivate::m_offlineAssetsFilePath |
Definition at line 49 of file assetdownloader.cpp.
QDir Assets::Downloader::AssetDownloaderPrivate::m_preferredLocalDownloadDir |
Definition at line 47 of file assetdownloader.cpp.
AssetDownloader* Assets::Downloader::AssetDownloaderPrivate::m_q = nullptr |
Definition at line 37 of file assetdownloader.cpp.
Referenced by setLocalDownloadDir(), and setProgress().
TaskTreeRunner Assets::Downloader::AssetDownloaderPrivate::m_taskTreeRunner |
Definition at line 41 of file assetdownloader.cpp.
std::unique_ptr<QTemporaryDir> Assets::Downloader::AssetDownloaderPrivate::m_temporaryDir |
Definition at line 40 of file assetdownloader.cpp.
QString Assets::Downloader::AssetDownloaderPrivate::m_zipFileName |
Definition at line 46 of file assetdownloader.cpp.