parley
lesson.cpp
Go to the documentation of this file.
QObject * findChildLesson(const QString &name)
Searches through all the child lessons (recursively) and returns the first lesson the specified name...
Definition: lesson.cpp:142
static KEduVocContainer::EnumEntriesRecursive boolToEnum(bool recursive)
Definition: container.cpp:50
QVariantList childLessons(bool recursive=false)
Returns a list of all the child lessons.
Definition: lesson.cpp:57
KEduVocContainer wrapping class for Kross scripts (inherited by Lesson)
Definition: container.h:33
void appendEntry(Expression *entry)
Appends an entry at the end of the lesson.
Definition: lesson.cpp:92
QVariantList entries(bool recursive=false) const
Returns a list of all the entries of a lesson.
Definition: lesson.cpp:64
QObject * entry(int row, bool recursive=false)
Returns the entry of the given row.
Definition: lesson.cpp:82
KEduVocContainer * findContainer(const QString &name)
Definition: container.cpp:73
int entryCount(bool recursive=false)
Returns how many entries are in this lesson (or with sublessons if recursive is true) ...
Definition: lesson.cpp:87
void insertEntry(int index, Expression *entry)
Insert an entry on a specific index.
Definition: lesson.cpp:97
void appendNewEntry(QStringList translations)
Creates and appends a new entry with the given translations.
Definition: lesson.cpp:136
KEduVocExpression * kEduVocExpression() const
Definition: expression.h:70
QList< KEduVocLesson * > flattenLessons(KEduVocLesson *rootLesson)
Definition: lesson.cpp:46
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:15:56 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:15:56 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.