summaryrefslogtreecommitdiff
path: root/src/mainwindow.h
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-10-04 12:36:08 +0200
committerAndrea Diamantini <adjam7@gmail.com>2009-10-04 12:36:08 +0200
commit0879e9b8526783505ffc63a74c588fd1abb015c6 (patch)
treea680780cfddea40c4cf1cc11195d26a107fb1736 /src/mainwindow.h
parentView image action (diff)
downloadrekonq-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.h12
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: