diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2009-07-24 16:00:58 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2009-07-24 16:00:58 +0200 |
commit | 42cfac2eb3446e8677a6488e3a7f4022f3222006 (patch) | |
tree | 82ce07965ed4eba9015562e2bec76aec8bf538fd /src/mainwindow.cpp | |
parent | Pano "create new windowd" bug fix and other little web classes (diff) | |
download | rekonq-42cfac2eb3446e8677a6488e3a7f4022f3222006.tar.xz |
Rekonq tools menu
(waiting for clear data action..)
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r-- | src/mainwindow.cpp | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 09c36263..b2e5106c 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -331,17 +331,27 @@ void MainWindow::setupTools() toolsMenu->addAction(actionByName(KStandardAction::name(KStandardAction::SaveAs))); toolsMenu->addAction(actionByName(KStandardAction::name(KStandardAction::Print))); toolsMenu->addAction(actionByName(KStandardAction::name(KStandardAction::Find))); + toolsMenu->addSeparator(); + + KActionMenu *webMenu = new KActionMenu(KIcon("applications-development-web"), i18n("Web Development"), this); + webMenu->addAction(actionByName(QLatin1String("web_inspector"))); + webMenu->addAction(actionByName(QLatin1String("page_source"))); + toolsMenu->addAction(webMenu); + toolsMenu->addAction(actionByName(QLatin1String("private_browsing"))); - toolsMenu->addAction(actionByName(QLatin1String("web_inspector"))); - toolsMenu->addAction(actionByName(QLatin1String("page_source"))); + toolsMenu->addSeparator(); - toolsMenu->addAction(actionByName(KStandardAction::name(KStandardAction::ShowMenubar))); + toolsMenu->addAction(actionByName(QLatin1String("show_history_panel"))); toolsMenu->addAction(actionByName(KStandardAction::name(KStandardAction::FullScreen))); + toolsMenu->addSeparator(); + + toolsMenu->addAction(KStandardAction::helpContents(this, SLOT(appHelpActivated()), actionCollection())); toolsMenu->addAction(actionByName(KStandardAction::name(KStandardAction::Preferences))); + // adding rekonq_tools to rekonq actionCollection actionCollection()->addAction(QLatin1String("rekonq_tools"), toolsMenu); } |