ReportCriteria Class Reference
Stores entries from export dialog. More...
#include <reportcriteria.h>
Public Types | |
enum | REPORTTYPE { CSVTotalsExport = 0, CSVHistoryExport = 1 } |
Public Attributes | |
REPORTTYPE | reportType |
QString | url |
QDate | from |
QDate | to |
bool | allTasks |
bool | decimalMinutes |
QString | delimiter |
QString | quote |
Detailed Description
Stores entries from export dialog.Keeps details (like CSV export dialog control names) out of the TaskView class, which contains the slot triggered by the export action.
The dialog and the report logic can change all they want and the TaskView logic can stay the same.
Definition at line 37 of file reportcriteria.h.
Member Enumeration Documentation
|
The different report types. Definition at line 44 of file reportcriteria.h. |
Member Data Documentation
|
The type of report we are running. Definition at line 49 of file reportcriteria.h. Referenced by KarmStorage::report(). |
|
For reports that write to a file, the filename to write to. Definition at line 54 of file reportcriteria.h. |
|
For history reports, the lower bound of the date range to report on. Definition at line 59 of file reportcriteria.h. Referenced by KarmStorage::report(). |
|
For history reports, the upper bound of the date range to report on. Definition at line 64 of file reportcriteria.h. Referenced by KarmStorage::report(). |
|
True if the report should contain all tasks in Karm. Defaults to true. Definition at line 71 of file reportcriteria.h. |
|
True if the durations should be output in decimal hours. Otherwise, output durations as HH24:MI Definition at line 77 of file reportcriteria.h. |
|
The delimiter to use when outputting comma-seperated value reports. Definition at line 82 of file reportcriteria.h. |
|
The quote to use for text fields when outputting comma-seperated reports. Definition at line 87 of file reportcriteria.h. |
The documentation for this class was generated from the following file: