parley
multiplechoicebackendmode.h
Go to the documentation of this file.
28 MultipleChoiceBackendMode(const PracticeOptions& PracticeOptions, AbstractFrontend *frontend, QObject *parent, Practice::TestEntryManager* testEntryManager);
void setCorrectAnswer(int index)
The correct solution, index of the choices.
Definition: multiplechoicebackendmode.cpp:83
Definition: practiceoptions.h:22
void setChoices(const QStringList &choices)
This must include the correct answer.
Definition: multiplechoicebackendmode.cpp:78
virtual void hintAction()
Definition: multiplechoicebackendmode.cpp:101
Definition: testentrymanager.h:31
int numberOfChoices()
Definition: multiplechoicebackendmode.cpp:73
MultipleChoiceBackendMode(const PracticeOptions &PracticeOptions, AbstractFrontend *frontend, QObject *parent, Practice::TestEntryManager *testEntryManager)
Definition: multiplechoicebackendmode.cpp:22
virtual void checkAnswer()
Check if the current answer is right.
Definition: multiplechoicebackendmode.cpp:89
Definition: abstractfrontend.h:25
virtual bool setTestEntry(TestEntry *current)
start practicing a new word.
Definition: multiplechoicebackendmode.cpp:30
void setQuestion(const QString &question)
Set the question/original language.
Definition: multiplechoicebackendmode.cpp:68
virtual void prepareChoices(TestEntry *current)
set the list of possible answers.
Definition: multiplechoicebackendmode.cpp:53
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:06 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:06 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.