Qmmp
|
The PlayListDownloader class downloads playlist from remote URL and extracts tracks. More...
#include <playlistdownloader.h>
Public Slots | |
void | start (const QUrl &url, PlayListModel *model) |
Signals | |
void | finished (bool ok, const QString &message=QString()) |
Public Member Functions | |
PlayListDownloader (QObject *parent=0) |
The PlayListDownloader class downloads playlist from remote URL and extracts tracks.
PlayListDownloader | ( | QObject * | parent = 0 | ) | [explicit] |
Object constructor.
void finished | ( | bool | ok, |
const QString & | message = QString() |
||
) | [signal] |
Emitted when downloading is finished.
ok | Result of downloading (if an error occurs, ok is set to false; otherwise ok is set to true). |
message | Error message. |
void start | ( | const QUrl & | url, |
PlayListModel * | model | ||
) | [slot] |
Starts playlist downloading.
url | URL of remote playlist. |
model | Destination playlist model. |