KEduVocConjugation

Search for usage in LXR

#include <keduvocconjugation.h>

Public Member Functions

 KEduVocConjugation ()
 
 KEduVocConjugation (const KEduVocConjugation &rhs)
 
KEduVocTextconjugation (KEduVocWordFlags flags) const
 
bool isEmpty ()
 
QList< KEduVocWordFlagskeys ()
 
KEduVocConjugationoperator= (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 KEduVocConjugationfromKVTML2 (QDomElement &parent)
 

Detailed Description

The conjugation of a verb.

Definition at line 19 of file keduvocconjugation.h.

Constructor & Destructor Documentation

◆ KEduVocConjugation() [1/2]

KEduVocConjugation::KEduVocConjugation ( )
explicit

The constructor.

Definition at line 21 of file keduvocconjugation.cpp.

◆ KEduVocConjugation() [2/2]

KEduVocConjugation::KEduVocConjugation ( const KEduVocConjugation & rhs)

Definition at line 26 of file keduvocconjugation.cpp.

◆ ~KEduVocConjugation()

KEduVocConjugation::~KEduVocConjugation ( )

Definition at line 32 of file keduvocconjugation.cpp.

Member Function Documentation

◆ conjugation()

KEduVocText & KEduVocConjugation::conjugation ( KEduVocWordFlags flags) const

Returns an existing conjugation object.

It is an error and leads to undefined behavior to call this method with flags which are not in the list returned by keys().

BCI: return a pointer instead of a reference.

Parameters
flagsFlags obtained by a previous call to keys()
Returns
The existing conjugation object with the specified properties

Definition at line 48 of file keduvocconjugation.cpp.

◆ fromKVTML2()

KEduVocConjugation * KEduVocConjugation::fromKVTML2 ( QDomElement & parent)
static

Reads a declension from xml, returns 0 if it is empty.

Parameters
parent
Returns

Definition at line 169 of file keduvocconjugation.cpp.

◆ isEmpty()

bool KEduVocConjugation::isEmpty ( )

Definition at line 58 of file keduvocconjugation.cpp.

◆ keys()

QList< KEduVocWordFlags > KEduVocConjugation::keys ( )

Definition at line 63 of file keduvocconjugation.cpp.

◆ operator=()

KEduVocConjugation & KEduVocConjugation::operator= ( const KEduVocConjugation & a)

Definition at line 37 of file keduvocconjugation.cpp.

◆ operator==()

bool KEduVocConjugation::operator== ( const KEduVocConjugation & a) const

Definition at line 43 of file keduvocconjugation.cpp.

◆ setConjugation()

void KEduVocConjugation::setConjugation ( const KEduVocText & conjugation,
KEduVocWordFlags flags )

Updates or creates the conjugation object for the given word flags.

Definition at line 53 of file keduvocconjugation.cpp.

◆ toKVTML2()

void KEduVocConjugation::toKVTML2 ( QDomElement & parent,
const QString & tense )

Create xml for this declension.

Parameters
parent
tense

Definition at line 68 of file keduvocconjugation.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 20 2024 11:49:40 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.