ktimetracker
plannerparser.cpp
Go to the documentation of this file.
27 if there is no currentItem, planner's top-level-tasks will become top-level-tasks in ktimetracker.
44 // if there is a task one level above currentItem, make it the father of all imported tasks. Set level accordingly.
47 // So you have the chance as well to have the planner tasks at top-level as at a whatever-so-deep sublevel.
65 bool PlannerParser::startElement( const QString&, const QString&, const QString& qName, const QXmlAttributes& att )
82 // at the moment, task is still the old task or the old father task (if an endElement occurred) or not existing (if the
void setPercentComplete(const int percent, timetrackerstorage *storage)
Update percent complete for this task.
Definition: task.cpp:238
int length() const
bool endElement(const QString &, const QString &, const QString &qName)
given by the framework from qxml.
Definition: plannerparser.cpp:102
PlannerParser(TaskView *tv)
Stores the active TaskView in this parser.
Definition: plannerparser.cpp:43
int toInt(bool *ok, int base) const
QString qName(int index) const
QString fromLatin1(const char *str, int size)
QString value(int index) const
QString addTask(const Task *task, const Task *parent=0)
Add this task from iCalendar file.
Definition: timetrackerstorage.cpp:442
bool startElement(const QString &, const QString &, const QString &qName, const QXmlAttributes &att)
given by the framework from qxml.
Definition: plannerparser.cpp:65
Task * currentItem() const
Return the current item in the view, cast to a Task pointer.
Definition: taskview.cpp:399
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:31:34 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:31:34 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.