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

libkdeedu/keduvocdocument

Public Member Functions | List of all members
KEduVocKvtmlReader Class Reference

#include <keduvockvtmlreader.h>

Inheritance diagram for KEduVocKvtmlReader:
Inheritance graph
[legend]

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

Author
Eric Pignet

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
languageIdidenifier number
languagename
Returns
true if successful

Definition at line 1062 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 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:
  • keduvockvtmlreader.h
  • keduvockvtmlreader.cpp
This file is part of the KDE documentation.
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.

libkdeedu/keduvocdocument

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

kdeedu API Reference

Skip menu "kdeedu API Reference"
  • Analitza
  •     lib
  • kalgebra
  • kalzium
  •   libscience
  • kanagram
  • kig
  •   lib
  • klettres
  • kstars
  • libkdeedu
  •   keduvocdocument
  • marble
  • parley
  • rocs
  •   App
  •   RocsCore
  •   VisualEditor
  •   stepcore

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal