22 #ifndef FILEDOWNLOADER_H 23 #define FILEDOWNLOADER_H 25 #include <tulip/tulipconf.h> 29 #include <QNetworkAccessManager> 30 #include <QNetworkRequest> 31 #include <QNetworkReply> 38 class TLP_QT_SCOPE FileDownloader :
public QObject {
50 const QByteArray &download(
const QUrl &url);
58 void fileDownloaded(QNetworkReply *pReply);
61 QNetworkAccessManager _webCtrl;
62 QByteArray _downloadedData;
66 #endif // FILEDOWNLOADER_H