• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdeedu API Reference
  • KDE Home
  • Contact Us
 

parley

  • Practice
  • SessionManagerFixed
Public Member Functions | List of all members
Practice::SessionManagerFixed Class Reference

#include <sessionmanagerfixed.h>

Inheritance diagram for Practice::SessionManagerFixed:
Inheritance graph
[legend]

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

SessionManagerFixed::SessionManagerFixed ( QWidget *  parent)
explicit

Create a collection of entries to be practiced.

Parameters
doc

Definition at line 30 of file sessionmanagerfixed.cpp.

SessionManagerFixed::~SessionManagerFixed ( )
virtual

destructor

Definition at line 35 of file sessionmanagerfixed.cpp.

Member Function Documentation

void SessionManagerFixed::initializeTraining ( )
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:
  • sessionmanagerfixed.h
  • sessionmanagerfixed.cpp
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

KDE's Doxygen guidelines are available online.

parley

Skip menu "parley"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdeedu API Reference

Skip menu "kdeedu API Reference"
  • Analitza
  •     lib
  • kalgebra
  • kalzium
  •   libscience
  • kanagram
  • kig
  •   lib
  • klettres
  • marble
  • parley
  • rocs
  •   App
  •   RocsCore
  •   VisualEditor
  •   stepcore

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal