TimeKard Class Reference
#include <timekard.h>
Public Types | |
| enum | WhichTime { TotalTime , SessionTime } |
Public Member Functions | |
| TQString | totalsAsText (TaskView *taskview, bool justThisTask, WhichTime which) |
| TQString | historyAsText (TaskView *taskview, const TQDate &from, const TQDate &to, bool justThisTask, bool perWeek, bool totalsOnly) |
Detailed Description
Routines to output timecard data.
Definition at line 85 of file timekard.h.
Member Enumeration Documentation
◆ WhichTime
| enum TimeKard::WhichTime |
Definition at line 90 of file timekard.h.
Constructor & Destructor Documentation
◆ TimeKard()
|
inline |
Definition at line 88 of file timekard.h.
Member Function Documentation
◆ historyAsText()
| TQString TimeKard::historyAsText | ( | TaskView * | taskview, |
| const TQDate & | from, | ||
| const TQDate & | to, | ||
| bool | justThisTask, | ||
| bool | perWeek, | ||
| bool | totalsOnly | ||
| ) |
Generates ascii text of weekly task history, for current task on down.
Formatted for pasting into clipboard.
Definition at line 308 of file timekard.cpp.
◆ totalsAsText()
| TQString TimeKard::totalsAsText | ( | TaskView * | taskview, |
| bool | justThisTask, | ||
| WhichTime | which | ||
| ) |
Generates ascii text of task totals, for current task on down.
Formatted for pasting into clipboard.
- Parameters
-
taskview The view whose tasks need to be formatted. justThisTask Only useful when user has picked a root task. We use this parameter to distinguish between when a user just wants to print the task subtree for a root task and when they want to print all tasks.
Definition at line 48 of file timekard.cpp.
The documentation for this class was generated from the following files:
