diff options
author | Grace Karanja <gracie.karanja89@gmail.com> | 2015-07-17 18:28:01 +0300 |
---|---|---|
committer | Grace Karanja <gracie.karanja89@gmail.com> | 2015-07-17 19:12:39 +0300 |
commit | df1a1f7034c6c332f7f71a64ab45955c089cd56b (patch) | |
tree | 0e52c44cdf4231a4d82e1ff91ae81dfd48e40706 /qt-mobile/qmlmanager.h | |
parent | aae27629c4b6f524911f869694da27dcd2533adb (diff) | |
download | subsurface-df1a1f7034c6c332f7f71a64ab45955c089cd56b.tar.gz |
QML UI: Implement saving of dives
This implements saving of some dive details to the cloud service. When the
user closes an open dives, any changed details will be cached, and when they
click on the 'Save Changes' button is pressed, the changes will be saved to
the cloud.
Signed-off-by: Grace Karanja <gracie.karanja89@gmail.com>
Diffstat (limited to 'qt-mobile/qmlmanager.h')
-rw-r--r-- | qt-mobile/qmlmanager.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/qt-mobile/qmlmanager.h b/qt-mobile/qmlmanager.h index 558249e4e..2f5ac2894 100644 --- a/qt-mobile/qmlmanager.h +++ b/qt-mobile/qmlmanager.h @@ -22,6 +22,8 @@ public: public slots: void savePreferences(); void loadDives(); + void commitChanges(QString diveId, QString suit, QString buddy, QString diveMaster, QString notes); + void saveChanges(); private: QString m_cloudUserName; QString m_cloudPassword; |