#include <CoverFetchThread.h>
The CoverFetchThread class, This is not a real QThread class, but behaves like one because of AsyncWebAccess.
|
|
| CoverFetchThread (QObject *parent, const CoverLocation &cl, const int n_covers) |
| |
| bool | start () |
| | start fetching covers, if the url does not contain "google", a direct link to an image is assumed and will be downloaded directly More...
|
| |
| bool | more () |
| | fetch next cover More...
|
| |
|
void | stop () |
| | stops the current search
|
| |
◆ more()
| bool CoverFetchThread::more |
( |
| ) |
|
fetch next cover
- Returns
- false, if there are no more covers to fetch
◆ sig_cover_found
| void CoverFetchThread::sig_cover_found |
( |
const QString & |
cover_path | ) |
|
|
signal |
emitted, when covers has been found
- Parameters
-
◆ sig_finished
| void CoverFetchThread::sig_finished |
( |
bool |
b | ) |
|
|
signal |
emitted, when thread has finished
- Parameters
-
| b | true, if couvers could be fetched. false else |
◆ start()
| bool CoverFetchThread::start |
( |
| ) |
|
start fetching covers, if the url does not contain "google", a direct link to an image is assumed and will be downloaded directly
- Returns
- always true