TimeKard Class Reference
Routines to output timecard data. More...
#include <timekard.h>
Public Methods | |
TimeKard () | |
QString | totalsAsText (TaskView *taskview, bool justThisTask=true) |
QString | historyAsText (TaskView *taskview, const QDate &from, const QDate &to, bool justThisTask=true) |
void | printTask (Task *t, QString &s, int level) |
void | printWeekTask (const Task *t, const QMap< QString, long > &datamap, QMap< QString, long > &daytotals, const Week &week, const int level, QString &retval) |
Detailed Description
Routines to output timecard data.
Definition at line 85 of file timekard.h.
Member Function Documentation
|
Generates ascii text of task totals, for current task on down. Formatted for pasting into clipboard.
Definition at line 48 of file timekard.cpp. References QString::arg(), TaskView::current_item(), QDateTime::currentDateTime(), QString::fill(), QString::fromLatin1(), Task::nextSibling(), and Task::totalTime(). Referenced by TaskView::clipTotals(). |
|
Generates ascii text of weekly task history, for current task on down. Formatted for pasting into clipboard. Definition at line 175 of file timekard.cpp. References QDate::addDays(), QString::arg(), QValueList::begin(), QMap::clear(), QMap::contains(), TaskView::current_item(), QDateTime::currentDateTime(), QValueList::empty(), QValueList::end(), QString::fill(), QString::fromLatin1(), TaskView::getHistory(), QMap::insert(), Task::nextSibling(), QMap::replace(), QDate::toString(), and Week::weeksFromDateRange(). Referenced by TaskView::clipHistory(). |
The documentation for this class was generated from the following files: