summaryrefslogtreecommitdiff
path: root/src/urlbar/urlsuggester.h
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2012-11-25 12:23:54 +0100
committerAndrea Diamantini <adjam7@gmail.com>2012-12-10 02:48:06 +0100
commitf9781fb4b7d4c09b71188b43848095a1415a4f1e (patch)
tree8297e264124281da8a24353890e5284f218e9876 /src/urlbar/urlsuggester.h
parentImprove suggestions, step 1 (diff)
downloadrekonq-f9781fb4b7d4c09b71188b43848095a1415a4f1e.tar.xz
Improve suggestions, step 2
Every change here is given to trade-off suggestions performance (p) and relevancy (r). - just check bookmarks for relevance if no history entries found (p) - remove bookmarks item duplicates from history (r) - just do it is user typed more than 1 char (p) - order history entries just if user typed more than 1 char (p) - (reverse) order by visit count (most visited first) (r)
Diffstat (limited to 'src/urlbar/urlsuggester.h')
-rw-r--r--src/urlbar/urlsuggester.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/urlbar/urlsuggester.h b/src/urlbar/urlsuggester.h
index 6c77d8dc..f3732d91 100644
--- a/src/urlbar/urlsuggester.h
+++ b/src/urlbar/urlsuggester.h
@@ -136,6 +136,8 @@ private:
void computeQurlFromUserInput();
void computeBookmarks();
+ void removeBookmarksDuplicates();
+
UrlSuggestionList orderLists();
QString _typedString;