libkdeedu/keduvocdocument
#include <keduvocdeclension.h>
Public Member Functions | |
KEduVocDeclension () | |
KEduVocDeclension (const KEduVocDeclension &other) | |
~KEduVocDeclension () | |
KEduVocText & | declension (KEduVocWordFlags flags) |
bool | isEmpty () |
KEduVocDeclension & | operator= (const KEduVocDeclension &other) |
void | setDeclension (const KEduVocText &declension, KEduVocWordFlags flags) |
void | toKVTML2 (QDomElement &parent) |
Static Public Member Functions | |
static KEduVocDeclension * | fromKVTML2 (QDomElement &parent) |
Detailed Description
A declension contains all forms that a NOUN possibly can have.
Definition at line 36 of file keduvocdeclension.h.
Constructor & Destructor Documentation
|
explicit |
The constructor without arguments.
Definition at line 38 of file keduvocdeclension.cpp.
KEduVocDeclension::KEduVocDeclension | ( | const KEduVocDeclension & | other | ) |
copy constructor
- Parameters
-
other comparison object to copy
Definition at line 43 of file keduvocdeclension.cpp.
KEduVocDeclension::~KEduVocDeclension | ( | ) |
Definition at line 55 of file keduvocdeclension.cpp.
Member Function Documentation
KEduVocText & KEduVocDeclension::declension | ( | KEduVocWordFlags | flags | ) |
The grammatical number, there is singular and plural for english, some languages have dual for exactly two items.
- Parameters
-
gender decCase
- Returns
Definition at line 60 of file keduvocdeclension.cpp.
|
static |
Reads a declension from xml, returns 0 if it is empty.
- Parameters
-
parent
- Returns
Definition at line 129 of file keduvocdeclension.cpp.
bool KEduVocDeclension::isEmpty | ( | ) |
Definition at line 70 of file keduvocdeclension.cpp.
KEduVocDeclension & KEduVocDeclension::operator= | ( | const KEduVocDeclension & | other | ) |
equality operator
- Parameters
-
a object to compare to
- Returns
- true if comparisons are the same, false otherwise assignment operator for d-pointer copying
- Parameters
-
other object to copy from
- Returns
- reference to this object
Definition at line 49 of file keduvocdeclension.cpp.
void KEduVocDeclension::setDeclension | ( | const KEduVocText & | declension, |
KEduVocWordFlags | flags | ||
) |
Set a declension.
- Parameters
-
param number decCase
Definition at line 65 of file keduvocdeclension.cpp.
void KEduVocDeclension::toKVTML2 | ( | QDomElement & | parent | ) |
Create xml for this declension.
- Parameters
-
parent
Definition at line 75 of file keduvocdeclension.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.