21 #ifndef PLAYLISTDOWNLOADER_H 22 #define PLAYLISTDOWNLOADER_H 27 #include "playlistmodel.h" 29 class QNetworkAccessManager;
50 void finished(
bool ok,
const QString &message = QString());
61 void readResponse(QNetworkReply *reply);
64 QNetworkAccessManager *m_manager;
65 QUrl m_redirect_url, m_url;
66 QNetworkReply *m_getReply;
68 QPointer<PlayListModel> m_model;
71 #endif // PLAYLISTDOWNLOADER_H The PlayListDownloader class downloads playlist from remote URL and extracts tracks.
Definition: playlistdownloader.h:35
The PlayListModel class provides a data model for the playlist.
Definition: playlistmodel.h:101
PlayListDownloader(QObject *parent=0)
void finished(bool ok, const QString &message=QString())
void start(const QUrl &url, PlayListModel *model)