Luis Ángel San Martín b4ea359bed added: QsLog to YACReader
added: error log messages to client<->server local comunication
2014-03-23 10:31:32 +01:00

28 lines
496 B
C++

#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