parley
multiplechoicebackendmode.h
Go to the documentation of this file.
void setCorrectAnswer(int index)
The correct solution, index of the choices.
Definition: multiplechoicebackendmode.cpp:90
void setChoices(const QStringList &choices)
This must include the correct answer.
Definition: multiplechoicebackendmode.cpp:85
virtual void populateFrontEnd()
Configure the multiple choice front end.
Definition: multiplechoicebackendmode.cpp:58
virtual void hintAction()
Definition: multiplechoicebackendmode.cpp:108
int numberOfChoices()
Definition: multiplechoicebackendmode.cpp:80
MultipleChoiceBackendMode(AbstractFrontend *frontend, QObject *parent, Practice::SessionManagerBase *sessionManager)
Definition: multiplechoicebackendmode.cpp:22
virtual void checkAnswer()
Check if the current answer is right.
Definition: multiplechoicebackendmode.cpp:96
Definition: abstractfrontend.h:26
virtual bool setTestEntry(TestEntry *current)
Start practicing a new word.
Definition: multiplechoicebackendmode.cpp:31
QObject * parent() const
void setQuestion(const QString &question)
Set the question/original language.
Definition: multiplechoicebackendmode.cpp:75
virtual void prepareChoices(TestEntry *current)
set the list of possible answers.
Definition: multiplechoicebackendmode.cpp:43
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.