KEduVocVokabelnReader

Search for usage in LXR

KEduVocVokabelnReader Class Reference

#include <keduvocvokabelnreader.h>

Inheritance diagram for KEduVocVokabelnReader:

Public Member Functions

 KEduVocVokabelnReader (QIODevice &file)
 
 ~KEduVocVokabelnReader () 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 ()
 

Detailed Description

Vokabeln Reader.

Definition at line 20 of file keduvocvokabelnreader.h.

Constructor & Destructor Documentation

◆ KEduVocVokabelnReader()

KEduVocVokabelnReader::KEduVocVokabelnReader ( QIODevice & file)
explicit

constructor

Parameters
filean device open for read

Definition at line 18 of file keduvocvokabelnreader.cpp.

◆ ~KEduVocVokabelnReader()

KEduVocVokabelnReader::~KEduVocVokabelnReader ( )
inlineoverride

destructor

Definition at line 29 of file keduvocvokabelnreader.h.

Member Function Documentation

◆ errorMessage()

QString KEduVocVokabelnReader::errorMessage ( ) const
inlineoverridevirtual

an error message.

Returns
the error message

Implements ReaderBase.

Definition at line 52 of file keduvocvokabelnreader.h.

◆ fileTypeHandled()

KEduVocDocument::FileType KEduVocVokabelnReader::fileTypeHandled ( )
overridevirtual

returns the KEduVocDocument::FileType that this reader handles

Returns
KEduVocDocument::FileType handled

Implements ReaderBase.

Definition at line 69 of file keduvocvokabelnreader.cpp.

◆ isParsable()

bool KEduVocVokabelnReader::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 24 of file keduvocvokabelnreader.cpp.

◆ read()

KEduVocDocument::ErrorCode KEduVocVokabelnReader::read ( KEduVocDocument & doc)
overridevirtual

Parse file and write into doc.

Parameters
docto be written
Returns
error status of the read.

Implements ReaderBase.

Definition at line 74 of file keduvocvokabelnreader.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 20 2024 11:49:40 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.