• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdeedu API Reference
  • KDE Home
  • Contact Us
 

parley

  • Practice
  • ConjugationBackendMode
Public Slots | Public Member Functions | List of all members
Practice::ConjugationBackendMode Class Reference

#include <conjugationbackendmode.h>

Inheritance diagram for Practice::ConjugationBackendMode:
Inheritance graph
[legend]

Public Slots

virtual void checkAnswer ()
 
virtual void hintAction ()
 
- Public Slots inherited from Practice::AbstractBackendMode
virtual void checkAnswer ()=0
 
virtual void hintAction ()=0
 

Public Member Functions

 ConjugationBackendMode (const PracticeOptions &PracticeOptions, AbstractFrontend *frontend, QObject *parent, Practice::TestEntryManager *testEntryManager, KEduVocDocument *doc)
 
virtual grade_t currentGradeForEntry ()
 
virtual bool setTestEntry (TestEntry *current)
 
virtual void updateGrades ()
 
- Public Member Functions inherited from Practice::AbstractBackendMode
 AbstractBackendMode (const PracticeOptions &practiceOptions, AbstractFrontend *frontend, QObject *parent)
 
virtual ~AbstractBackendMode ()
 
void addSynonym (const QString &entry)
 

Additional Inherited Members

- Signals inherited from Practice::AbstractBackendMode
void answerRight ()
 
void answerWrongRetry ()
 
void answerWrongShowSolution ()
 
void nextEntry ()
 
void removeCurrentEntryFromPractice ()
 
void showSolution ()
 
- Protected Attributes inherited from Practice::AbstractBackendMode
TestEntry * m_current
 
AbstractFrontend * m_frontend
 
PracticeOptions m_practiceOptions
 
QStringList m_synonyms
 

Detailed Description

Definition at line 23 of file conjugationbackendmode.h.

Constructor & Destructor Documentation

ConjugationBackendMode::ConjugationBackendMode ( const PracticeOptions &  PracticeOptions,
AbstractFrontend *  frontend,
QObject *  parent,
Practice::TestEntryManager *  testEntryManager,
KEduVocDocument *  doc 
)

Definition at line 26 of file conjugationbackendmode.cpp.

Member Function Documentation

void ConjugationBackendMode::checkAnswer ( )
virtualslot

Definition at line 82 of file conjugationbackendmode.cpp.

grade_t ConjugationBackendMode::currentGradeForEntry ( )
virtual

Return the worst grade for any pronoun of the current entry.

Reimplemented from Practice::AbstractBackendMode.

Definition at line 116 of file conjugationbackendmode.cpp.

void ConjugationBackendMode::hintAction ( )
virtualslot

Definition at line 153 of file conjugationbackendmode.cpp.

bool ConjugationBackendMode::setTestEntry ( TestEntry *  current)
virtual

start practicing a new word.

sets some default that can be overwritten by the modes. m_frontend->showQuestion() should be called after the initialization.

Reimplemented from Practice::AbstractBackendMode.

Definition at line 34 of file conjugationbackendmode.cpp.

void ConjugationBackendMode::updateGrades ( )
virtual

Change the grades for the current entry.

The default implementation changes the grade of the current translation. Modes working on other parts of the translations need to re-implement this.

Reimplemented from Practice::AbstractBackendMode.

Definition at line 131 of file conjugationbackendmode.cpp.


The documentation for this class was generated from the following files:
  • conjugationbackendmode.h
  • conjugationbackendmode.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:42:06 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

parley

Skip menu "parley"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdeedu API Reference

Skip menu "kdeedu API Reference"
  • Analitza
  •     lib
  • kalgebra
  • kalzium
  •   libscience
  • kanagram
  • kig
  •   lib
  • klettres
  • kstars
  • libkdeedu
  •   keduvocdocument
  • marble
  • parley
  • rocs
  •   App
  •   RocsCore
  •   VisualEditor
  •   stepcore

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal