diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2010-12-21 21:59:23 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2010-12-21 21:59:23 +0100 |
commit | 925725bfcf0f3ffba5107949bc8424e1fd6d1902 (patch) | |
tree | ee10e2c10e3ec63b0977661cfbc0ef69ad98002a /src/urlbar/urlbar.h | |
parent | Adding a tab list menu entry showing all open tabs. (diff) | |
download | rekonq-925725bfcf0f3ffba5107949bc8424e1fd6d1902.tar.xz |
Icon at the right of the urlbar that allows to add an opensearch engine
introduce search icon
description file downloaded after validation, not before
icons updated when engine added
add opensearch xml description files
sync desktop file => fix add webshortcut
use db_opensearch.json file to track opensearch engines
create an opensearch description only when the engine support suggestions
remove opensearch description when an engine is deleted in the webshortcut setting dialog
popup: disable ok button when webshortcut is already used
Lionel Chauvin is the man having done this big, big, big work!!
I'm just merging ;)
Diffstat (limited to 'src/urlbar/urlbar.h')
-rw-r--r-- | src/urlbar/urlbar.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/src/urlbar/urlbar.h b/src/urlbar/urlbar.h index 67a693c0..964534cb 100644 --- a/src/urlbar/urlbar.h +++ b/src/urlbar/urlbar.h @@ -79,10 +79,11 @@ public: enum icon { - KGet = 0x00000001, - RSS = 0x00000010, - SSL = 0x00000100, - BK = 0x00001000 + KGet = 0x00000001, + RSS = 0x00000010, + SSL = 0x00000100, + BK = 0x00001000, + SearchEngine = 0x00010000 }; explicit UrlBar(QWidget *parent = 0); @@ -100,15 +101,15 @@ private slots: void loadTyped(const QString &); void clearRightIcons(); - + void updateRightIcons(); + void detectTypedString(const QString &); void suggest(); void showBookmarkInfo(const QPoint &pos); - void onBookmarksChanged(); void refreshFavicon(); - + protected: void paintEvent(QPaintEvent *event); void keyPressEvent(QKeyEvent *event); |