diff options
author | Johannes Tröscher <fritz_van_tom@hotmail.com> | 2011-08-22 15:43:51 +0200 |
---|---|---|
committer | Johannes Tröscher <fritz_van_tom@hotmail.com> | 2011-08-22 15:43:51 +0200 |
commit | 653a13aa80ed888c34eb4370d12db253b209ecb8 (patch) | |
tree | 2aed6b6aee80633e7dec33f0a842beaea55a7542 /src/urlbar/urlbar.h | |
parent | Corrected casing for 'Set Editable' action, also added an icon to it (diff) | |
download | rekonq-653a13aa80ed888c34eb4370d12db253b209ecb8.tar.xz |
custom contextMenu for urlBar
provides a custom contextMenu for urlbar and ads "paste & go" action. i'll provide a "edit-searchEngines" action later.
REVIEW: 102383
REVIEWED-BY: adjam
modified: src/urlbar/urlbar.cpp
modified: src/urlbar/urlbar.h
Diffstat (limited to 'src/urlbar/urlbar.h')
-rw-r--r-- | src/urlbar/urlbar.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/urlbar/urlbar.h b/src/urlbar/urlbar.h index 58e9b5fb..7059725b 100644 --- a/src/urlbar/urlbar.h +++ b/src/urlbar/urlbar.h @@ -115,12 +115,16 @@ private Q_SLOTS: void refreshFavicon(); + void pasteAndGo(); + void delSlot(); + protected: void paintEvent(QPaintEvent *event); void keyPressEvent(QKeyEvent *event); void focusInEvent(QFocusEvent *event); void dropEvent(QDropEvent *event); void mouseDoubleClickEvent(QMouseEvent *); + void contextMenuEvent(QContextMenuEvent *event); void resizeEvent(QResizeEvent *); private: |