ktimetracker
timetrackerstorage.h
Go to the documentation of this file.
void startTimer(const Task *task, const KDateTime &when=KDateTime::currentLocalDateTime())
Log the event that a timer has started for a task.
Definition: timetrackerstorage.cpp:897
QString report(TaskView *taskview, const ReportCriteria &rc)
Output a report based on contents of ReportCriteria.
Definition: timetrackerstorage.cpp:575
QSharedPointer< KTimeTracker::KTTCalendar > Ptr
Definition: kttcalendar.h:32
void setName(const Task *task, const QString &oldname)
Log a change to a task name.
Definition: timetrackerstorage.h:199
bool isEmpty()
Check if the iCalendar file currently loaded has any Todos in it.
Definition: timetrackerstorage.cpp:432
void addComment(const Task *task, const QString &comment)
Log a new comment for this task.
Definition: timetrackerstorage.cpp:558
QStringList taskidsfromname(QString taskname)
Return a list of all task ids for taskname.
Definition: timetrackerstorage.cpp:470
bool removeTask(Task *task)
Remove this task from iCalendar file.
Definition: timetrackerstorage.cpp:510
bool allEventsHaveEndTiMe()
Deliver if all events of the actual calendar have an endtime.
Definition: timetrackerstorage.cpp:346
void changeTime(const Task *task, const long deltaSeconds)
Log the change in a task's time.
Definition: timetrackerstorage.cpp:955
QString setTaskParent(Task *task, Task *parent)
Definition: timetrackerstorage.cpp:394
void stopTimer(const Task *task, const QDateTime &when=QDateTime::currentDateTime())
Log the event that the timer has stopped for this task.
Definition: timetrackerstorage.cpp:929
KTimeTracker::KTTCalendar::Ptr calendar() const
Definition: timetrackerstorage.cpp:1073
Task * task(const QString &uid, TaskView *view)
Find the task with the given uid.
Definition: timetrackerstorage.cpp:208
QString removeEvent(QString uid)
Definition: timetrackerstorage.cpp:494
QString save(TaskView *taskview)
Save all tasks and their totals to an iCalendar file.
Definition: timetrackerstorage.cpp:367
QString addTask(const Task *task, const Task *parent=0)
Add this task from iCalendar file.
Definition: timetrackerstorage.cpp:442
QString buildTaskView(const KTimeTracker::KTTCalendar::Ptr &calendar, TaskView *view)
Build up the taskview.
Definition: timetrackerstorage.cpp:232
QStringList taskNames() const
Return a list of all task names.
Definition: timetrackerstorage.cpp:484
QString load(TaskView *taskview, const QString &fileName)
Load the list view with tasks read from iCalendar file.
Definition: timetrackerstorage.cpp:99
Class to store/retrieve KTimeTracker data to/from persistent storage.
Definition: timetrackerstorage.h:57
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
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.