From 79d358bacab7d8818e9db1f7e532e7ad07939ed8 Mon Sep 17 00:00:00 2001 From: Dominik Riebeling Date: Fri, 12 Oct 2007 16:19:35 +0000 Subject: Add new "actions" menu which allows accessing the install / uninstall actions from the menu. Manual and Info tab are still missing from the menu. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15088 a1c6a512-1295-4272-9138-f99709370657 --- rbutil/rbutilqt/rbutilqt.cpp | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'rbutil/rbutilqt/rbutilqt.cpp') diff --git a/rbutil/rbutilqt/rbutilqt.cpp b/rbutil/rbutilqt/rbutilqt.cpp index 21ccf92d59..5c64466119 100644 --- a/rbutil/rbutilqt/rbutilqt.cpp +++ b/rbutil/rbutilqt/rbutilqt.cpp @@ -105,6 +105,19 @@ RbUtilQt::RbUtilQt(QWidget *parent) : QMainWindow(parent) connect(ui.buttonSmall, SIGNAL(clicked()), this, SLOT(smallInstall())); connect(ui.buttonComplete, SIGNAL(clicked()), this, SLOT(completeInstall())); + // actions accessible from the menu + connect(ui.actionComplete_Installation, SIGNAL(triggered()), this, SLOT(completeInstall())); + connect(ui.actionSmall_Installation, SIGNAL(triggered()), this, SLOT(smallInstall())); + connect(ui.actionInstall_Bootloader, SIGNAL(triggered()), this, SLOT(installBootloaderBtn())); + connect(ui.actionInstall_Rockbox, SIGNAL(triggered()), this, SLOT(installBtn())); + connect(ui.actionFonts_Package, SIGNAL(triggered()), this, SLOT(installFontsBtn())); + connect(ui.actionInstall_Themes, SIGNAL(triggered()), this, SLOT(installThemes())); + connect(ui.actionInstall_Game_Files, SIGNAL(triggered()), this, SLOT(installDoomBtn())); + connect(ui.actionInstall_Voice_File, SIGNAL(triggered()), this, SLOT(installVoice())); + connect(ui.actionCreate_Talk_Files, SIGNAL(triggered()), this, SLOT(createTalkFiles())); + connect(ui.actionRemove_bootloader, SIGNAL(triggered()), this, SLOT(uninstallBootloader())); + connect(ui.actionUninstall_Rockbox, SIGNAL(triggered()), this, SLOT(uninstall())); + #if !defined(STATIC) ui.actionInstall_Rockbox_Utility_on_player->setEnabled(false); #else -- cgit v1.2.3