From 362f447ede988023951f85f86dc3e7c609fd5014 Mon Sep 17 00:00:00 2001 From: Dominik Riebeling Date: Tue, 26 Jun 2012 00:24:58 +0200 Subject: Create dedicated backup dialog. The "Installation" dialog allows backing up the current installation by creating a zip file from the .rockbox folder since quite a while. However, this has the drawback that you need to update your build to create a backup, but creating a backup might be desireable in other cases as well (before updating themes, or just for backup reasons). Since the functionality is somewhat hidden it's also not obvious to users such a functionality exists (most users are likely to use the "Quick Start" instead). Implement backup functionality as dedicated dialog placed on the Uninstall tab. Rename the Uninstall tab to accommodate this. Change-Id: I1d2c6c8f646672d1b66bb442408fbfc2eeec700d --- rbutil/rbutilqt/rbutilqt.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'rbutil/rbutilqt/rbutilqt.h') diff --git a/rbutil/rbutilqt/rbutilqt.h b/rbutil/rbutilqt/rbutilqt.h index 67fbff78e1..3e57af589b 100644 --- a/rbutil/rbutilqt/rbutilqt.h +++ b/rbutil/rbutilqt/rbutilqt.h @@ -34,6 +34,7 @@ #include "bootloaderinstallbase.h" #include "manualwidget.h" #include "infowidget.h" +#include "backupdialog.h" class RbUtilQt : public QMainWindow { @@ -47,6 +48,7 @@ class RbUtilQt : public QMainWindow private: ManualWidget *manual; InfoWidget *info; + BackupDialog *backupdialog; Ui::RbUtilQtFrm ui; void changeEvent(QEvent *e); @@ -106,6 +108,7 @@ class RbUtilQt : public QMainWindow void createVoiceFile(void); void downloadDone(bool); void downloadInfo(void); + void backup(void); void installVoice(void); void installThemes(void); -- cgit v1.2.3