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

ktimetracker

Public Member Functions | List of all members
HistoryEvent Class Reference

#include <timetrackerstorage.h>

Public Member Functions

 HistoryEvent ()
 
 HistoryEvent (const QString &uid, const QString &name, long duration, const KDateTime &start, const KDateTime &stop, const QString &todoUid)
 
long duration ()
 
QString name ()
 
KDateTime start ()
 
KDateTime stop ()
 
QString todoUid ()
 
QString uid ()
 

Detailed Description

One start/stop event that has been logged.

When a task is running and the user stops it, ktimetracker logs this event and saves it in the history. This class represents such an event read from storage, and abstracts it from the specific storage used.

Definition at line 344 of file timetrackerstorage.h.

Constructor & Destructor Documentation

HistoryEvent::HistoryEvent ( )
inline

Needed to be used in a value list.

Definition at line 348 of file timetrackerstorage.h.

HistoryEvent::HistoryEvent ( const QString &  uid,
const QString &  name,
long  duration,
const KDateTime &  start,
const KDateTime &  stop,
const QString &  todoUid 
)

Definition at line 1023 of file timetrackerstorage.cpp.

Member Function Documentation

long HistoryEvent::duration ( )
inline

In seconds.

Definition at line 355 of file timetrackerstorage.h.

QString HistoryEvent::name ( )
inline

Definition at line 353 of file timetrackerstorage.h.

KDateTime HistoryEvent::start ( )
inline

Definition at line 356 of file timetrackerstorage.h.

KDateTime HistoryEvent::stop ( )
inline

Definition at line 357 of file timetrackerstorage.h.

QString HistoryEvent::todoUid ( )
inline

Definition at line 358 of file timetrackerstorage.h.

QString HistoryEvent::uid ( )
inline

Definition at line 352 of file timetrackerstorage.h.


The documentation for this class was generated from the following files:
  • timetrackerstorage.h
  • timetrackerstorage.cpp
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