parley
Practice::SessionManagerFixed Class Reference
#include <sessionmanagerfixed.h>
Inheritance diagram for Practice::SessionManagerFixed:
Public Member Functions | |
SessionManagerFixed (QWidget *parent) | |
virtual | ~SessionManagerFixed () |
virtual void | initializeTraining () |
Public Member Functions inherited from Practice::SessionManagerBase | |
SessionManagerBase (QWidget *parent) | |
virtual | ~SessionManagerBase () |
int | activeEntryCount () |
int | allEntryCount () const |
QList< TestEntry * > | allTestEntries () const |
QList< TestEntry * > | allUnansweredTestEntries () |
QStringList | multipleChoiceAnswers (int numberChoices) |
virtual TestEntry * | nextTrainingEntry () |
virtual void | practiceFinished () |
virtual void | practiceStarted () |
void | printStatistics () |
virtual void | removeCurrentEntryFromPractice () |
virtual void | setDocument (KEduVocDocument *doc) |
int | statisticTotalCorrectFirstAttempt () |
int | statisticTotalUnanswered () |
int | statisticTotalWrong () |
QString | title () const |
int | totalTime () |
Additional Inherited Members | |
Protected Member Functions inherited from Practice::SessionManagerBase | |
bool | isValidMultipleChoiceAnswer (KEduVocExpression *e) |
Protected Attributes inherited from Practice::SessionManagerBase | |
QList< TestEntry * > | m_allTestEntries |
QList< TestEntry * > | m_currentEntries |
int | m_currentEntry |
KEduVocDocument * | m_doc |
int | m_knownLanguageIndex |
int | m_learningLanguageIndex |
QList< TestEntry * > | m_notAskedTestEntries |
QWidget * | m_parent |
KRandomSequence | m_randomSequence |
int | m_testType |
QTime | m_time |
int | m_totalTime |
Detailed Description
This class handles a session of a fixed size.
Special features include:
- at most x (default: 5) new words every session
- entries with higher grades are prioritized.
Definition at line 33 of file sessionmanagerfixed.h.
Constructor & Destructor Documentation
|
explicit |
Create a collection of entries to be practiced.
- Parameters
-
doc
Definition at line 30 of file sessionmanagerfixed.cpp.
|
virtual |
destructor
Definition at line 35 of file sessionmanagerfixed.cpp.
Member Function Documentation
|
virtual |
Initialize the lists of entries that will be used in the training from the full set of available entries.
Implements Practice::SessionManagerBase.
Definition at line 40 of file sessionmanagerfixed.cpp.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:15:57 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:57 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.