KEduVocLeitnerBox
#include <keduvocleitnerbox.h>
Public Member Functions | |
KEduVocLeitnerBox (const QString &name, KEduVocLeitnerBox *parent=nullptr) | |
~KEduVocLeitnerBox () override | |
QList< KEduVocExpression * > | entries (EnumEntriesRecursive recursive=NotRecursive) override |
KEduVocExpression * | entry (int row, EnumEntriesRecursive recursive=NotRecursive) override |
int | entryCount (EnumEntriesRecursive recursive=NotRecursive) override |
KEduVocTranslation * | translation (int row) |
Public Member Functions inherited from KEduVocContainer | |
KEduVocContainer (const KEduVocContainer &other) | |
KEduVocContainer (const QString &name, EnumContainerType type, KEduVocContainer *parent=nullptr) | |
virtual | ~KEduVocContainer () |
void | appendChildContainer (KEduVocContainer *child) |
double | averageGrade (int translation, EnumEntriesRecursive recursive) |
KEduVocContainer * | childContainer (const QString &name) |
KEduVocContainer * | childContainer (int row) |
int | childContainerCount () const |
QList< KEduVocContainer * > | childContainers () |
KEduVocContainer::EnumContainerType | containerType () |
void | deleteChildContainer (int row) |
KEduVocDocument * | document () const |
int | expressionsOfGrade (int translation, grade_t grade, EnumEntriesRecursive recursive) |
QUrl | imageUrl () |
bool | inPractice () |
void | insertChildContainer (int row, KEduVocContainer *child) |
QString | name () |
KEduVocContainer & | operator= (const KEduVocContainer &) |
bool | operator== (const KEduVocContainer &other) const |
virtual KEduVocContainer * | parent () |
void | removeChildContainer (int row) |
void | removeTranslation (int translation) |
void | resetGrades (int translation, EnumEntriesRecursive recursive) |
int | row () const |
void | setContainerType (KEduVocContainer::EnumContainerType type) |
void | setImageUrl (const QUrl &url) |
void | setInPractice (bool inPractice) |
void | setName (const QString &name) |
Additional Inherited Members | |
Public Types inherited from KEduVocContainer | |
enum | EnumContainerType { Container , Lesson , WordType , Leitner } |
enum | EnumEntriesRecursive { NotRecursive = 0 , Recursive = 1 } |
Protected Member Functions inherited from KEduVocContainer | |
KEduVocContainer (const QString &name, EnumContainerType type, KEduVocDocument *document) | |
QList< KEduVocExpression * > | entriesRecursive () |
void | invalidateChildLessonEntries () |
void | updateChildLessonEntries () |
Detailed Description
Leitner Boxes are an alternative grading system.
Classically flash cards are kept in boxes and moved corresponding to the users knowledge level.
Definition at line 23 of file keduvocleitnerbox.h.
Constructor & Destructor Documentation
◆ KEduVocLeitnerBox()
|
explicit |
default constructor
Definition at line 20 of file keduvocleitnerbox.cpp.
◆ ~KEduVocLeitnerBox()
|
override |
destructor
Definition at line 28 of file keduvocleitnerbox.cpp.
Member Function Documentation
◆ entries()
|
overridevirtual |
get a list of all entries in the box
- Returns
Implements KEduVocContainer.
Definition at line 36 of file keduvocleitnerbox.cpp.
◆ entry()
|
overridevirtual |
Implements KEduVocContainer.
Definition at line 98 of file keduvocleitnerbox.cpp.
◆ entryCount()
|
overridevirtual |
get the number of entries in the lesson
Implements KEduVocContainer.
Definition at line 42 of file keduvocleitnerbox.cpp.
◆ translation()
KEduVocTranslation * KEduVocLeitnerBox::translation | ( | int | row | ) |
The leitner box class keeps track of individual translations, because for one entry, the translations can have different grades.
- Parameters
-
row
- Returns
Definition at line 93 of file keduvocleitnerbox.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 20 2024 11:49:40 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.