#ifndef STRINGER_H #define STRINGER_H #include #include namespace Stringer { enum datetime_string_type{ datetime_string_type_oneline=0, datetime_string_type_twoline }; const QString fontSize14("\ "); QString remainingTime(int msecs); QString remainingTime(int msecs, QString style); QString remainingTime(qint64 msecs); QString temperature(int celsius); QString temperature(int celsius, QString style); QString temperature(int current, int target); QString temperature(int current, int target, QString style); QString unusedTemperature(); QString unusedTemperature(QString style); QString DateTimeString(const QDateTime &dt_tm, datetime_string_type type=datetime_string_type_twoline); } #endif // STRINGER_H