diff options
Diffstat (limited to 'src/opensearch/suggestionparser.h')
-rw-r--r-- | src/opensearch/suggestionparser.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/opensearch/suggestionparser.h b/src/opensearch/suggestionparser.h index 7de54654..e59a092c 100644 --- a/src/opensearch/suggestionparser.h +++ b/src/opensearch/suggestionparser.h @@ -43,22 +43,27 @@ class Response public: QString url; QString title; + QString image; QString description; Response(const Response &item) : url(item.url), title(item.title), + image(item.image), description(item.description) {}; Response() : url(QString()), title(QString()), + image(QString()), description(QString()) {}; Response(const QString &_url, const QString &_title = QString(), + const QString &_image = QString(), const QString &description = QString()) : url(_url), title(_title), + image(_image), description(description) {}; }; @@ -92,4 +97,4 @@ public: ResponseList parse(const QByteArray &resp); }; -#endif //SUGGESTIONPARSER_H
\ No newline at end of file +#endif //SUGGESTIONPARSER_H |