summaryrefslogtreecommitdiffstats
path: root/karm/karmutility.h
blob: 7c5608fbe2c2b050cd60687ff57d4292d9503bdc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef KARMUTILITY_H
#define KARMUTILITY_H

#include <tqstring.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.
 *
 */
TQString formatTime( long minutes, bool decimal=false );

#endif