plannerparser.cpp
30 // if there is a task one level above current_item, make it the father of all imported tasks. Set level accordingly.
33 // So you have the chance as well to have the planner tasks at top-level as at a whatever-so-deep sublevel.
51 bool PlannerParser::startElement( const TQString&, const TQString&, const TQString& qName, const TQXmlAttributes& att )
69 // at the moment, task is still the old task or the old father task (if an endElement occurred) or not existing (if the
TQString addTask(const Task *task, const Task *parent)
Add this task from iCalendar file.
Definition: karmstorage.cpp:704
PlannerParser(TaskView *tv)
Stores the active TaskView in this parser.
Definition: plannerparser.cpp:29
bool endElement(const TQString &, const TQString &, const TQString &qName)
given by the framework from qxml.
Definition: plannerparser.cpp:90
bool startElement(const TQString &, const TQString &, const TQString &qName, const TQXmlAttributes &att)
given by the framework from qxml.
Definition: plannerparser.cpp:51
Task * current_item() const
Return the current item in the view, cast to a Task pointer.
Definition: taskview.cpp:177
void setPercentComplete(const int percent, KarmStorage *storage)
Update percent complete for this task.
Definition: task.cpp:149