summaryrefslogtreecommitdiffstats
path: root/karm/karmutility.h
blob: 28fbdc029471c80369ac3ec5c1af540570e2856a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#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