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() [1/2]

HistoryEvent::HistoryEvent ( )
inline

Needed to be used in a value list.

Definition at line 359 of file karmstorage.h.

◆ HistoryEvent() [2/2]

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

Definition at line 1141 of file karmstorage.cpp.

Member Function Documentation

◆ duration()

long HistoryEvent::duration ( )
inline

In seconds.

Definition at line 365 of file karmstorage.h.

◆ name()

TQString HistoryEvent::name ( )
inline

Definition at line 363 of file karmstorage.h.

◆ start()

TQDateTime HistoryEvent::start ( )
inline

Definition at line 366 of file karmstorage.h.

◆ stop()

TQDateTime HistoryEvent::stop ( )
inline

Definition at line 367 of file karmstorage.h.

◆ todoUid()

TQString HistoryEvent::todoUid ( )
inline

Definition at line 368 of file karmstorage.h.

◆ uid()

TQString HistoryEvent::uid ( )
inline

Definition at line 362 of file karmstorage.h.


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