diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2008-12-11 14:34:42 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2008-12-11 14:34:42 +0100 |
commit | 72cf5c1727345cca277b36702a59c58b9be5ef58 (patch) | |
tree | ef49ebc865482c6ef7ecf507d8d740cd41e96fa4 /src/webview.h | |
parent | ctrl + click open new tab AND select (diff) | |
download | rekonq-72cf5c1727345cca277b36702a59c58b9be5ef58.tar.xz |
( SHIFT + ) CTRL + TAB switching. Finally!!
Diffstat (limited to 'src/webview.h')
-rw-r--r-- | src/webview.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/webview.h b/src/webview.h index 62d4f3a5..ae5230ce 100644 --- a/src/webview.h +++ b/src/webview.h @@ -82,12 +82,23 @@ public: QString lastStatusBarText() const; inline int progress() const { return m_progress; } +signals: + // switching tabs + void ctrlTabPressed(); + void shiftCtrlTabPressed(); + protected: void mousePressEvent(QMouseEvent *event); void mouseReleaseEvent(QMouseEvent *event); void contextMenuEvent(QContextMenuEvent *event); void wheelEvent(QWheelEvent *event); + /** + * FIlters (SHIFT + ) CTRL + TAB events and emit (shift)ctrlTabPressed() + * to make switch tab + */ + void keyPressEvent(QKeyEvent *event); + private slots: void setProgress(int progress); void loadFinished(); |