summaryrefslogtreecommitdiffstats
path: root/core/qthelper.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/qthelper.h')
-rw-r--r--core/qthelper.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/core/qthelper.h b/core/qthelper.h
index ef7f4c8ff..d78f65357 100644
--- a/core/qthelper.h
+++ b/core/qthelper.h
@@ -46,16 +46,19 @@ QStringList videoExtensionFilters();
char *copy_qstring(const QString &);
QString get_depth_string(depth_t depth, bool showunit = false, bool showdecimal = true);
QString get_depth_string(int mm, bool showunit = false, bool showdecimal = true);
-QString get_depth_unit();
+QString get_depth_unit(bool metric);
+QString get_depth_unit(); // use preferences unit
QString get_weight_string(weight_t weight, bool showunit = false);
-QString get_weight_unit();
+QString get_weight_unit(bool metric);
+QString get_weight_unit(); // use preferences unit
QString get_temperature_string(temperature_t temp, bool showunit = false);
-QString get_temp_unit();
+QString get_temp_unit(bool metric);
+QString get_temp_unit(); // use preferences unit
QString get_volume_string(volume_t volume, bool showunit = false);
QString get_volume_string(int mliter, bool showunit = false);
-QString get_volume_unit();
+QString get_volume_unit(bool metric);
+QString get_volume_unit(); // use preferences unit
QString get_pressure_string(pressure_t pressure, bool showunit = false);
-QString get_pressure_unit();
QString get_salinity_string(int salinity);
QString get_water_type_string(int salinity);
QString getSubsurfaceDataPath(QString folderToFind);