KEduVocPaukerReader
#include <keduvocpaukerreader.h>
Public Member Functions | |
KEduVocPaukerReader (QIODevice &file) | |
~KEduVocPaukerReader () override | |
QString | errorMessage () const override |
KEduVocDocument::FileType | fileTypeHandled () override |
bool | isParsable () override |
KEduVocDocument::ErrorCode | read (KEduVocDocument &doc) override |
Public Member Functions inherited from ReaderBase | |
virtual | ~ReaderBase () |
Additional Inherited Members | |
Properties inherited from QXmlStreamReader | |
namespaceProcessing | |
Detailed Description
Reader for the Pauker format.
Definition at line 18 of file keduvocpaukerreader.h.
Constructor & Destructor Documentation
◆ KEduVocPaukerReader()
|
explicit |
constructor
- Parameters
-
file an device open for read
Definition at line 17 of file keduvocpaukerreader.cpp.
◆ ~KEduVocPaukerReader()
|
inlineoverride |
destructor
Definition at line 26 of file keduvocpaukerreader.h.
Member Function Documentation
◆ errorMessage()
|
overridevirtual |
an error message.
- Returns
- the error message
Implements ReaderBase.
Definition at line 22 of file keduvocpaukerreader.cpp.
◆ fileTypeHandled()
|
overridevirtual |
returns the KEduVocDocument::FileType that this reader handles
- Returns
- KEduVocDocument::FileType handled
Implements ReaderBase.
Definition at line 38 of file keduvocpaukerreader.cpp.
◆ isParsable()
|
overridevirtual |
Can this reader parse this file.
Read a small portion of the header of the file and decide if it is a suitable type.
- Returns
- true if parsable
Implements ReaderBase.
Definition at line 27 of file keduvocpaukerreader.cpp.
◆ read()
|
overridevirtual |
Parse file and write into doc.
- Parameters
-
doc to be written
- Returns
- error status of the read.
Implements ReaderBase.
Definition at line 43 of file keduvocpaukerreader.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 27 2024 11:48:25 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.