Backup basic settings as XML

This patch enables XML backup. We can now save the settings
to an XML file. Currently this backs up just the basic stuff
such as custom text, language and brightness.

Signed-off-by: Joseph W. Joshua <joejoshw@gmail.com>
Signed-off-by: Thiago Macieira <thiago@macieira.org>
This commit is contained in:
Joseph W. Joshua 2014-06-10 19:19:28 +03:00 committed by Thiago Macieira
parent 3534e29ae2
commit e54d7d9178
5 changed files with 90 additions and 11 deletions

View file

@ -31,6 +31,8 @@ private slots:
void on_saveSettingsPushButton_clicked();
void deviceDetailsReceived(DeviceDetails *newDeviceDetails);
void reloadValues();
void on_backupButton_clicked();
private:
Ui::ConfigureDiveComputerDialog *ui;
@ -48,6 +50,7 @@ private:
void fill_device_list(int dc_type);
DeviceDetails *deviceDetails;
void populateDeviceDetails();
};
#endif // CONFIGUREDIVECOMPUTERDIALOG_H