libkdeedu/keduvocdocument
#include <keduvockvtmlreader.h>

Public Member Functions | |
KEduVocKvtmlReader (QIODevice *file) | |
bool | addLanguage (int languageId, const QString &language) |
QString | errorMessage () const |
bool | readArticle (QDomElement &domElementParent) |
bool | readBody (QDomElement &domElementParent) |
bool | readComparison (QDomElement &domElementParent, KEduVocTranslation *translation) |
bool | readConjugation (QDomElement &domElementParent, KEduVocConjugation &conjugation) |
bool | readDoc (KEduVocDocument *doc) |
bool | readExpression (QDomElement &domElementParent) |
bool | readExpressionChildAttributes (QDomElement &domElementExpressionChild, QString &lang, grade_t &grade, grade_t &rev_grade, int &count, int &rev_count, QDateTime &date, QDateTime &rev_date, QString &remark, int &bcount, int &rev_bcount, QString &query_id, QString &pronunciation, int &width, QString &type, QString &faux_ami_f, QString &faux_ami_t, QString &synonym, QString &example, QString &antonym, QSet< QString > &usage, QString ¶phrase) |
bool | readLesson (QDomElement &domElementParent) |
bool | readMultipleChoice (QDomElement &domElementParent, KEduVocTranslation *translation) |
bool | readPersonalPronouns (QDomElement &domElementParent, KEduVocPersonalPronoun &pronouns) |
bool | readTense (QDomElement &domElementParent) |
bool | readTranslationConjugations (QDomElement &domElementParent, KEduVocTranslation *translation) |
bool | readType (QDomElement &domElementParent) |
bool | readUsage (QDomElement &domElementParent) |
Detailed Description
Definition at line 39 of file keduvockvtmlreader.h.
Constructor & Destructor Documentation
KEduVocKvtmlReader::KEduVocKvtmlReader | ( | QIODevice * | file | ) |
Definition at line 36 of file keduvockvtmlreader.cpp.
Member Function Documentation
bool KEduVocKvtmlReader::addLanguage | ( | int | languageId, |
const QString & | language | ||
) |
Attempt to add a language/locale.
Language/locale are set to the same value. No error if already there with the same value.
- Parameters
-
languageId idenifier number language name
- Returns
- true if successful
Definition at line 1062 of file keduvockvtmlreader.cpp.
|
inline |
Definition at line 87 of file keduvockvtmlreader.h.
bool KEduVocKvtmlReader::readArticle | ( | QDomElement & | domElementParent | ) |
Definition at line 243 of file keduvockvtmlreader.cpp.
bool KEduVocKvtmlReader::readBody | ( | QDomElement & | domElementParent | ) |
Definition at line 115 of file keduvockvtmlreader.cpp.
bool KEduVocKvtmlReader::readComparison | ( | QDomElement & | domElementParent, |
KEduVocTranslation * | translation | ||
) |
Definition at line 652 of file keduvockvtmlreader.cpp.
bool KEduVocKvtmlReader::readConjugation | ( | QDomElement & | domElementParent, |
KEduVocConjugation & | conjugation | ||
) |
Definition at line 360 of file keduvockvtmlreader.cpp.
bool KEduVocKvtmlReader::readDoc | ( | KEduVocDocument * | doc | ) |
currently not used anywhere
Definition at line 45 of file keduvockvtmlreader.cpp.
bool KEduVocKvtmlReader::readExpression | ( | QDomElement & | domElementParent | ) |
- Todo:
- can this happen? does it need a while loop?
- Todo:
- include false friends from kvtml-1 again?
- Todo:
- include synonyms from kvtml-1 again?
Definition at line 857 of file keduvockvtmlreader.cpp.
bool KEduVocKvtmlReader::readExpressionChildAttributes | ( | QDomElement & | domElementExpressionChild, |
QString & | lang, | ||
grade_t & | grade, | ||
grade_t & | rev_grade, | ||
int & | count, | ||
int & | rev_count, | ||
QDateTime & | date, | ||
QDateTime & | rev_date, | ||
QString & | remark, | ||
int & | bcount, | ||
int & | rev_bcount, | ||
QString & | query_id, | ||
QString & | pronunciation, | ||
int & | width, | ||
QString & | type, | ||
QString & | faux_ami_f, | ||
QString & | faux_ami_t, | ||
QString & | synonym, | ||
QString & | example, | ||
QString & | antonym, | ||
QSet< QString > & | usage, | ||
QString & | paraphrase | ||
) |
Definition at line 716 of file keduvockvtmlreader.cpp.
bool KEduVocKvtmlReader::readLesson | ( | QDomElement & | domElementParent | ) |
Definition at line 198 of file keduvockvtmlreader.cpp.
bool KEduVocKvtmlReader::readMultipleChoice | ( | QDomElement & | domElementParent, |
KEduVocTranslation * | translation | ||
) |
Definition at line 673 of file keduvockvtmlreader.cpp.
bool KEduVocKvtmlReader::readPersonalPronouns | ( | QDomElement & | domElementParent, |
KEduVocPersonalPronoun & | pronouns | ||
) |
Definition at line 499 of file keduvockvtmlreader.cpp.
bool KEduVocKvtmlReader::readTense | ( | QDomElement & | domElementParent | ) |
Definition at line 638 of file keduvockvtmlreader.cpp.
bool KEduVocKvtmlReader::readTranslationConjugations | ( | QDomElement & | domElementParent, |
KEduVocTranslation * | translation | ||
) |
Definition at line 339 of file keduvockvtmlreader.cpp.
bool KEduVocKvtmlReader::readType | ( | QDomElement & | domElementParent | ) |
Definition at line 609 of file keduvockvtmlreader.cpp.
bool KEduVocKvtmlReader::readUsage | ( | QDomElement & | domElementParent | ) |
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:37:22 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.