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

Detailed Description
Definition at line 39 of file keduvockvtmlreader.h.
Public Member Functions | |
| bool | addLanguage (int languageId, const QString &language) |
| QString | errorMessage () const |
| KEduVocKvtmlReader (QIODevice *file) | |
| 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) |
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 1059 of file keduvockvtmlreader.cpp.
| QString KEduVocKvtmlReader::errorMessage | ( | ) | const [inline] |
Definition at line 87 of file keduvockvtmlreader.h.
| bool KEduVocKvtmlReader::readArticle | ( | QDomElement & | domElementParent | ) |
Definition at line 241 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 650 of file keduvockvtmlreader.cpp.
| bool KEduVocKvtmlReader::readConjugation | ( | QDomElement & | domElementParent, | |
| KEduVocConjugation & | conjugation | |||
| ) |
Definition at line 358 of file keduvockvtmlreader.cpp.
| bool KEduVocKvtmlReader::readDoc | ( | KEduVocDocument * | doc | ) |
| 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 854 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 714 of file keduvockvtmlreader.cpp.
| bool KEduVocKvtmlReader::readLesson | ( | QDomElement & | domElementParent | ) |
Definition at line 196 of file keduvockvtmlreader.cpp.
| bool KEduVocKvtmlReader::readMultipleChoice | ( | QDomElement & | domElementParent, | |
| KEduVocTranslation * | translation | |||
| ) |
Definition at line 671 of file keduvockvtmlreader.cpp.
| bool KEduVocKvtmlReader::readPersonalPronouns | ( | QDomElement & | domElementParent, | |
| KEduVocPersonalPronoun & | pronouns | |||
| ) |
Definition at line 497 of file keduvockvtmlreader.cpp.
| bool KEduVocKvtmlReader::readTense | ( | QDomElement & | domElementParent | ) |
Definition at line 636 of file keduvockvtmlreader.cpp.
| bool KEduVocKvtmlReader::readTranslationConjugations | ( | QDomElement & | domElementParent, | |
| KEduVocTranslation * | translation | |||
| ) |
Definition at line 337 of file keduvockvtmlreader.cpp.
| bool KEduVocKvtmlReader::readType | ( | QDomElement & | domElementParent | ) |
Definition at line 607 of file keduvockvtmlreader.cpp.
| bool KEduVocKvtmlReader::readUsage | ( | QDomElement & | domElementParent | ) |
The documentation for this class was generated from the following files:
KDE 4.1 API Reference