parley
abstractfrontend.h
Go to the documentation of this file.
AbstractFrontend(QObject *parent=0)
Definition: abstractfrontend.cpp:18
virtual void setResultState(ResultState resultState)=0
The result state indicated whether a word is counted as correct (and grades are raised) and can be ch...
virtual void setQuestion(const QVariant &question)=0
virtual void setHint(const QVariant &hint)=0
virtual void setKnownLangFont(const QFont &font)=0
virtual ~AbstractFrontend()
Definition: abstractfrontend.h:49
virtual void showQuestion()=0
enter question mode - the user is asked to provide the solution
virtual void setBoxes(grade_t currentBox, grade_t newBoxIfCorrect, grade_t newBoxIfWrong)=0
virtual void showGrade(int preGrade, int grade)=0
virtual void setQuestionImage(const KUrl &img)=0
virtual void setSolution(const QVariant &solution)=0
virtual void setLearningLangFont(const QFont &font)=0
void hintAction()
virtual void setQuestionFont(const QFont &font)=0
virtual void setLessonName(const QString &lesson)=0
virtual QFont learningLangFont() const =0
virtual QVariant userInput()=0
Enables access to the input of the user.
virtual QFont knownLangFont() const =0
fonts for learning and known languages.
virtual void setQuestionPronunciation(const QString &pronunciationText)=0
virtual void setMode(Mode mode)=0
switch between different modes such as written, flash card, etc
virtual void setFeedback(const QVariant &feedback)=0
virtual void setSynonym(const QString &entry)=0
set a new synonym that should be shown
virtual void setFinishedWordsTotalWords(int finished, int total)=0
The status such as lesson or number of words has changed.
void skipAction()
void continueAction()
virtual void setSolutionSound(const KUrl &soundUrl)=0
virtual void showSolution()=0
enter show solution mode - the solution is shown
virtual void setFeedbackState(ResultState feedbackState)=0
The feedback state tells the user if the currently entered word is correct (independent of whether th...
virtual void setSolutionFont(const QFont &font)=0
Definition: abstractfrontend.h:26
virtual void setQuestionSound(const KUrl &soundUrl)=0
virtual void setSolutionImage(const KUrl &img)=0
QObject * parent() const
virtual void setSolutionPronunciation(const QString &pronunciationText)=0
virtual ResultState resultState()=0
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.