summaryrefslogtreecommitdiff
path: root/src/webview.cpp
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/webview.cpp
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/webview.cpp')
-rw-r--r--src/webview.cpp18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/webview.cpp b/src/webview.cpp
index 88c0e664..f4e41301 100644
--- a/src/webview.cpp
+++ b/src/webview.cpp
@@ -314,24 +314,6 @@ void WebView::contextMenuEvent(QContextMenuEvent *event)
}
-void WebView::keyPressEvent(QKeyEvent *event)
-{
- if ((event->modifiers() == Qt::ControlModifier) && (event->key() == Qt::Key_Tab))
- {
- emit ctrlTabPressed();
- return;
- }
-
- if ((event->modifiers() == Qt::ControlModifier + Qt::ShiftModifier) && (event->key() == Qt::Key_Backtab))
- {
- emit shiftCtrlTabPressed();
- return;
- }
-
- QWebView::keyPressEvent(event);
-}
-
-
void WebView::mousePressEvent(QMouseEvent *event)
{
m_page->m_pressedButtons = event->buttons();