From ea06040c4d7d95f43dab9127a532b4d3e78ba78c Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Sun, 23 Sep 2012 12:28:30 +0200 Subject: new tab action --- src/webwindow/webwindow.cpp | 53 +++++---------------------------------------- 1 file changed, 5 insertions(+), 48 deletions(-) (limited to 'src/webwindow') diff --git a/src/webwindow/webwindow.cpp b/src/webwindow/webwindow.cpp index fe150504..9e276271 100644 --- a/src/webwindow/webwindow.cpp +++ b/src/webwindow/webwindow.cpp @@ -292,54 +292,11 @@ void WebWindow::setupActions() actionCollection()->addAction(QL1S("sync"), a); connect(a, SIGNAL(triggered(bool)), SyncManager::self(), SLOT(showSettings())); -// -// --- -// + -// + -// -// + -// + -// + -// -// -// -// -// -// &Tools -// + -// -// + -// --------- -// + -// xxxxxxxxxxx -// + -// -// + -// + -// + -// -// -// -// -// + -// -// -// -// &Help -// -// -// -// -// -// -// -// -// -// -// -// + -// - + // ============================== General Tab Actions ==================================== + a = new KAction(KIcon("tab-new"), i18n("New &Tab"), this); + a->setShortcut(KShortcut(Qt::CTRL + Qt::Key_T)); + actionCollection()->addAction(QL1S("new_tab"), a); + connect(a, SIGNAL(triggered(bool)), rApp, SLOT(newTab())); } -- cgit v1.2.1