• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • kdepim
  • Sitemap
  • Contact Us
 

ktimetracker

plannerparser.h

Go to the documentation of this file.
00001 /*
00002  *     Copyright (C) 2004 by Thorsten Staerk <dev@staerk.de>
00003  *                   2007 the ktimetracker developers
00004  *
00005  *   This program is free software; you can redistribute it and/or modify
00006  *   it under the terms of the GNU General Public License as published by
00007  *   the Free Software Foundation; either version 2 of the License, or
00008  *   (at your option) any later version.
00009  *
00010  *   This program is distributed in the hope that it will be useful,
00011  *   but WITHOUT ANY WARRANTY; without even the implied warranty of
00012  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00013  *   GNU General Public License for more details.
00014  *
00015  *   You should have received a copy of the GNU General Public License along
00016  *   with this program; if not, write to the
00017  *      Free Software Foundation, Inc.
00018  *      51 Franklin Street, Fifth Floor
00019  *      Boston, MA  02110-1301  USA.
00020  *
00021  */
00022 
00023 #ifndef PLANNERPARSER_H
00024 #define PLANNERPARSER_H
00025 
00041 #include <QtXml/QtXml>
00042 
00043 #include "karmstorage.h"
00044 
00045 class Task;
00046 class TaskView;
00047 
00048 class PlannerParser : public QXmlDefaultHandler
00049 {
00050 public:
00051 
00053   PlannerParser(TaskView * tv);
00054 
00056   bool startDocument();
00057 
00059   bool startElement( const QString&, const QString&, const QString& qName, const QXmlAttributes& att );
00060 
00062   bool endElement( const QString&, const QString&, const QString& qName);
00063 
00064 private:
00065   bool withInTasks;     // within <tasks> ?
00066   TaskView *_taskView;
00067   Task *task;
00068   Task *parentTask;
00069   int level;            // level=1: task is top-level-task
00070 };
00071 
00072 
00073 #endif

ktimetracker

Skip menu "ktimetracker"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members
  • Related Pages

kdepim

Skip menu "kdepim"
  • akonadi
  •   clients
  •   kabc
  •   kcal
  •   kcm
  • akregator
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt
  • kdgantt1
  • kjots
  • kleopatra
  • kmail
  • kmobiletools
  • knode
  • knotes
  • kontact
  • kontactinterfaces
  • korganizer
  •   korgac
  • kpilot
  • ktimetracker
  • libkdepim
  • libkholidays
  • libkleo
  • libkpgp
  • maildir
Generated for kdepim by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal