summaryrefslogtreecommitdiff
path: root/src/urlbar
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/urlbar
parentadd an xml parser to the opensearch engine. (diff)
downloadrekonq-ad9792b051c393e344cbf5ac833dc69f50cfea1c.tar.xz
add image field to opensearch
Diffstat (limited to 'src/urlbar')
-rw-r--r--src/urlbar/urlresolver.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/urlbar/urlresolver.h b/src/urlbar/urlresolver.h
index a94ef1de..020b3407 100644
--- a/src/urlbar/urlresolver.h
+++ b/src/urlbar/urlresolver.h
@@ -60,29 +60,34 @@ public:
int type;
QString url;
QString title;
+ QString image;
QString description;
QString bookmarkPath;
UrlSearchItem(const UrlSearchItem &item) : type(item.type),
url(item.url),
title(item.title),
+ image(item.image),
description(item.description)
{};
UrlSearchItem() : type(UrlSearchItem::Undefined),
url(QString()),
title(QString()),
+ image(QString()),
description(QString())
{};
UrlSearchItem(const int &_type,
const QString &_url,
const QString &_title = QString(),
+ const QString &_image = QString(),
const QString &description = QString()
)
: type(_type),
url(_url),
title(_title),
+ image(_image),
description(description)
{};