23 #ifndef KARM_TIMEKARD_H
24 #define KARM_TIMEKARD_H
26 #undef Color // X11 headers
27 #undef GrayScale // X11 headers
31 #include "karmstorage.h"
54 TQValueList<TQDate> days() const;
75 TQString name() const;
90 enum WhichTime { TotalTime, SessionTime };
112 const TQDate& to, bool justThisTask, bool perWeek, bool totalsOnly);
115 void printTask( Task *t, TQString &s, int level, WhichTime which);
117 void printTaskHistory( const Task *t, const TQMap<TQString, long>& datamap,
118 TQMap<TQString, long>& daytotals,
119 const TQDate& from, const TQDate& to,
120 const int level, TQString& retval, bool totalsOnly);
122 TQString sectionHistoryAsText( TaskView* taskview,
123 const TQDate& sectionFrom, const TQDate& sectionTo,
124 const TQDate& from, const TQDate& to,
125 const TQString& name,
126 bool justThisTask, bool totalsOnly);
129 #endif // KARM_TIMEKARD_H
|