You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
358 B
17 lines
358 B
#ifndef KARMUTILITY_H
|
|
#define KARMUTILITY_H
|
|
|
|
#include <qstring.h>
|
|
|
|
/**
|
|
* Format time for output. All times output on screen or report output go
|
|
* through this function.
|
|
*
|
|
* If the second argument is true, the time is output as a two-place decimal.
|
|
* Otherwise the format is hh:mi.
|
|
*
|
|
*/
|
|
QString formatTime( long minutes, bool decimal=false );
|
|
|
|
#endif
|