1 #ifndef FILEDOWNLOADER_H
2 #define FILEDOWNLOADER_H
4 #include <tulip/tulipconf.h>
8 #include <QNetworkAccessManager>
9 #include <QNetworkRequest>
10 #include <QNetworkReply>
31 const QByteArray &download(
const QUrl &url);
39 void fileDownloaded(QNetworkReply* pReply);
43 QNetworkAccessManager _webCtrl;
44 QByteArray _downloadedData;
50 #endif // FILEDOWNLOADER_H
Helper class to download the content of a file referenced by an url.