summaryrefslogtreecommitdiffstats
path: root/qt-ui/configuredivecomputerdialog.h
diff options
context:
space:
mode:
authorGravatar Joseph W. Joshua <joejoshw@gmail.com>2014-06-10 19:19:28 +0300
committerGravatar Thiago Macieira <thiago@macieira.org>2014-08-13 10:48:14 -0700
commite54d7d9178fc159f068587a59244340bec068efb (patch)
treefe0398971e8b7686b0762f1a58cc63361bc81b40 /qt-ui/configuredivecomputerdialog.h
parent3534e29ae2165aab491c2e0cdecd667dd8cf50e8 (diff)
downloadsubsurface-e54d7d9178fc159f068587a59244340bec068efb.tar.gz
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>
Diffstat (limited to 'qt-ui/configuredivecomputerdialog.h')
-rw-r--r--qt-ui/configuredivecomputerdialog.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/qt-ui/configuredivecomputerdialog.h b/qt-ui/configuredivecomputerdialog.h
index e8c941fcf..7312deec7 100644
--- a/qt-ui/configuredivecomputerdialog.h
+++ b/qt-ui/configuredivecomputerdialog.h
@@ -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