summaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2011-11-08 10:17:36 +0100
committerAndrea Diamantini <adjam7@gmail.com>2011-11-08 10:17:36 +0100
commit7187da9812bbe6ffb5bf272f18f8e74c8d23d3c7 (patch)
tree210924711005452a622383dcfadb20c5c4cfb364 /src/mainwindow.cpp
parentLet rekonq save file remotely (diff)
downloadrekonq-7187da9812bbe6ffb5bf272f18f8e74c8d23d3c7.tar.xz
Application Shortcut
Added an action to manage it in the tools menu, added initial code to manage icons, added kwebapp application
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index beab3afc..880e4d47 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -531,6 +531,11 @@ void MainWindow::setupActions()
a = new KAction(KIcon("preferences-web-browser-adblock"), i18n("Ad Block"), this);
actionCollection()->addAction(QL1S("adblock"), a);
connect(a, SIGNAL(triggered(bool)), rApp->adblockManager(), SLOT(showSettings()));
+
+ // Web Applications
+ a = new KAction(KIcon("applications-internet"), i18n("Create application shortcut"), this);
+ actionCollection()->addAction(QL1S("webapp_shortcut"), a);
+ connect(a, SIGNAL(triggered(bool)), rApp, SLOT(createWebAppShortcut()));
}