karm
plannerparser.h00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012 #ifndef PLANNERPARSER_H
00013 #define PLANNERPARSER_H
00014
00030 #include <qxml.h>
00031 #include <klocale.h>
00032 #include "taskview.h"
00033 #include "task.h"
00034 #include "karmstorage.h"
00035 #include "kapplication.h"
00036
00037 class PlannerParser : public QXmlDefaultHandler
00038 {
00039 public:
00040
00042 PlannerParser(TaskView * tv);
00043
00045 bool startDocument();
00046
00048 bool startElement( const QString&, const QString&, const QString& qName, const QXmlAttributes& att );
00049
00051 bool endElement( const QString&, const QString&, const QString& qName);
00052
00053 private:
00054 bool withInTasks;
00055 TaskView *_taskView;
00056 Task *task;
00057 Task *parentTask;
00058 int level;
00059 };
00060
00061
00062 #endif
|