libkdeedu/keduvocdocument
#include <keduvocconjugation.h>
Public Member Functions | |
| KEduVocConjugation () | |
| KEduVocConjugation (const KEduVocConjugation &rhs) | |
| ~KEduVocConjugation () | |
| KEduVocText & | conjugation (KEduVocWordFlags flags) const |
| bool | isEmpty () |
| QList< KEduVocWordFlags > | keys () |
| KEduVocConjugation & | operator= (const KEduVocConjugation &a) |
| bool | operator== (const KEduVocConjugation &a) const |
| void | setConjugation (const KEduVocText &conjugation, KEduVocWordFlags flags) |
| void | toKVTML2 (QDomElement &parent, const QString &tense) |
Static Public Member Functions | |
| static KEduVocConjugation * | fromKVTML2 (QDomElement &parent) |
Detailed Description
The conjugation of a verb.
Definition at line 37 of file keduvocconjugation.h.
Constructor & Destructor Documentation
|
explicit |
The constructor.
Definition at line 40 of file keduvocconjugation.cpp.
| KEduVocConjugation::KEduVocConjugation | ( | const KEduVocConjugation & | rhs | ) |
Definition at line 45 of file keduvocconjugation.cpp.
| KEduVocConjugation::~KEduVocConjugation | ( | ) |
Definition at line 52 of file keduvocconjugation.cpp.
Member Function Documentation
| KEduVocText & KEduVocConjugation::conjugation | ( | KEduVocWordFlags | flags | ) | const |
Returns an existing conjugation object.
It is an error and leads to undefined behaviour to call this method with flags which are not in the list returned by keys().
BCI: return a pointer instead of a reference.
- Parameters
-
flags Flags obtained by a previous call to keys()
- Returns
- The existing conjugation object with the specified properties
Definition at line 70 of file keduvocconjugation.cpp.
|
static |
Reads a declension from xml, returns 0 if it is empty.
- Parameters
-
parent
- Returns
Definition at line 194 of file keduvocconjugation.cpp.
| bool KEduVocConjugation::isEmpty | ( | ) |
Definition at line 80 of file keduvocconjugation.cpp.
| QList< KEduVocWordFlags > KEduVocConjugation::keys | ( | ) |
Definition at line 85 of file keduvocconjugation.cpp.
| KEduVocConjugation & KEduVocConjugation::operator= | ( | const KEduVocConjugation & | a | ) |
Definition at line 57 of file keduvocconjugation.cpp.
| bool KEduVocConjugation::operator== | ( | const KEduVocConjugation & | a | ) | const |
Definition at line 63 of file keduvocconjugation.cpp.
| void KEduVocConjugation::setConjugation | ( | const KEduVocText & | conjugation, |
| KEduVocWordFlags | flags | ||
| ) |
Updates or creates the conjugation object for the given word flags.
Definition at line 75 of file keduvocconjugation.cpp.
| void KEduVocConjugation::toKVTML2 | ( | QDomElement & | parent, |
| const QString & | tense | ||
| ) |
Create xml for this declension.
- Parameters
-
parent
Definition at line 90 of file keduvocconjugation.cpp.
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.
KDE API Reference