parley
abstractbackendmode.h
Go to the documentation of this file.
void addSynonym(const QString &entry)
add a new synonym to the list of shown/answered synonyms depending on which mode we are in...
Definition: abstractbackendmode.h:41
void showSolution()
void answerRight()
void updateGrade(KEduVocText &text, bool isCorrectAnswer, bool hasNoPreviousBadAnswers)
Update the grade for the current entry.
Definition: abstractbackendmode.cpp:84
virtual void checkAnswer()=0
Check if the current answer is right.
void removeCurrentEntryFromPractice()
AbstractFrontend * m_frontend
Definition: abstractbackendmode.h:121
void append(const T &value)
virtual ~AbstractBackendMode()
Definition: abstractbackendmode.h:33
QStringList m_synonyms
Definition: abstractbackendmode.h:123
bool isEmpty() const
virtual void updateGrades()
Change the grades for the current entry.
Definition: abstractbackendmode.cpp:63
virtual bool setTestEntry(TestEntry *current)
start practicing a new word.
Definition: abstractbackendmode.cpp:28
void answerWrongShowSolution()
virtual grade_t currentGradeForEntry() const
The grade of the current entry - this has a default implementation to return the grade for the curren...
Definition: abstractbackendmode.cpp:58
Definition: abstractfrontend.h:26
void answerWrongRetry()
AbstractBackendMode(AbstractFrontend *frontend, QObject *parent)
Definition: abstractbackendmode.cpp:21
QObject * parent() const
virtual grade_t currentPreGradeForEntry() const
The pregrade of the current entry - this has a default implementation to return the pregrade for the ...
Definition: abstractbackendmode.cpp:53
Definition: testentry.h:22
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:15:56 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:15:56 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.