#include <QImage>
#include <QList>
+class QNetworkAccessManager;
+class QNetworkReply;
+
/** Search for books, display and download results. */
class Search: public QObject
{
void start(const Query &query);
QList<Result> results();
bool download(const Result &result, const QString &fileName);
+ void finished();
protected:
explicit Search();
+ QNetworkAccessManager *manager;
+ QNetworkReply *reply;
};
#endif // SEARCH_H