diff options
author | jan Iversen <jan@casacondor.com> | 2020-01-20 10:48:31 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-01-20 15:45:20 -0800 |
commit | d924afdf52b578c3afccfc7e702acdbb7800d38c (patch) | |
tree | 532ad29abd843d603529f6d1c5e9c8bbe8995776 /qt-models/diveplannermodel.h | |
parent | b1751ac0c601846d7e2dcf629bfd157bda4d39ef (diff) | |
download | subsurface-d924afdf52b578c3afccfc7e702acdbb7800d38c.tar.gz |
qt-models: add suffix Display to unit system aware asc/desc setters
Change ascent/descent setter function names to set_<name>Display
to show the value is prepared for displaying (common for desktop and QML).
Signed-off-by: jan Iversen <jan@casacondor.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-models/diveplannermodel.h')
-rw-r--r-- | qt-models/diveplannermodel.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/qt-models/diveplannermodel.h b/qt-models/diveplannermodel.h index 88cca5879..23d9ada02 100644 --- a/qt-models/diveplannermodel.h +++ b/qt-models/diveplannermodel.h @@ -104,11 +104,11 @@ slots: void setSurfaceSegment(int duration); void setSacFactor(double factor); void setProblemSolvingTime(int minutes); - void setAscrate75(int rate); - void setAscrate50(int rate); - void setAscratestops(int rate); - void setAscratelast6m(int rate); - void setDescrate(int rate); + void setAscrate75Display(int rate); + void setAscrate50Display(int rate); + void setAscratestopsDisplay(int rate); + void setAscratelast6mDisplay(int rate); + void setDescrateDisplay(int rate); signals: void planCreated(); |