diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2011-11-08 10:17:36 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2011-11-08 10:17:36 +0100 |
commit | 7187da9812bbe6ffb5bf272f18f8e74c8d23d3c7 (patch) | |
tree | 210924711005452a622383dcfadb20c5c4cfb364 /src/mainwindow.cpp | |
parent | Let rekonq save file remotely (diff) | |
download | rekonq-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.cpp | 5 |
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())); } |