karm

HistoryEvent Class Reference

#include <karmstorage.h>

Public Member Functions

 HistoryEvent ()
 
 HistoryEvent (TQString uid, TQString name, long duration, TQDateTime start, TQDateTime stop, TQString todoUid)
 
TQString uid ()
 
TQString name ()
 
long duration ()
 
TQDateTime start ()
 
TQDateTime stop ()
 
TQString todoUid ()
 

Detailed Description

One start/stop event that has been logged.

When a task is running and the user stops it, KArm 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 355 of file karmstorage.h.

Constructor & Destructor Documentation

◆ HistoryEvent()

HistoryEvent::HistoryEvent ( )
inline

Needed to be used in a value list.

Definition at line 359 of file karmstorage.h.

Member Function Documentation

◆ duration()

long HistoryEvent::duration ( )
inline

In seconds.

Definition at line 365 of file karmstorage.h.


The documentation for this class was generated from the following files: