35 virtual QString exerciseText(
void) = 0;
36 virtual void setExerciseText(QString text) = 0;
37 virtual QString inputText(
void) = 0;
38 virtual void setInputText(QString text) = 0;
39 virtual void clearMistakes(
void) = 0;
41 virtual QList<MistakeRecord> mistakes(
void) = 0;
42 virtual void setMistakes(QList<MistakeRecord> mistakeList) = 0;
43 virtual void clearCharacters(
void) = 0;
45 virtual QList<CharacterRecord> characters(
void) = 0;
46 virtual void setCharacters(QList<CharacterRecord> characterList) = 0;
47 virtual bool timed(
void) = 0;
48 virtual void setTimed(
bool value) = 0;
49 virtual qreal time(
void) = 0;
50 virtual void setTime(qreal seconds) = 0;
51 virtual void validate(
void) = 0;
52 virtual void validate(
int grossHits, QStringList errorWords) = 0;
53 virtual int grossHits(
void) = 0;
54 virtual int mistakeCount(
void) = 0;
55 virtual QStringList errorWords(
void) = 0;
56 virtual void generateMistakeText(
bool correctMistakes) = 0;
57 virtual QString generatedInputText(
void) = 0;
58 virtual QString generatedMistakeText(
void) = 0;
59 virtual QString textWithMistakes(
void) = 0;
63 void exerciseTextChanged();
64 void inputTextChanged();
65 void mistakesChanged();
66 void charactersChanged();