mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Add helper to parse duration text
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
3afc4528b3
commit
e9debdf281
2 changed files with 25 additions and 0 deletions
|
@ -28,6 +28,7 @@ QString getPrintingTemplatePathBundle();
|
|||
void copyPath(QString src, QString dst);
|
||||
extern const QString get_dc_nickname(const char *model, uint32_t deviceid);
|
||||
int gettimezoneoffset(timestamp_t when = 0);
|
||||
int parseDurationToSeconds(const QString &text);
|
||||
int parseLengthToMm(const QString &text);
|
||||
int parseTemperatureToMkelvin(const QString &text);
|
||||
int parseWeightToGrams(const QString &text);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue