libkdeedu/keduvocdocument
KEduVocKvtmlReader Class Reference
#include <keduvockvtmlreader.h>

Detailed Description
Definition at line 40 of file keduvockvtmlreader.h.
Public Member Functions | |
| KEduVocKvtmlReader (QIODevice *file) | |
| bool | readDoc (KEduVocDocument *doc) |
| bool | addLanguage (int languageId, const QString &language) |
| bool | readLesson (QDomElement &domElementParent) |
| bool | readArticle (QDomElement &domElementParent) |
| bool | readPersonalPronouns (QDomElement &domElementParent, KEduVocPersonalPronoun &pronouns) |
| bool | readConjugation (QDomElement &domElementParent, KEduVocConjugation &conjugation) |
| bool | readTranslationConjugations (QDomElement &domElementParent, KEduVocTranslation &translation) |
| bool | readType (QDomElement &domElementParent) |
| bool | readTense (QDomElement &domElementParent) |
| bool | readUsage (QDomElement &domElementParent) |
| bool | readComparison (QDomElement &domElementParent, KEduVocComparison &comp) |
| bool | readMultipleChoice (QDomElement &domElementParent, KEduVocMultipleChoice &mc) |
| 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 &subType, QString &faux_ami_f, QString &faux_ami_t, QString &synonym, QString &example, QString &antonym, QSet< QString > &usage, QString ¶phrase) |
| bool | readExpression (QDomElement &domElementParent) |
| bool | readBody (QDomElement &domElementParent) |
| QString | errorMessage () const |
Constructor & Destructor Documentation
| KEduVocKvtmlReader::KEduVocKvtmlReader | ( | QIODevice * | file | ) |
Definition at line 36 of file keduvockvtmlreader.cpp.
Member Function Documentation
| bool KEduVocKvtmlReader::readDoc | ( | KEduVocDocument * | doc | ) |
| 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 1210 of file keduvockvtmlreader.cpp.
| bool KEduVocKvtmlReader::readLesson | ( | QDomElement & | domElementParent | ) |
Definition at line 202 of file keduvockvtmlreader.cpp.
| bool KEduVocKvtmlReader::readArticle | ( | QDomElement & | domElementParent | ) |
Definition at line 259 of file keduvockvtmlreader.cpp.
| bool KEduVocKvtmlReader::readPersonalPronouns | ( | QDomElement & | domElementParent, | |
| KEduVocPersonalPronoun & | pronouns | |||
| ) |
Definition at line 515 of file keduvockvtmlreader.cpp.
| bool KEduVocKvtmlReader::readConjugation | ( | QDomElement & | domElementParent, | |
| KEduVocConjugation & | conjugation | |||
| ) |
Definition at line 376 of file keduvockvtmlreader.cpp.
| bool KEduVocKvtmlReader::readTranslationConjugations | ( | QDomElement & | domElementParent, | |
| KEduVocTranslation & | translation | |||
| ) |
Definition at line 355 of file keduvockvtmlreader.cpp.
| bool KEduVocKvtmlReader::readType | ( | QDomElement & | domElementParent | ) |
Definition at line 625 of file keduvockvtmlreader.cpp.
| bool KEduVocKvtmlReader::readTense | ( | QDomElement & | domElementParent | ) |
Definition at line 653 of file keduvockvtmlreader.cpp.
| bool KEduVocKvtmlReader::readUsage | ( | QDomElement & | domElementParent | ) |
Definition at line 672 of file keduvockvtmlreader.cpp.
| bool KEduVocKvtmlReader::readComparison | ( | QDomElement & | domElementParent, | |
| KEduVocComparison & | comp | |||
| ) |
Definition at line 699 of file keduvockvtmlreader.cpp.
| bool KEduVocKvtmlReader::readMultipleChoice | ( | QDomElement & | domElementParent, | |
| KEduVocMultipleChoice & | mc | |||
| ) |
Definition at line 740 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 & | subType, | |||
| QString & | faux_ami_f, | |||
| QString & | faux_ami_t, | |||
| QString & | synonym, | |||
| QString & | example, | |||
| QString & | antonym, | |||
| QSet< QString > & | usage, | |||
| QString & | paraphrase | |||
| ) |
| bool KEduVocKvtmlReader::readExpression | ( | QDomElement & | domElementParent | ) |
- Todo:
- can this happen? does it need a while loop?
Definition at line 975 of file keduvockvtmlreader.cpp.
| bool KEduVocKvtmlReader::readBody | ( | QDomElement & | domElementParent | ) |
Definition at line 115 of file keduvockvtmlreader.cpp.
| QString KEduVocKvtmlReader::errorMessage | ( | ) | const [inline] |
Definition at line 89 of file keduvockvtmlreader.h.
The documentation for this class was generated from the following files:
KDE 4.0 API Reference