summaryrefslogtreecommitdiffstats
path: root/qt-ui/devicedetails.h
diff options
context:
space:
mode:
authorGravatar Joseph W. Joshua <joejoshw@gmail.com>2014-06-10 18:37:37 +0300
committerGravatar Thiago Macieira <thiago@macieira.org>2014-08-13 10:48:14 -0700
commit3534e29ae2165aab491c2e0cdecd667dd8cf50e8 (patch)
treee2e1a6b99fef7d3be59f3a7ce3cfaed5ffcf4dfd /qt-ui/devicedetails.h
parent20eb62a98a70c1773ff99ece05f1c69e6ca8ce15 (diff)
downloadsubsurface-3534e29ae2165aab491c2e0cdecd667dd8cf50e8.tar.gz
Port writing of date and time to new classes
After splitting dive computer configuration classes, the date/time setting had not been ported. This adds the same to the classes. Signed-off-by: Joseph W. Joshua <joejoshw@gmail.com> Signed-off-by: Thiago Macieira <thiago@macieira.org>
Diffstat (limited to 'qt-ui/devicedetails.h')
-rw-r--r--qt-ui/devicedetails.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/qt-ui/devicedetails.h b/qt-ui/devicedetails.h
index 9f5e7c1dd..a0d0f18c2 100644
--- a/qt-ui/devicedetails.h
+++ b/qt-ui/devicedetails.h
@@ -38,6 +38,9 @@ public:
int lastDeco() const;
void setLastDeco(int lastDeco);
+ bool syncTime() const;
+ void setSyncTime(bool syncTime);
+
private:
device_data_t *m_data;
QString m_serialNo;
@@ -48,6 +51,7 @@ private:
int m_language;
int m_dateFormat;
int m_lastDeco;
+ bool m_syncTime;
};