#ifndef STRINGER_H #define STRINGER_H #include #include namespace Stringer { enum DateTimeType { OneLine, 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 dateTime(const QDateTime &dateTime, DateTimeType type = TwoLine); } #endif // STRINGER_H