/*************************************************************************** read a KEduVocDocument from a WQL file ----------------------------------------------------------------------- copyright : (C) 2004, 2007 Peter Hedlund : (c) 2005 Eric Pignet ***************************************************************************/ /*************************************************************************** * * * 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 KEDUVOCWQLREADER_H #define KEDUVOCWQLREADER_H #include class QIODevice; class KEduVocDocument; class KEduVocWqlReader { public: KEduVocWqlReader( QIODevice *file ); bool readDoc( KEduVocDocument *doc ); QString errorMessage() const { return m_errorMessage; } private: QIODevice *m_inputFile; KEduVocDocument *m_doc; QString m_errorMessage; }; #endif