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