14
* download playlistitems, in a queue based fasion
16
class Downloader : public QObject
21
PlaylistItem *notifier;
27
Downloader(QObject *parent=0);
28
virtual ~Downloader();
30
QString enqueue(PlaylistItem *notifier, const KURL &file);
31
void dequeue(PlaylistItem *notifier);
37
void data( KIO::Job *, const QByteArray &data);
38
void percent( KIO::Job *, unsigned long percent);
39
void jobDone( KIO::Job *);
40
void giveUpWithThisDownloadServerIsRunningNT();
43
QList<Downloader::QueueItem> mQueue;
45
Downloader::QueueItem *current;
46
KIO::TransferJob *mJob;