parley
document.cpp
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
QVariantList childLessons(bool recursive=false)
Returns a list of all the child lessons.
Definition: lesson.cpp:57
void setWordType(KEduVocWordType *wordType)
Definition: translation.h:157
void removeFirst()
KEduVocTranslation wrapper class for scripting with Kross.
Definition: translation.h:36
QString tr(const char *sourceText, const char *disambiguation, int n)
QObject * findLesson(const QString &name)
Searches through all the lessons (recursively) and returns the first lesson the specified name...
Definition: document.cpp:125
QObject * appendNewLesson(const QString &name)
Creates a new lesson and appends it to the root lesson.
Definition: document.cpp:111
QStringList wordTypes()
Returns a string list with all the available word type's names.
Definition: document.cpp:75
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:61
void appendNewIdentifier(const QString &name, const QString &locale)
Append a new identifier by giving the name and locale.
Definition: document.cpp:96
QVariantList identifiers()
Returns a list of all the identifiers of this document.
Definition: document.cpp:86
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-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.