diff options
author | Yoann Laissus <yoann.laissus@gmail.com> | 2011-11-17 00:03:19 +0100 |
---|---|---|
committer | Yoann Laissus <yoann.laissus@gmail.com> | 2011-11-17 00:03:19 +0100 |
commit | 56450614d5353bdf2615bbd0f44d7c867418ac2d (patch) | |
tree | 10289b7d20bc360aa303245c34e5bc363f4636c3 /src/urlbar/urlresolver.h | |
parent | fixuifiles (diff) | |
download | rekonq-56450614d5353bdf2615bbd0f44d7c867418ac2d.tar.xz |
Use the relevance method to sort HistoryItem in the UrlBar
Diffstat (limited to 'src/urlbar/urlresolver.h')
-rw-r--r-- | src/urlbar/urlresolver.h | 3 |
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); |