parley
abstractbackendmode.h
Go to the documentation of this file.
32 AbstractBackendMode(const PracticeOptions& practiceOptions, AbstractFrontend *frontend, QObject *parent);
Definition: practiceoptions.h:22
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()
AbstractBackendMode(const PracticeOptions &practiceOptions, AbstractFrontend *frontend, QObject *parent)
Definition: abstractbackendmode.cpp:19
virtual void checkAnswer()=0
Check if the current answer is right.
void removeCurrentEntryFromPractice()
AbstractFrontend * m_frontend
Definition: abstractbackendmode.h:83
virtual ~AbstractBackendMode()
Definition: abstractbackendmode.h:33
virtual void updateGrades()
Change the grades for the current entry.
Definition: abstractbackendmode.cpp:46
virtual bool setTestEntry(TestEntry *current)
start practicing a new word.
Definition: abstractbackendmode.cpp:27
void answerWrongShowSolution()
Definition: abstractfrontend.h:25
virtual grade_t currentGradeForEntry()
The grade of the current entry - this has an default implementation to return the grade for the curre...
Definition: abstractbackendmode.cpp:41
PracticeOptions m_practiceOptions
Definition: abstractbackendmode.h:82
void answerWrongRetry()
Definition: testentry.h:22
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:42:05 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:05 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.