parley
#include <writtenbackendmode.h>

Public Slots | |
virtual void | hintAction () |
![]() | |
virtual void | hintAction ()=0 |
Public Member Functions | |
WrittenBackendMode (const Practice::PracticeOptions &practiceOptions, Practice::AbstractFrontend *frontend, QObject *parent, Practice::TestEntryManager *testEntryManager, KEduVocDocument *doc) | |
void | checkAnswer () |
virtual bool | setTestEntry (TestEntry *current) |
![]() | |
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 | |
![]() | |
void | answerRight () |
void | answerWrongRetry () |
void | answerWrongShowSolution () |
void | nextEntry () |
void | removeCurrentEntryFromPractice () |
void | showSolution () |
![]() | |
TestEntry * | m_current |
AbstractFrontend * | m_frontend |
PracticeOptions | m_practiceOptions |
QStringList | m_synonyms |
Detailed Description
Definition at line 24 of file writtenbackendmode.h.
Constructor & Destructor Documentation
WrittenBackendMode::WrittenBackendMode | ( | const Practice::PracticeOptions & | practiceOptions, |
Practice::AbstractFrontend * | frontend, | ||
QObject * | parent, | ||
Practice::TestEntryManager * | testEntryManager, | ||
KEduVocDocument * | doc | ||
) |
Definition at line 21 of file writtenbackendmode.cpp.
Member Function Documentation
|
virtual |
Check if the current answer is right.
This function should emit one of these signals: answerRight, answerWrongRetry, answerWrongShowSolution or showSolution
Implements Practice::AbstractBackendMode.
Definition at line 41 of file writtenbackendmode.cpp.
|
virtualslot |
Definition at line 139 of file writtenbackendmode.cpp.
|
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::AbstractBackendMode.
Reimplemented in Practice::ExampleSentenceBackendMode.
Definition at line 29 of file writtenbackendmode.cpp.
The documentation for this class was generated from the following files:
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.