summaryrefslogtreecommitdiff
path: root/src/tabwidget.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2008-12-11 14:34:42 +0100
committerAndrea Diamantini <adjam7@gmail.com>2008-12-11 14:34:42 +0100
commit72cf5c1727345cca277b36702a59c58b9be5ef58 (patch)
treeef49ebc865482c6ef7ecf507d8d740cd41e96fa4 /src/tabwidget.cpp
parentctrl + click open new tab AND select (diff)
downloadrekonq-72cf5c1727345cca277b36702a59c58b9be5ef58.tar.xz
( SHIFT + ) CTRL + TAB switching. Finally!!
Diffstat (limited to 'src/tabwidget.cpp')
-rw-r--r--src/tabwidget.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/tabwidget.cpp b/src/tabwidget.cpp
index 0b815b6e..54db660a 100644
--- a/src/tabwidget.cpp
+++ b/src/tabwidget.cpp
@@ -511,6 +511,10 @@ WebView *TabWidget::newTab(bool makeCurrent)
connect(webView->page(), SIGNAL(menuBarVisibilityChangeRequested(bool)), this, SIGNAL(menuBarVisibilityChangeRequested(bool)));
connect(webView->page(), SIGNAL(statusBarVisibilityChangeRequested(bool)), this, SIGNAL(statusBarVisibilityChangeRequested(bool)));
connect(webView->page(), SIGNAL(toolBarVisibilityChangeRequested(bool)), this, SIGNAL(toolBarVisibilityChangeRequested(bool)));
+
+ connect(webView, SIGNAL( ctrlTabPressed() ), this, SLOT( nextTab() ) );
+ connect(webView, SIGNAL( shiftCtrlTabPressed() ), this, SLOT( previousTab() ) );
+
addTab(webView, i18n("(Untitled)") );
if (makeCurrent)
setCurrentWidget(webView);