/*************************************************************************** create a KEduVocDocument from a XDXF file ----------------------------------------------------------------------- copyright : (C) 2007 Peter Hedlund ***************************************************************************/ /*************************************************************************** * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 2 of the License, or * * (at your option) any later version. * * * ***************************************************************************/ #ifndef KEDUVOCXDXFREADER_H #define KEDUVOCXDXFREADER_H #include class QIODevice; class KEduVocDocument; class KEduVocXdxfReader : public QXmlStreamReader { public: KEduVocXdxfReader( KEduVocDocument *doc ); bool read( QIODevice *device ); private: void readUnknownElement(); void readXdxf(); void readEntry(); KEduVocDocument *m_doc; }; #endif