Logo Search packages:      
Sourcecode: parley version File versions  Download package

Public Slots | Signals | Public Member Functions | Private Types | Private Slots | Private Member Functions | Private Attributes

Practice::PracticeStateMachine Class Reference

Collaboration diagram for Practice::PracticeStateMachine:
Collaboration graph
[legend]

List of all members.

Public Slots

void slotPracticeFinished ()

Signals

void practiceFinished ()
void stopPractice ()

Public Member Functions

 PracticeStateMachine (AbstractFrontend *frontend, ParleyDocument *doc, const PracticeOptions &options, TestEntryManager *testEntryManager, QObject *parent=0)
void start ()

Private Types

enum  State { NotAnswered, AnswerWasWrong, SolutionShown }

Private Slots

void answerRight ()
void answerWrongRetry ()
void answerWrongShowSolution ()
void continueAction ()
void gradeEntryAndContinue ()
void nextEntry ()
void showSolution ()

Private Member Functions

void createPracticeMode ()
void currentEntryFinished ()
void updateFrontend ()

Private Attributes

TestEntrym_current
ParleyDocumentm_document
AbstractFrontendm_frontend
AbstractBackendModem_mode
PracticeOptions m_options
State m_state
TestEntryManagerm_testEntryManager

Detailed Description

Definition at line 27 of file practicestatemachine.h.


The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index