summaryrefslogtreecommitdiff
path: root/src/urlbar/urlresolver.h
diff options
context:
space:
mode:
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);