parley
lesson.h
Go to the documentation of this file.
QObject * child(const char *objName, const char *inheritsClass, bool recursiveSearch) const
QObject * findChildLesson(const QString &name)
Searches through all the child lessons (recursively) and returns the first lesson the specified name...
Definition: lesson.cpp:142
int childContainerCount() const
Definition: container.h:112
QVariantList childLessons(bool recursive=false)
Returns a list of all the child lessons.
Definition: lesson.cpp:57
QObject * childLesson(int row)
Return the child lesson with the corresponding row.
Definition: lesson.h:199
void appendChildLesson(Lesson *child)
Appends a child lesson under the current lesson.
Definition: lesson.h:177
KEduVocContainer wrapping class for Kross scripts (inherited by Lesson)
Definition: container.h:33
void insertChildLesson(int row, Lesson *child)
Inserts a child lesson (child) on the specified row.
Definition: lesson.h:183
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
void removeChildContainer(int row)
Definition: container.h:95
QObject * childLesson(const QString &name)
Retrieve a child container by its name Returns 0 if no container is found.
Definition: lesson.h:209
int childLessonCount() const
Returns how many child lessons exist under this lesson.
Definition: lesson.h:246
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
void appendChildContainer(Container *child)
Definition: container.h:88
void insertChildContainer(int row, Container *child)
Definition: container.h:91
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.