src/Utils.h

changeset 95
ef6048186cb3
parent 57
75d11cc05ce4
child 98
1425bf3e18ed
equal deleted inserted replaced
94:380b1331ad2e 95:ef6048186cb3
1 #ifndef _UTILS_H 1 #ifndef _UTILS_H
2 #define _UTILS_H 2 #define _UTILS_H
3 3
4 #include <QString> 4 #include <QString>
5 #include <QColor>
5 6
6 7
7 /** 8 /**
8 * @namespace Utils 9 * @namespace Utils
9 * 10 *
15 double kolbach_to_lintner(double kolbach); 16 double kolbach_to_lintner(double kolbach);
16 double ebc_to_srm(double ebc); 17 double ebc_to_srm(double ebc);
17 double srm_to_ebc(double srm); 18 double srm_to_ebc(double srm);
18 19
19 QString hours_to_string(int hours); 20 QString hours_to_string(int hours);
20 21 QColor srm_to_color(int srm);
22 QColor ebc_to_color(int ebc);
21 } 23 }
22 24
23 #endif 25 #endif

mercurial