added full ExtractCallback errors managementd to YACReader

This commit is contained in:
Luis Ángel San Martín
2013-12-16 16:35:12 +01:00
commit 45b4bebce8
737 changed files with 67327 additions and 0 deletions

View File

@ -0,0 +1,27 @@
#ifndef RESPONSE_PARSER_H
#define RESPONSE_PARSER_H
#include <QObject>
class ResponseParser : public QObject
{
Q_OBJECT
public:
explicit ResponseParser(QObject *parent = 0);
bool responseError();
qint32 getNumResults();
qint32 getCurrentPage();
qint32 getTotalPages();
signals:
public slots:
void loadJSONResponse(const QString & response);
protected:
bool error;
qint32 numResults;
qint32 currentPage;
qint32 totalPages;
};
#endif // RESPONSE_PARSER_H