summaryrefslogtreecommitdiff
path: root/src/opensearch/suggestionparser.h
diff options
context:
space:
mode:
authorLionel Chauvin <megabigbug@yahoo.fr>2010-10-09 17:56:56 +0200
committerAndrea Diamantini <adjam7@gmail.com>2010-10-30 11:38:06 +0200
commitad9792b051c393e344cbf5ac833dc69f50cfea1c (patch)
tree7f0fb1a95eeec46a3e18f8ef0648dc315f652862 /src/opensearch/suggestionparser.h
parentadd an xml parser to the opensearch engine. (diff)
downloadrekonq-ad9792b051c393e344cbf5ac833dc69f50cfea1c.tar.xz
add image field to opensearch
Diffstat (limited to 'src/opensearch/suggestionparser.h')
-rw-r--r--src/opensearch/suggestionparser.h7
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