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

ktimetracker

Public Types | Public Attributes | List of all members
ReportCriteria Class Reference

#include <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
 

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.

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
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:55:10 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

ktimetracker

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

kdepim API Reference

Skip menu "kdepim API Reference"
  • akonadi_next
  • akregator
  • blogilo
  • calendarsupport
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt2
  • kjots
  • kleopatra
  • kmail
  • knode
  • knotes
  • kontact
  • korgac
  • korganizer
  • ktimetracker
  • libkdepim
  • libkleo
  • libkpgp
  • mailcommon
  • messagelist
  • messageviewer

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal