16#ifndef QGSFILEDOWNLOADERDIALOG_H
17#define QGSFILEDOWNLOADERDIALOG_H
19#include <QProgressDialog>
64 void onError(
const QStringList &errors );
65 void onDownloadProgress( qint64 bytesReceived, qint64 bytesTotal );
69 QString mOutputFileName;
QgsFileDownloaderDialog is a QProgressDialog subclass which handles file downloads and user feedback.
void downloadCompleted()
Emitted when the download has completed successfully.
void downloadExited()
Emitted always when the downloader exits.
void downloadError(QStringList errorMessages)
Emitted when an error makes the download fail.
void downloadCanceled()
Emitted when the download was canceled by the user.
void downloadProgress(qint64 bytesReceived, qint64 bytesTotal)
Emitted when data are ready to be processed.
QgsFileDownloader is a utility class for downloading files.