LibKEduVocDocument
keduvocexpression.cpp
37 // empty the translations map, otherwise removal from word type will try to access them again when they don't exist any more
42KEduVocExpression::KEduVocExpressionPrivate::KEduVocExpressionPrivate(const KEduVocExpressionPrivate &other)
48KEduVocExpression::KEduVocExpressionPrivate &KEduVocExpression::KEduVocExpressionPrivate::operator=(const KEduVocExpressionPrivate &other)
56bool KEduVocExpression::KEduVocExpressionPrivate::operator==(const KEduVocExpression::KEduVocExpressionPrivate &p) const
This class contains one vocabulary expression as an original with one or more translations.
Definition keduvocexpression.h:27
void setTranslation(int index, const QString &expression)
Add a translation to this expression.
Definition keduvocexpression.cpp:118
KEduVocExpression()
default constructor for an empty vocabulary expression
Definition keduvocexpression.cpp:61
bool isActive() const
returns flag if entry is activated for queries
Definition keduvocexpression.cpp:135
void setActive(bool flag=true)
set entry active (enabled for queries)
Definition keduvocexpression.cpp:140
KEduVocTranslation * translation(int index)
Get a pointer to the translation.
Definition keduvocexpression.cpp:165
void removeEntry(KEduVocExpression *entry)
remove an entry from the lesson
Definition keduvoclesson.cpp:76
Definition keduvoctranslation.h:25
void clear()
bool contains(const Key &key) const const
size_type count() const const
QList< Key > keys() const const
T take(const Key &key)
T value(const Key &key, const T &defaultValue) const const
QString simplified() 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.