libkdeedu/keduvocdocument
keduvocwordtype.cpp
Go to the documentation of this file.
65 // add to expression - if not already there because another translation of the same word is there.
92 // 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)
95 if (translation->entry()->translation(i)->wordType() && translation->entry()->translation(i)->wordType() == this && translation->entry()->translation(i) != translation) {
QList< KEduVocContainer * > childContainers()
Definition: keduvoccontainer.cpp:190
KEduVocWordType * childOfType(const KEduVocWordFlags &flags)
Return a child class (or this class) that is of the specified type.
Definition: keduvocwordtype.cpp:131
class to store information about a container - that can be a lesson or word types ...
Definition: keduvoccontainer.h:30
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:355
void invalidateChildLessonEntries()
Set the child entry cache to invalid.
Definition: keduvoccontainer.cpp:241
QList< KEduVocExpression * > entries(EnumEntriesRecursive recursive=NotRecursive)
get a list of all entries in the lesson
Definition: keduvocwordtype.cpp:46
int entryCount(EnumEntriesRecursive recursive=NotRecursive)
get the number of entries in the lesson
Definition: keduvocwordtype.cpp:55
KEduVocTranslation * translation(int row)
The word type class does keep track of individual translations, because for one entry, the translations can have different word types (eg.
Definition: keduvocwordtype.cpp:107
Definition: keduvoctranslation.h:35
Definition: keduvoccontainer.h:44
This class contains one vocabulary expression as an original with one or more translations.
Definition: keduvocexpression.h:37
KEduVocExpression * entry(int row, EnumEntriesRecursive recursive=NotRecursive)
Definition: keduvocwordtype.cpp:113
KEduVocTranslation * translation(int index)
Get a pointer to the translation.
Definition: keduvocexpression.cpp:182
QList< int > translationIndices() const
Definition: keduvocexpression.cpp:199
void setWordType(KEduVocWordType *wordType)
Sets the word type of this expression.
Definition: keduvoctranslation.cpp:364
QList< KEduVocExpression * > entriesRecursive()
Definition: keduvoccontainer.cpp:182
KEduVocWordType(const QString &name, KEduVocWordType *parent=0)
default constructor
Definition: keduvocwordtype.cpp:34
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:37:21 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:37:21 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.