libkdeedu/keduvocdocument
keduvocxdxfreader.h
Go to the documentation of this file.00001 /*************************************************************************** 00002 create a KEduVocDocument from a XDXF file 00003 ----------------------------------------------------------------------- 00004 copyright : (C) 2007 Peter Hedlund <peter.hedlund@kdemail.net> 00005 00006 ***************************************************************************/ 00007 00008 /*************************************************************************** 00009 * * 00010 * This program is free software; you can redistribute it and/or modify * 00011 * it under the terms of the GNU General Public License as published by * 00012 * the Free Software Foundation; either version 2 of the License, or * 00013 * (at your option) any later version. * 00014 * * 00015 ***************************************************************************/ 00016 00017 #ifndef KEDUVOCXDXFREADER_H 00018 #define KEDUVOCXDXFREADER_H 00019 00020 #include <QXmlStreamReader> 00021 00022 class QIODevice; 00023 class KEduVocDocument; 00024 00025 class KEduVocXdxfReader : public QXmlStreamReader 00026 { 00027 public: 00028 KEduVocXdxfReader( KEduVocDocument *doc ); 00029 00030 bool read( QIODevice *device ); 00031 00032 private: 00033 void readUnknownElement(); 00034 void readXdxf(); 00035 void readEntry(); 00036 00037 KEduVocDocument *m_doc; 00038 }; 00039 00040 #endif
KDE 4.2 API Reference