Qmmp
Public Slots | Signals | Public Member Functions | List of all members
PlayListDownloader Class Reference

#include <playlistdownloader.h>

Inherits QObject.

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)
 

Detailed Description

The PlayListDownloader class downloads playlist from remote URL and extracts tracks.

Author
Ilya Kotov forko.nosp@m.tov0.nosp@m.2@ya..nosp@m.ru

Constructor & Destructor Documentation

◆ PlayListDownloader()

PlayListDownloader ( QObject *  parent = 0)
explicit

Object constructor.

Member Function Documentation

◆ finished

void finished ( bool  ok,
const QString &  message = QString() 
)
signal

Emitted when downloading is finished.

Parameters
okResult of downloading (if an error occurs, ok is set to false; otherwise ok is set to true).
messageError message.

◆ start

void start ( const QUrl &  url,
PlayListModel model 
)
slot

Starts playlist downloading.

Parameters
urlURL of remote playlist.
modelDestination playlist model.

The documentation for this class was generated from the following file: