11 #include <QNetworkAccessManager>
21 void addURL(
const QUrl &url,
bool overwrite,
const QString& location,
const QString& destinationLocation);
22 void addURLs(
const QStringList &urlList,
bool overwrite,
const QString& location,
const QString& destinationLocation);
23 void startDownloads();
24 QString saveFileName(
const QUrl &url,
const QString &location,
bool overwrite);
29 void fileStarted(
const QString &);
30 void fileReceived(
const QString &);
31 void fileFailed(
const QString &);
34 void startNextDownload();
35 void downloadFinished();
36 void replyFinished(QNetworkReply* reply);
37 void downloadReadyRead();
42 QStringList m_urlList;
44 QQueue<QPair<QUrl, QString> > downloadQueue;
47 QNetworkReply *currentDownload;
48 QNetworkAccessManager manager;
Definition: scdlthread.h:13