KEduVocWqlReader

Search for usage in LXR

KEduVocWqlReader Class Reference

#include <keduvocwqlreader.h>

Inheritance diagram for KEduVocWqlReader:

Public Member Functions

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

Reader for WordQuiz files.

Definition at line 19 of file keduvocwqlreader.h.

Constructor & Destructor Documentation

◆ KEduVocWqlReader()

KEduVocWqlReader::KEduVocWqlReader ( QIODevice & file)
explicit

constructor

Parameters
filean open device

Definition at line 17 of file keduvocwqlreader.cpp.

◆ ~KEduVocWqlReader()

KEduVocWqlReader::~KEduVocWqlReader ( )
inlineoverride

destructor

Definition at line 27 of file keduvocwqlreader.h.

Member Function Documentation

◆ errorMessage()

QString KEduVocWqlReader::errorMessage ( ) const
inlineoverridevirtual

an error message.

Returns
the error message

Implements ReaderBase.

Definition at line 50 of file keduvocwqlreader.h.

◆ fileTypeHandled()

KEduVocDocument::FileType KEduVocWqlReader::fileTypeHandled ( )
overridevirtual

returns the KEduVocDocument::FileType that this reader handles

Returns
KEduVocDocument::FileType handled

Implements ReaderBase.

Definition at line 32 of file keduvocwqlreader.cpp.

◆ isParsable()

bool KEduVocWqlReader::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 23 of file keduvocwqlreader.cpp.

◆ read()

KEduVocDocument::ErrorCode KEduVocWqlReader::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 37 of file keduvocwqlreader.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 27 2024 11:48:25 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.