• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • kdepim
  • Sitemap
  • Contact Us
 

ktimetracker

ReportCriteria Class Reference

#include <reportcriteria.h>

List of all members.


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 41 of file reportcriteria.h.


Public Types

enum  REPORTTYPE { CSVTotalsExport = 0, CSVHistoryExport = 1 }

Public Attributes

bool allTasks
bool bExPortToClipBoard
bool decimalMinutes
QString delimiter
QDate from
QString quote
REPORTTYPE reportType
bool sessionTimes
QDate to
KUrl url

Member Enumeration Documentation

enum ReportCriteria::REPORTTYPE

The different report types.

Enumerator:
CSVTotalsExport 
CSVHistoryExport 

Definition at line 48 of file reportcriteria.h.


Member Data Documentation

bool ReportCriteria::allTasks

True if user chose to export all tasks, not only the selected one.

Definition at line 84 of file reportcriteria.h.

bool ReportCriteria::bExPortToClipBoard

True if a clipboard export is wished, not an export to a file.

Definition at line 89 of file reportcriteria.h.

bool ReportCriteria::decimalMinutes

True if the durations should be output in decimal hours.

Otherwise, output durations as HH24:MI

Definition at line 74 of file reportcriteria.h.

QString ReportCriteria::delimiter

The delimiter to use when outputting comma-separated value reports.

Definition at line 94 of file reportcriteria.h.

QDate ReportCriteria::from

For history reports, the lower bound of the date range to report on.

Definition at line 63 of file reportcriteria.h.

QString ReportCriteria::quote

The quote to use for text fields when outputting comma-separated reports.

Definition at line 99 of file reportcriteria.h.

REPORTTYPE ReportCriteria::reportType

The type of report we are running.

Definition at line 53 of file reportcriteria.h.

bool ReportCriteria::sessionTimes

True if user chose to export session times, not all times.

Definition at line 79 of file reportcriteria.h.

QDate ReportCriteria::to

For history reports, the upper bound of the date range to report on.

Definition at line 68 of file reportcriteria.h.

KUrl ReportCriteria::url

For reports that write to a file, the filename to write to.

Definition at line 58 of file reportcriteria.h.


The documentation for this class was generated from the following file:
  • reportcriteria.h

ktimetracker

Skip menu "ktimetracker"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members
  • Related Pages

kdepim

Skip menu "kdepim"
  • akonadi
  •   clients
  •   kabc
  •   kcal
  •   kcm
  • akregator
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt
  • kdgantt1
  • kjots
  • kleopatra
  • kmail
  • kmobiletools
  • knode
  • knotes
  • kontact
  • kontactinterfaces
  • korganizer
  •   korgac
  • kpilot
  • ktimetracker
  • libkdepim
  • libkholidays
  • libkleo
  • libkpgp
  • maildir
Generated for kdepim by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal