summaryrefslogtreecommitdiff
path: root/src/urlbar/completionwidget.h
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2011-01-09 11:40:43 +0100
committerAndrea Diamantini <adjam7@gmail.com>2011-01-09 11:42:23 +0100
commit527756748468ddd3d5e7fa1bafcb2e32bf02144b (patch)
treef1f9a34722932e30d8341ec8299cda07b18cfc15 /src/urlbar/completionwidget.h
parentShould fix rekonq compilation against KDE SC 4.5... (diff)
downloadrekonq-527756748468ddd3d5e7fa1bafcb2e32bf02144b.tar.xz
Update the completion list when the user switches search engine on the fly.
Lionel Chauvin's work. Reviewed by me :)
Diffstat (limited to 'src/urlbar/completionwidget.h')
-rw-r--r--src/urlbar/completionwidget.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/urlbar/completionwidget.h b/src/urlbar/completionwidget.h
index 6545b11d..22dfa430 100644
--- a/src/urlbar/completionwidget.h
+++ b/src/urlbar/completionwidget.h
@@ -56,13 +56,14 @@ public:
private slots:
void itemChosen(ListItem *item, Qt::MouseButton = Qt::LeftButton, Qt::KeyboardModifiers = Qt::NoModifier);
void updateSearchList(const UrlSearchList &list, const QString& text);
+ void updateList();
signals:
void chosenUrl(const KUrl &, Rekonq::OpenType);
void nextItemSubChoice();
private:
- void insertSearchList(const UrlSearchList &list, const QString& text);
+ void insertItems(const UrlSearchList &list, const QString& text, int offset = 0);
void popup();
void clear();