29 #ifndef COVERFETCHTHREAD_H_
30 #define COVERFETCHTHREAD_H_
33 #include <QStringList>
34 #include "CoverLocation.h"
86 QStringList _addresses;
106 QStringList calc_addresses(
int num,
107 const QByteArray& website,
108 const QString& regex)
const;
116 QStringList calc_addresses_from_google(
int num,
117 const QByteArray& website)
const;
125 void save_and_emit_image(
const QString& filepath,
136 void single_image_fetched(
bool success);
143 void multi_image_fetched(
bool success);
149 void content_fetched(
bool success);
The CoverFetchThread class, This is not a real QThread class, but behaves like one because of AsyncWe...
Definition: CoverFetchThread.h:41
void sig_cover_found(const CoverLocation &cl)
emitted, when covers has been found
The CoverLocation class.
Definition: CoverLocation.h:37
bool start()
start fetching covers, if the url does not contain "google", a direct link to an image is assumed and...
bool more()
fetch next cover
void sig_finished(bool b)
emitted, when thread has finished
Asynchgronous web access class.
Definition: AsyncWebAccess.h:37