diff options
author | Tomaz Canabrava <tomaz.canabrava@intel.com> | 2015-06-01 16:58:23 -0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-06-01 13:24:37 -0700 |
commit | b8092c07a4b4d7715d825641e458be5fa56972d6 (patch) | |
tree | 81d7604b2f53fe234d83a09a3645616a681e9ba1 /qt-ui/locationinformation.h | |
parent | 82d3f088a40545624f0d1ac61ca990e05325081c (diff) | |
download | subsurface-b8092c07a4b4d7715d825641e458be5fa56972d6.tar.gz |
Create a new DiveSite when user clicks on add
Also reorganized a bit of the code, and renamed a few misleading methods.
[Dirk Hohndel: remove some C++11 code]
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/locationinformation.h')
-rw-r--r-- | qt-ui/locationinformation.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qt-ui/locationinformation.h b/qt-ui/locationinformation.h index 2a34512bd..0dcae9d7f 100644 --- a/qt-ui/locationinformation.h +++ b/qt-ui/locationinformation.h @@ -15,13 +15,13 @@ protected: public slots: void acceptChanges(); void rejectChanges(); - void setLocationId(uint32_t uuid); + void setCurrentDiveSiteByUuid(uint32_t uuid); void updateGpsCoordinates(void); void markChangedWidget(QWidget *w); void enableEdition(); void resetState(); void resetPallete(); - void setCurrentDiveSite(int dive_nr); + void setCurrentDiveSiteByIndex(int dive_nr); void on_diveSiteCoordinates_textChanged(const QString& text); void on_diveSiteDescription_textChanged(const QString& text); void on_diveSiteName_textChanged(const QString& text); |