LibKEduVocDocument
keduvocvokabelnreader.cpp
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
void setDocumentComment(const QString &comment)
Set the comment of the file.
Definition keduvocdocument.cpp:770
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 keduvocvokabelnreader.cpp:74
KEduVocDocument::FileType fileTypeHandled() override
returns the KEduVocDocument::FileType that this reader handles
Definition keduvocvokabelnreader.cpp:69
QString i18n(const char *text, const TYPE &arg...)
QChar fromLatin1(char c)
virtual bool seek(qint64 pos)
QList< T > mid(qsizetype pos, qsizetype length) const const
qsizetype size() const const
qsizetype count() const const
QString & append(QChar ch)
void clear()
bool contains(QChar ch, Qt::CaseSensitivity cs) const const
bool endsWith(QChar c, Qt::CaseSensitivity cs) const const
bool isEmpty() const const
qsizetype length() const const
QString mid(qsizetype position, qsizetype n) const const
QStringList split(QChar sep, Qt::SplitBehavior behavior, Qt::CaseSensitivity cs) const const
bool startsWith(QChar c, Qt::CaseSensitivity cs) const const
CaseSensitive
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.