mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
core: return std::string from get_dive_date_c_string()
Had to convert uemis-donwloader.c to C++. Lot's of non-const clean code. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
203ff8b2e6
commit
cca4c8cae5
7 changed files with 34 additions and 36 deletions
|
|
@ -84,6 +84,7 @@ QString render_seconds_to_string(int seconds);
|
|||
QString get_dive_duration_string(timestamp_t when, QString hoursText, QString minutesText, QString secondsText = gettextFromC::tr("sec"), QString separator = ":", bool isFreeDive = false);
|
||||
QString get_dive_surfint_string(timestamp_t when, QString daysText, QString hoursText, QString minutesText, QString separator = " ", int maxdays = 4);
|
||||
QString get_dive_date_string(timestamp_t when);
|
||||
std::string get_dive_date_c_string(timestamp_t when);
|
||||
QString get_first_dive_date_string();
|
||||
QString get_last_dive_date_string();
|
||||
QString get_short_dive_date_string(timestamp_t when);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue