LibKEduVocDocument
keduvocxdxfreader.cpp
21 return i18n("Parse error at line %1, column %2:\n%3", lineNumber(), columnNumber(), errorString());
32 return ((line1.startsWith(QLatin1String("<?xml"))) && (line2.indexOf(QLatin1String("xdxf"), 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
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::FileType fileTypeHandled() override
returns the KEduVocDocument::FileType that this reader handles
Definition keduvocxdxfreader.cpp:35
KEduVocDocument::ErrorCode read(KEduVocDocument &doc) override
Parse file and write into doc.
Definition keduvocxdxfreader.cpp:40
QString i18n(const char *text, const TYPE &arg...)
char * toString(const EngineQuery &query)
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 toLower() const const
bool isNull() const const
QString toString() const const
QString readLine(qint64 maxlen)
QStringView value(QAnyStringView namespaceUri, QAnyStringView name) const const
bool atEnd() const const
QXmlStreamAttributes attributes() const const
qint64 columnNumber() const const
QIODevice * device() const const
Error error() const const
QString errorString() const const
bool isCharacters() const const
bool isEndElement() const const
bool isEntityReference() const const
bool isStartElement() const const
qint64 lineNumber() const const
QStringView name() const const
void raiseError(const QString &message)
QString readElementText(ReadElementTextBehaviour behaviour)
TokenType readNext()
void setDevice(QIODevice *device)
QStringView text() const const
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
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.