parley
document.cpp
Go to the documentation of this file.
42 return QVariantList() << qVariantFromValue ( static_cast<QObject*> ( l ) ) << l->childLessons ( true );
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
void setWordType(KEduVocWordType *wordType)
Definition: translation.h:139
KEduVocTranslation wrapper class for scripting with Kross.
Definition: translation.h:36
QObject * findLesson(const QString &name)
Searches through all the lessons (recursively) and returns the first lesson the specified name...
Definition: document.cpp:128
QObject * appendNewLesson(const QString &name)
Creates a new lesson and appends it to the root lesson.
Definition: document.cpp:114
QStringList wordTypes()
Returns a string list with all the available word type's names.
Definition: document.cpp:77
Identifier class can be accessed from Document class and is used for specifying the document language...
Definition: identifier.h:54
static QList< KEduVocContainer * > flattenContainer(KEduVocContainer *root)
Definition: container.cpp:62
void setWordType(QObject *tr, const QString &wordtype)
Sets the word type (wordtype) of the given tr translation object.
Definition: document.cpp:62
void appendNewIdentifier(const QString &name, const QString &locale)
Append a new identifier by giving the name and locale.
Definition: document.cpp:100
QVariantList identifiers()
Returns a list of all the identifiers of this document.
Definition: document.cpp:89
KEduVocWordType * wordTypeFromString(const QString &name)
Definition: document.cpp:45
QVariantList allLessons()
Returns all the lessons in the document (including sublessons)
Definition: document.cpp:39
KEduVocContainer * kEduVocContainer()
Definition: container.h:69
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:42:05 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:05 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.