summaryrefslogtreecommitdiff
path: root/src/urlbar/urlresolver.h
diff options
context:
space:
mode:
authormegabigbug <megabigbug@arrakis.(none)>2010-07-20 23:12:45 +0200
committermegabigbug <megabigbug@arrakis.(none)>2010-07-20 23:12:45 +0200
commitdadd2ac929daa925bf7c91379e064427241afc1f (patch)
treee14c08812e3c5384c7600de5c1932ecaf1da7006 /src/urlbar/urlresolver.h
parenthistory review: (diff)
downloadrekonq-dadd2ac929daa925bf7c91379e064427241afc1f.tar.xz
remove useless bookmarkPath attribute of UrlSearchItem
add a regexp for detect url of search engines remove url that are detected from history suggestions
Diffstat (limited to 'src/urlbar/urlresolver.h')
-rw-r--r--src/urlbar/urlresolver.h13
1 files changed, 5 insertions, 8 deletions
diff --git a/src/urlbar/urlresolver.h b/src/urlbar/urlresolver.h
index 0ba93921..190064eb 100644
--- a/src/urlbar/urlresolver.h
+++ b/src/urlbar/urlresolver.h
@@ -61,28 +61,24 @@ public:
UrlSearchItem(const UrlSearchItem &item) : type(item.type),
url(item.url),
title(item.title),
- description(item.description),
- bookmarkPath(item.bookmarkPath)
+ description(item.description)
{};
UrlSearchItem() : type(UrlSearchItem::Undefined),
url(QString()),
title(QString()),
- description(QString()),
- bookmarkPath(QString())
+ description(QString())
{};
UrlSearchItem(const int &_type,
const QString &_url,
const QString &_title = QString(),
- const QString &description = QString(),
- const QString &bookmarkPath = QString()
+ const QString &description = QString()
)
: type(_type),
url(_url),
title(_title),
- description(description),
- bookmarkPath(bookmarkPath)
+ description(description)
{};
inline bool operator==(const UrlSearchItem &i) const
@@ -114,6 +110,7 @@ private:
UrlSearchItem privilegedItem(UrlSearchList* list);
static QRegExp _browseRegexp;
+ static QRegExp _searchEnginesRegexp;
};
// ------------------------------------------------------------------------------