1 #ifndef MUSICDOWNLOADQUEUEREQUEST_H
2 #define MUSICDOWNLOADQUEUEREQUEST_H
56 void addQueue(
const MusicDownloadQueueDataList &datas) noexcept;
69 void clear() noexcept;
79 void handleReadyRead();
83 void handleError(QNetworkReply::NetworkError
code);
89 void startDownload(
const QString &url);
93 void startOrderQueue();
101 #endif // MUSICDOWNLOADQUEUEREQUEST_H
#define TTK_MODULE_EXPORT
QNetworkRequest * m_request
The class of the download data from queue request.
virtual void downloadFinished() override
TTK_DECLARE_LIST(MusicDownloadQueueData)
virtual void startToRequest()=0
The class of the download queue data.
The class of the abstract download data.
MusicDownloadQueueDataList m_queue
QString m_path
download url/