parley
abstractbackendmode.cpp
Go to the documentation of this file.
76 //kDebug() << "new grade: " << m_current->entry()->translation(m_current->languageTo())->grade();
virtual void setQuestion(const QVariant &question)=0
static bool practiceSoundEnabled()
Get Enable sound playback in the practice dialogs.
Definition: prefs.h:716
void updateGrade(KEduVocText &text, bool isCorrectAnswer, bool hasNoPreviousBadAnswers)
Update the grade for the current entry.
Definition: abstractbackendmode.cpp:84
virtual void setSolution(const QVariant &solution)=0
AbstractFrontend * m_frontend
Definition: abstractbackendmode.h:121
virtual void setQuestionPronunciation(const QString &pronunciationText)=0
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
QDateTime currentDateTime()
virtual void setSolutionSound(const KUrl &soundUrl)=0
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
AbstractBackendMode(AbstractFrontend *frontend, QObject *parent)
Definition: abstractbackendmode.cpp:21
virtual void setQuestionSound(const KUrl &soundUrl)=0
virtual void setSolutionPronunciation(const QString &pronunciationText)=0
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.