LibKEduVocDocument
keduvocwordtype.cpp
56 // add to expression - if not already there because another translation of the same word is there.
83 // remove from cache if none of the translations use this word type (other than the one we are removing that should not be taken into account)
86 if (translation->entry()->translation(i)->wordType() && translation->entry()->translation(i)->wordType() == this
class to store information about a container - that can be a lesson or word types
Definition keduvoccontainer.h:22
void invalidateChildLessonEntries()
Set the child entry cache to invalid.
Definition keduvoccontainer.cpp:257
This class contains one vocabulary expression as an original with one or more translations.
Definition keduvocexpression.h:27
KEduVocTranslation * translation(int index)
Get a pointer to the translation.
Definition keduvocexpression.cpp:165
Definition keduvoctranslation.h:25
void setWordType(KEduVocWordType *wordType)
Sets the word type of this expression.
Definition keduvoctranslation.cpp:348
KEduVocWordType * wordType() const
Returns the word type of this expression, you will get a 0 pointer if wordtype is not set for the tra...
Definition keduvoctranslation.cpp:339
int entryCount(EnumEntriesRecursive recursive=NotRecursive) override
get the number of entries in the lesson
Definition keduvocwordtype.cpp:46
KEduVocWordType(const QString &name, KEduVocWordType *parent=nullptr)
default constructor
Definition keduvocwordtype.cpp:23
QList< KEduVocExpression * > entries(EnumEntriesRecursive recursive=NotRecursive) override
get a list of all entries in the lesson
Definition keduvocwordtype.cpp:37
KEduVocTranslation * translation(int row)
The word type class does keep track of individual translations, because for one entry,...
Definition keduvocwordtype.cpp:102
KEduVocWordType * childOfType(KEduVocWordFlags flags)
Return a child class (or this class) that is of the specified type.
Definition keduvocwordtype.cpp:125
void append(QList< T > &&value)
qsizetype count() const const
qsizetype indexOf(const AT &value, qsizetype from) const const
void removeAt(qsizetype i)
T value(qsizetype i) const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:05:43 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:05:43 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.