• Skip to content
  • Skip to link menu
KDE 4.0 API Reference
  • KDE API Reference
  • kdeedu
  • Sitemap
  • Contact Us
 

libkdeedu/keduvocdocument

KEduVocKvtmlReader Class Reference

#include <keduvockvtmlreader.h>

Inheritance diagram for KEduVocKvtmlReader:

Inheritance graph
[legend]

List of all members.


Detailed Description

Author:
Eric Pignet

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 &paraphrase)
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  ) 

currently not used anywhere

Definition at line 45 of file keduvockvtmlreader.cpp.

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 
)

Todo:
usages

Definition at line 791 of file keduvockvtmlreader.cpp.

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:
  • keduvockvtmlreader.h
  • keduvockvtmlreader.cpp

libkdeedu/keduvocdocument

Skip menu "libkdeedu/keduvocdocument"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdeedu

Skip menu "kdeedu"
  • kalzium
  • kanagram
  • kig
  • klettres
  • kstars
  • libkdeedu
  •   keduvocdocument
  •   docs
  •   src
  • parley
Generated for kdeedu by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal