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
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)
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-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:49:20 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:49:20 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.