libkdeedu/keduvocdocument
KEduVocConjugation Class Reference
#include <keduvocconjugation.h>
Detailed Description
The conjugation of a verb.Definition at line 36 of file keduvocconjugation.h.
Public Types | |
| enum | ConjugationNumber { Singular, Dual, Plural } |
| enum | ConjugationPerson { First, Second, ThirdMale, ThirdFemale, ThirdNeutralCommon } |
Public Member Functions | |
| KEduVocText & | conjugation (int index) |
| KEduVocText & | conjugation (ConjugationPerson person, ConjugationNumber number) |
| bool | isEmpty () |
| KEduVocConjugation (const KEduVocConjugation &rhs) | |
| KEduVocConjugation () | |
| QList< int > | keys () |
| KEduVocConjugation & | operator= (const KEduVocConjugation &a) |
| bool | operator== (const KEduVocConjugation &a) const |
| void | setConjugation (const KEduVocText &conjugation, int index) |
| void | setConjugation (const KEduVocText &conjugation, ConjugationPerson person, ConjugationNumber number) |
| void | toKVTML2 (QDomElement &parent, const QString &tense) |
| ~KEduVocConjugation () | |
Static Public Member Functions | |
| static KEduVocConjugation * | fromKVTML2 (QDomElement &parent) |
| static int | indexOf (ConjugationPerson person, ConjugationNumber number) |
Member Enumeration Documentation
Definition at line 47 of file keduvocconjugation.h.
Constructor & Destructor Documentation
| KEduVocConjugation::KEduVocConjugation | ( | ) | [explicit] |
| KEduVocConjugation::KEduVocConjugation | ( | const KEduVocConjugation & | rhs | ) |
Definition at line 44 of file keduvocconjugation.cpp.
| KEduVocConjugation::~KEduVocConjugation | ( | ) |
Definition at line 51 of file keduvocconjugation.cpp.
Member Function Documentation
| KEduVocText & KEduVocConjugation::conjugation | ( | int | index | ) |
Definition at line 68 of file keduvocconjugation.cpp.
| KEduVocText & KEduVocConjugation::conjugation | ( | ConjugationPerson | person, | |
| ConjugationNumber | number | |||
| ) |
Definition at line 74 of file keduvocconjugation.cpp.
| KEduVocConjugation * KEduVocConjugation::fromKVTML2 | ( | QDomElement & | parent | ) | [static] |
Reads a declension from xml, returns 0 if it is empty.
- Parameters:
-
parent
- Returns:
Definition at line 197 of file keduvocconjugation.cpp.
| int KEduVocConjugation::indexOf | ( | ConjugationPerson | person, | |
| ConjugationNumber | number | |||
| ) | [static] |
Definition at line 91 of file keduvocconjugation.cpp.
| bool KEduVocConjugation::isEmpty | ( | ) |
Definition at line 97 of file keduvocconjugation.cpp.
| QList< int > KEduVocConjugation::keys | ( | ) |
Definition at line 102 of file keduvocconjugation.cpp.
| KEduVocConjugation & KEduVocConjugation::operator= | ( | const KEduVocConjugation & | a | ) |
Definition at line 56 of file keduvocconjugation.cpp.
| bool KEduVocConjugation::operator== | ( | const KEduVocConjugation & | a | ) | const |
Definition at line 62 of file keduvocconjugation.cpp.
| void KEduVocConjugation::setConjugation | ( | const KEduVocText & | conjugation, | |
| int | index | |||
| ) |
Definition at line 85 of file keduvocconjugation.cpp.
| void KEduVocConjugation::setConjugation | ( | const KEduVocText & | conjugation, | |
| ConjugationPerson | person, | |||
| ConjugationNumber | number | |||
| ) |
Definition at line 79 of file keduvocconjugation.cpp.
| void KEduVocConjugation::toKVTML2 | ( | QDomElement & | parent, | |
| const QString & | tense | |||
| ) |
Create xml for this declension.
- Parameters:
-
parent
Definition at line 109 of file keduvocconjugation.cpp.
The documentation for this class was generated from the following files:
KDE 4.1 API Reference