![]() |
Sayonara Player
|
The CoverLookup class. More...
#include <CoverLookup.h>
Public Slots | |
void | start () |
Signals | |
void | sigCoverFound (const QPixmap &pm) |
void | sigFinished (bool success) |
void | sigStarted () |
Public Member Functions | |
Lookup (const Location &cl, int n_covers, QObject *parent) | |
void | stop () override |
Stop the Cover::FetchThread if running and retrieve the sigFinished signal If no Cover::FetchThread is running, nothing will happen. | |
void | setUserData (void *data) |
Set some custom data you can retrieve later. More... | |
void * | userData () |
Fetch your custom data again. More... | |
QList< QPixmap > | pixmaps () const |
Get a copy of all pixmaps that where fetched. More... | |
Util::Covers::Source | source () const |
Location | coverLocation () const |
void | setCoverLocation (const Location &cl) |
The CoverLookup class.
QList<QPixmap> Cover::Lookup::pixmaps | ( | ) | const |
Get a copy of all pixmaps that where fetched.
void Cover::Lookup::setUserData | ( | void * | data | ) |
Set some custom data you can retrieve later.
data |
void* Cover::Lookup::userData | ( | ) |
Fetch your custom data again.