LibKEduVocDocument
keduvocpaukerreader.cpp
24 return i18n("Parse error at line %1, column %2:\n%3", lineNumber(), columnNumber(), errorString());
35 return ((line1.startsWith(QLatin1String("<?xml"))) && (line2.indexOf(QLatin1String("pauker"), 0) > 0));
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
This class contains one vocabulary expression as an original with one or more translations.
Definition keduvocexpression.h:27
void appendEntry(KEduVocExpression *entry)
append an entry to the lesson
Definition keduvoclesson.cpp:63
KEduVocDocument::FileType fileTypeHandled() override
returns the KEduVocDocument::FileType that this reader handles
Definition keduvocpaukerreader.cpp:38
KEduVocDocument::ErrorCode read(KEduVocDocument &doc) override
Parse file and write into doc.
Definition keduvocpaukerreader.cpp:43
QString i18n(const char *text, const TYPE &arg...)
KGuiItem back(BidiMode useBidi=IgnoreRTL)
virtual bool seek(qint64 pos)
qsizetype indexOf(QChar ch, qsizetype from, Qt::CaseSensitivity cs) const const
bool startsWith(QChar c, Qt::CaseSensitivity cs) const const
QString readLine(qint64 maxlen)
bool atEnd() const const
qint64 columnNumber() const const
Error error() const const
QString errorString() const const
bool isEndElement() const const
bool isStartElement() const const
qint64 lineNumber() const const
QStringView name() const const
QString readElementText(ReadElementTextBehaviour behaviour)
TokenType readNext()
void setDevice(QIODevice *device)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 29 2024 11:53:20 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 29 2024 11:53:20 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.