#ifndef INCLUDEILEDOWNLOADER_H #define INCLUDEILEDOWNLOADER_H #include #include #include #include #include class FileDownloader : public QObject { Q_OBJECT public: explicit FileDownloader(QUrl url, QObject *parent = 0); virtual ~FileDownloader(); QByteArray DownloadedData() const; signals: void downloaded(); private slots: void FileDownloaded(QNetworkReply* pReply); private: QNetworkAccessManager m_WebCtrl; QByteArray m_DownloadedData; }; #endif // INCLUDEILEDOWNLOADER_H