parley
Practice::ExampleSentenceBackendMode Class Reference
#include <examplesentencebackendmode.h>
Inheritance diagram for Practice::ExampleSentenceBackendMode:

Public Member Functions | |
| ExampleSentenceBackendMode (const Practice::PracticeOptions &practiceOptions, Practice::AbstractFrontend *frontend, QObject *parent, Practice::TestEntryManager *testEntryManager, KEduVocDocument *doc) | |
| virtual bool | setTestEntry (TestEntry *current) |
Public Member Functions inherited from Practice::WrittenBackendMode | |
| WrittenBackendMode (const Practice::PracticeOptions &practiceOptions, Practice::AbstractFrontend *frontend, QObject *parent, Practice::TestEntryManager *testEntryManager, KEduVocDocument *doc) | |
| void | checkAnswer () |
Public Member Functions inherited from Practice::AbstractBackendMode | |
| AbstractBackendMode (const PracticeOptions &practiceOptions, AbstractFrontend *frontend, QObject *parent) | |
| virtual | ~AbstractBackendMode () |
| void | addSynonym (const QString &entry) |
| virtual grade_t | currentGradeForEntry () |
| virtual void | updateGrades () |
Additional Inherited Members | |
Public Slots inherited from Practice::WrittenBackendMode | |
| virtual void | hintAction () |
Public Slots inherited from Practice::AbstractBackendMode | |
| virtual void | hintAction ()=0 |
Signals inherited from Practice::AbstractBackendMode | |
| void | answerRight () |
| void | answerWrongRetry () |
| void | answerWrongShowSolution () |
| void | nextEntry () |
| void | removeCurrentEntryFromPractice () |
| void | showSolution () |
Protected Attributes inherited from Practice::AbstractBackendMode | |
| TestEntry * | m_current |
| AbstractFrontend * | m_frontend |
| PracticeOptions | m_practiceOptions |
| QStringList | m_synonyms |
Detailed Description
Definition at line 22 of file examplesentencebackendmode.h.
Constructor & Destructor Documentation
| ExampleSentenceBackendMode::ExampleSentenceBackendMode | ( | const Practice::PracticeOptions & | practiceOptions, |
| Practice::AbstractFrontend * | frontend, | ||
| QObject * | parent, | ||
| Practice::TestEntryManager * | testEntryManager, | ||
| KEduVocDocument * | doc | ||
| ) |
Definition at line 21 of file examplesentencebackendmode.cpp.
Member Function Documentation
|
virtual |
start practicing a new word.
sets some default that can be overwritten by the modes. m_frontend->showQuestion() should be called after the initialization.
Reimplemented from Practice::WrittenBackendMode.
Definition at line 26 of file examplesentencebackendmode.cpp.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:42:06 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:42:06 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.
KDE API Reference
Public Member Functions inherited from