KDE PIM / Developers / API Docs / karm

PlannerParser Class Reference

this class is here to import tasks from a planner project file to karm. More...

#include <plannerparser.h>

Inherits QXmlDefaultHandler.

List of all members.

Public Member Functions


Detailed Description

this class is here to import tasks from a planner project file to karm.

the import shall not be limited to karm (kPlaTo sends greetings) it imports planner's top-level-tasks on the same level-depth as current_item. if there is no current_item, planner's top-level-tasks will become top-level-tasks in karm. it imports as well the level-depth of each task, as its name, as its percent-complete. test cases:

Author:
Thorsten Staerk


Constructor & Destructor Documentation

PlannerParser::PlannerParser TaskView tv  ) 
 

Stores the active TaskView in this parser.

Returns error code (not always, hopefully)


Member Function Documentation

bool PlannerParser::startDocument  ) 
 

given by the framework from qxml.

Called when parsing the xml-document starts.

bool PlannerParser::startElement const QString &  ,
const QString &  ,
const QString &  qName,
const QXmlAttributes &  att
 

given by the framework from qxml.

Called when the reader occurs an open tag (e.g. <b> )

bool PlannerParser::endElement const QString &  ,
const QString &  ,
const QString &  qName
 

given by the framework from qxml.

Called when the reader occurs a closed tag (e.g. </b> )


The documentation for this class was generated from the following files: