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
void invalidateChildLessonEntries()
Set the child entry cache to invalid.
Definition keduvoccontainer.cpp:257
KEduVocContainer(const QString &name, EnumContainerType type, KEduVocContainer *parent=nullptr)
default constructor
Definition keduvoccontainer.cpp:61
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
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
T value(qsizetype i) const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Feb 14 2025 11:58:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Feb 14 2025 11:58:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.