summaryrefslogtreecommitdiff
path: root/src/urlbar/urlbar.h
diff options
context:
space:
mode:
authorJohannes Tröscher <fritz_van_tom@hotmail.com>2011-08-22 15:43:51 +0200
committerJohannes Tröscher <fritz_van_tom@hotmail.com>2011-08-22 15:43:51 +0200
commit653a13aa80ed888c34eb4370d12db253b209ecb8 (patch)
tree2aed6b6aee80633e7dec33f0a842beaea55a7542 /src/urlbar/urlbar.h
parentCorrected casing for 'Set Editable' action, also added an icon to it (diff)
downloadrekonq-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.h4
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: