parley
#include <abstractbackendmode.h>
Definition at line 26 of file abstractbackendmode.h.
virtual Practice::AbstractBackendMode::~AbstractBackendMode |
( |
| ) |
|
|
inlinevirtual |
void Practice::AbstractBackendMode::addSynonym |
( |
const QString & |
entry | ) |
|
|
inline |
add a new synonym to the list of shown/answered synonyms depending on which mode we are in.
Definition at line 41 of file abstractbackendmode.h.
void Practice::AbstractBackendMode::answerRight |
( |
| ) |
|
|
signal |
void Practice::AbstractBackendMode::answerWrongRetry |
( |
| ) |
|
|
signal |
void Practice::AbstractBackendMode::answerWrongShowSolution |
( |
| ) |
|
|
signal |
virtual void Practice::AbstractBackendMode::checkAnswer |
( |
| ) |
|
|
pure virtualslot |
grade_t Practice::AbstractBackendMode::currentGradeForEntry |
( |
| ) |
|
|
virtual |
The grade of the current entry - this has an default implementation to return the grade for the current translation.
This is used in the frontend to visualize the grade. If the practice is not on the translation itself but for example conjugations, the mode needs to re-implement this function in order to change the grades of the correct parts of the translation. For modes that work on several words, this should return the worst grade of them.
- Returns
- the grade
Reimplemented in Practice::ConjugationBackendMode.
Definition at line 41 of file abstractbackendmode.cpp.
virtual void Practice::AbstractBackendMode::hintAction |
( |
| ) |
|
|
pure virtualslot |
the frontend requested a hint
void Practice::AbstractBackendMode::nextEntry |
( |
| ) |
|
|
signal |
ask for the next word to be practiced
void Practice::AbstractBackendMode::removeCurrentEntryFromPractice |
( |
| ) |
|
|
signal |
bool AbstractBackendMode::setTestEntry |
( |
TestEntry * |
current | ) |
|
|
virtual |
void Practice::AbstractBackendMode::showSolution |
( |
| ) |
|
|
signal |
void Practice::AbstractBackendMode::updateGrades |
( |
| ) |
|
|
virtual |
TestEntry* Practice::AbstractBackendMode::m_current |
|
protected |
QStringList Practice::AbstractBackendMode::m_synonyms |
|
protected |
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
KDE's Doxygen guidelines are available online.