summaryrefslogtreecommitdiff
path: root/src/urlbar/urlresolver.h
diff options
context:
space:
mode:
authorYoann Laissus <yoann.laissus@gmail.com>2011-11-21 21:52:06 +0100
committerYoann Laissus <yoann.laissus@gmail.com>2011-11-21 21:52:06 +0100
commit786be5481d7911eee76faf1cfbe0d3b9af46421c (patch)
tree3375ba5b4a566365bc1519cb3b416667f0b8484b /src/urlbar/urlresolver.h
parentClean up MainView::webViewUrlChanged() code (diff)
parentUse the relevance method to sort HistoryItem in the UrlBar (diff)
downloadrekonq-786be5481d7911eee76faf1cfbe0d3b9af46421c.tar.xz
Merge branch 'urlBarOrdering'
Diffstat (limited to 'src/urlbar/urlresolver.h')
-rw-r--r--src/urlbar/urlresolver.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/urlbar/urlresolver.h b/src/urlbar/urlresolver.h
index cc429fa0..d030c607 100644
--- a/src/urlbar/urlresolver.h
+++ b/src/urlbar/urlresolver.h
@@ -114,6 +114,7 @@ typedef QList <UrlSearchItem> UrlSearchList;
// ----------------------------------------------------------------------
+class HistoryItem;
class UrlResolver : public QObject
{
@@ -138,6 +139,8 @@ public:
void computeSuggestions();
+ static bool isHistoryItemRelevant(const HistoryItem &a, const HistoryItem &b);
+
private Q_SLOTS:
void suggestionsReceived(const QString &text, const ResponseList &suggestions);