From 3534e29ae2165aab491c2e0cdecd667dd8cf50e8 Mon Sep 17 00:00:00 2001 From: "Joseph W. Joshua" Date: Tue, 10 Jun 2014 18:37:37 +0300 Subject: 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 Signed-off-by: Thiago Macieira --- qt-ui/devicedetails.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'qt-ui/devicedetails.h') 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; }; -- cgit v1.2.3-70-g09d2