#ifndef UTILITIES_H #define UTILITIES_H #include "globalsettings.h" #include #include int formatTemperature(int temp, GlobalSettings::TemperatureFormat tempFormat); QString formatTemperatureString(int temp, GlobalSettings::TemperatureFormat tempFormat, bool includeUnits = true); QString formatTimeString(QTime time, GlobalSettings::TimeFormat timeFormat, bool includeAMPM = true); QString formatHourString(QTime time, GlobalSettings::TimeFormat timeFormat, bool includeAMPM = true); #endif // UTILITIES_H