ktimetracker
karmutility.h File Reference
#include <KDebug>
#include <QString>
Include dependency graph for karmutility.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Functions | |
| QString | formatTime (double minutes, bool decimal=false) |
| QString | getFocusWindow () |
Variables | |
| const int | secsPerMinute = 60 |
Function Documentation
| QString formatTime | ( | double | minutes, | |
| bool | decimal = false | |||
| ) |
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.
Definition at line 45 of file karmutility.cpp.
| QString getFocusWindow | ( | ) |
Variable Documentation
| const int secsPerMinute = 60 |
Definition at line 42 of file karmutility.h.
KDE 4.2 API Reference