LibKEduVocDocument
keduvocwqlreader.cpp
49 m_errorMessage = i18n("This does not appear to be a (K)WordQuiz file: Missing First line \"WordQuiz\"");
59 m_errorMessage = i18n("Only files created by WordQuiz 5.x or later can be opened: Missing Second Line \"5\"");
The primary entry point to the hierarchy of objects describing vocabularies.
Definition keduvocdocument.h:32
int appendIdentifier(const KEduVocIdentifier &identifier=KEduVocIdentifier())
Appends a new identifier (usually a language)
Definition keduvocdocument.cpp:650
KEduVocIdentifier & identifier(int index)
Returns the identifier of translation index.
Definition keduvocdocument.cpp:607
This class contains one vocabulary expression as an original with one or more translations.
Definition keduvocexpression.h:27
void setTranslation(int index, const QString &expression)
Add a translation to this expression.
Definition keduvocexpression.cpp:118
void appendEntry(KEduVocExpression *entry)
append an entry to the lesson
Definition keduvoclesson.cpp:63
KEduVocDocument::ErrorCode read(KEduVocDocument &doc) override
Parse file and write into doc.
Definition keduvocwqlreader.cpp:37
KEduVocDocument::FileType fileTypeHandled() override
returns the KEduVocDocument::FileType that this reader handles
Definition keduvocwqlreader.cpp:32
QString i18n(const char *text, const TYPE &arg...)
virtual bool seek(qint64 pos)
const QChar at(qsizetype position) const const
qsizetype indexOf(QChar ch, qsizetype from, Qt::CaseSensitivity cs) const const
bool isEmpty() const const
bool isNull() const const
QString left(qsizetype n) const const
qsizetype length() const const
QString mid(qsizetype position, qsizetype n) const const
QString right(qsizetype n) const const
QString simplified() const const
int toInt(bool *ok, int base) const const
bool atEnd() const const
QString readLine(qint64 maxlen)
bool seek(qint64 pos)
void setAutoDetectUnicode(bool enabled)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:15:30 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:15:30 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.