parley
lesson.h
Go to the documentation of this file.
201 QObject *childLesson ( const QString& name ) { return new Lesson ( m_lesson->childContainer ( name ) ); }
QObject * findChildLesson(const QString &name)
Searches through all the child lessons (recursively) and returns the first lesson the specified name...
Definition: lesson.cpp:147
QVariantList childLessons(bool recursive=false)
Returns a list of all the child lessons.
Definition: lesson.cpp:58
QObject * childLesson(int row)
Return the child lesson with the corresponding row.
Definition: lesson.h:193
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:181
void appendEntry(Expression *entry)
Appends an entry at the end of the lesson.
Definition: lesson.cpp:94
QVariantList entries(bool recursive=false) const
Returns a list of all the entries of a lesson.
Definition: lesson.cpp:65
QObject * entry(int row, bool recursive=false)
Returns the entry of the given row.
Definition: lesson.cpp:84
void removeChildContainer(int row)
Definition: container.h:85
QObject * childLesson(const QString &name)
Retrieve a child container by its name Returns 0 if no container is found.
Definition: lesson.h:201
int childLessonCount() const
Returns how many child lessons exist under this lesson.
Definition: lesson.h:236
int entryCount(bool recursive=false)
Returns how many entries are in this lesson (or with sublessons if recursive is true) ...
Definition: lesson.cpp:89
void insertEntry(int index, Expression *entry)
Insert an entry on a specific index.
Definition: lesson.cpp:99
void appendNewEntry(QStringList translations)
Creates and appends a new entry with the given translations.
Definition: lesson.cpp:141
void appendChildContainer(Container *child)
Definition: container.h:82
void insertChildContainer(int row, Container *child)
Definition: container.h:83
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:42:06 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:42:06 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.