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
[legend]
Collaboration diagram for Practice::MultipleChoiceBackendMode:
Collaboration graph
[legend]

List of all members.

Public Slots

virtual void hintAction ()

Signals

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

TestEntrym_current
AbstractFrontendm_frontend
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
TestEntryManagerm_testEntryManager

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