diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2009-10-04 12:36:08 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2009-10-04 12:36:08 +0200 |
commit | 0879e9b8526783505ffc63a74c588fd1abb015c6 (patch) | |
tree | a680780cfddea40c4cf1cc11195d26a107fb1736 /src/mainwindow.h | |
parent | View image action (diff) | |
download | rekonq-0879e9b8526783505ffc63a74c588fd1abb015c6.tar.xz |
General (shift +) ctrl tab switch management.
This let tab switch work also when webview is not focused :)
Diffstat (limited to 'src/mainwindow.h')
-rw-r--r-- | src/mainwindow.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/mainwindow.h b/src/mainwindow.h index b8352b4c..c680cc60 100644 --- a/src/mainwindow.h +++ b/src/mainwindow.h @@ -94,8 +94,20 @@ public slots: void printRequested(QWebFrame *frame = 0); + +signals: + // switching tabs + void ctrlTabPressed(); + void shiftCtrlTabPressed(); + protected: bool queryClose(); + + /** + * Filters (SHIFT + ) CTRL + TAB events and emit (shift)ctrlTabPressed() + * to make switch tab + * Filters out ESC key to show/hide the search bar + */ void keyPressEvent(QKeyEvent *event); private slots: |