KEduVocDeclension
#include <keduvocdeclension.h>
Public Member Functions | |
KEduVocDeclension () | |
KEduVocDeclension (const KEduVocDeclension &other) | |
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.
@author Frederik Gladhorn <frederik.gladhorn@kdemail.net>
Definition at line 20 of file keduvocdeclension.h.
Constructor & Destructor Documentation
◆ KEduVocDeclension() [1/2]
|
explicit |
The constructor without arguments.
Definition at line 20 of file keduvocdeclension.cpp.
◆ KEduVocDeclension() [2/2]
KEduVocDeclension::KEduVocDeclension | ( | const KEduVocDeclension & | other | ) |
copy constructor
- Parameters
-
other comparison object to copy
Definition at line 25 of file keduvocdeclension.cpp.
◆ ~KEduVocDeclension()
KEduVocDeclension::~KEduVocDeclension | ( | ) |
Definition at line 37 of file keduvocdeclension.cpp.
Member Function Documentation
◆ declension()
KEduVocText & KEduVocDeclension::declension | ( | KEduVocWordFlags | flags | ) |
The grammatical number, there is singular and plural for english, some languages have dual for exactly two items.
- Parameters
-
flags
- Returns
Definition at line 42 of file keduvocdeclension.cpp.
◆ fromKVTML2()
|
static |
Reads a declension from xml, returns 0 if it is empty.
- Parameters
-
parent
- Returns
Definition at line 109 of file keduvocdeclension.cpp.
◆ isEmpty()
bool KEduVocDeclension::isEmpty | ( | ) |
Definition at line 52 of file keduvocdeclension.cpp.
◆ operator=()
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 31 of file keduvocdeclension.cpp.
◆ setDeclension()
void KEduVocDeclension::setDeclension | ( | const KEduVocText & | declension, |
KEduVocWordFlags | flags ) |
◆ toKVTML2()
void KEduVocDeclension::toKVTML2 | ( | QDomElement & | parent | ) |
Create xml for this declension.
- Parameters
-
parent
Definition at line 57 of file keduvocdeclension.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:15:30 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.