Logo Search packages:      
Sourcecode: parley version File versions  Download package

Public Slots | Signals | Public Member Functions | Protected Member Functions | Protected Attributes | Private Attributes

Practice::MultipleChoiceBackendMode Class Reference

Inheritance diagram for Practice::MultipleChoiceBackendMode:
Inheritance graph
Collaboration diagram for Practice::MultipleChoiceBackendMode:
Collaboration graph

List of all members.

Public Slots

virtual void hintAction ()


void answerRight ()
void answerWrongRetry ()
void answerWrongShowSolution ()
void nextEntry ()
void removeCurrentEntryFromPractice ()
void showSolution ()

Public Member Functions

void addSynonym (const QString &entry)
virtual void checkAnswer ()
virtual grade_t currentGradeForEntry ()
 MultipleChoiceBackendMode (const PracticeOptions &PracticeOptions, AbstractFrontend *frontend, QObject *parent, Practice::TestEntryManager *testEntryManager)
virtual bool setTestEntry (TestEntry *current)
virtual void updateGrades ()

Protected Member Functions

int numberOfChoices ()
virtual void prepareChoices (TestEntry *current)
void setChoices (const QStringList &choices)
void setCorrectAnswer (int index)
void setQuestion (const QString &question)

Protected Attributes

PracticeOptions m_practiceOptions
QStringList m_synonyms

Private Attributes

QStringList m_choices
int m_correctAnswer
QList< int > m_hints
int m_numberOfChoices
QString m_question
KRandomSequence m_randomSequence

Detailed Description

Definition at line 23 of file multiplechoicebackendmode.h.

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index