parley
writtenpracticevalidator.cpp
Go to the documentation of this file.
78 kDebug() << "No spellchecker for current language found: " << m_doc->identifier(m_translation).locale();
148 foreach(KEduVocTranslation * synonym, m_entry->entry()->translation(m_entry->languageTo())->synonyms()) {
165 bool WrittenPracticeValidator::isCapitalizationMistake(const QString& original, const QString& answer)
184 (Prefs::ignoreCapitalizationMistakes() && isCapitalizationMistake(stripedOriginal, stripedAnswer))) {
bool spellcheckerAvailable()
Definition: writtenpracticevalidator.cpp:89
QString & append(QChar ch)
~WrittenPracticeValidator()
Definition: writtenpracticevalidator.cpp:51
QString normalized(NormalizationForm mode) const
bool isEmpty() const
QString stripAccents(const QString &original)
Definition: answervalidatorold.cpp:29
QString toLower() const
WrittenPracticeValidator(int translation, KEduVocDocument *doc)
Definition: writtenpracticevalidator.cpp:41
static bool countSynonymsAsCorrect()
Get When the synonym instead of the word was entered, does it count as correct?
Definition: prefs.h:678
static bool ignoreAccentMistakes()
Get Count answers as right when only the accentuation is wrong.
Definition: prefs.h:507
void validateAnswer(const QString &answer)
Definition: writtenpracticevalidator.cpp:94
int length() const
QString getCorrectedAnswer()
Definition: writtenpracticevalidator.cpp:132
static bool ignoreCapitalizationMistakes()
Get Count answers as right when only the capitalization is wrong.
Definition: prefs.h:526
void setEntry(TestEntry *entry)
Definition: writtenpracticevalidator.cpp:56
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.