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

parley

TestEntry Class Reference

#include <testentry.h>

List of all members.

Public Types

enum  ErrorType {
  SpellingMistake = 0x1, CapitalizationMistake = 0x2, AccentMistake = 0x4, ArticleWrong = 0x8,
  ArticleMissing = 0x10, FalseFriend = 0x20, Synonym = 0x40, Empty = 0x80,
  UnrelatedWord = 0x100, Incomplete = 0x200, Correct = 0x400, UnknownMistake = 0x800
}

Public Member Functions

 TestEntry (KEduVocExpression *entry)
int answeredCorrectInSequence ()
KEduVocExpression * entry ()
void incBadCount ()
void incGoodCount ()
void incSkipKnown ()
void incSkipUnknown ()
void incTimeout ()
ErrorTypes lastErrors ()
double lastPercentage ()
void setLastErrors (ErrorTypes errorTypes)
void setLastPercentage (double percent)
int statisticBadCount ()
bool statisticCorrectAtFirstAttempt ()
int statisticCount ()
int statisticGoodCount ()
int statisticSkipKnown ()
int statisticSkipUnknown ()
int statisticTimeout ()
int totalEntries ()

Static Public Member Functions

static int gradeFrom ()
static int gradeTo ()
static void setGradeFrom (int from)
static void setGradeTo (int to)

Detailed Description

Definition at line 22 of file testentry.h.


Member Enumeration Documentation

enum TestEntry::ErrorType
Enumerator:
SpellingMistake 
CapitalizationMistake 

< misspelled

AccentMistake 

< capitalization error (whAt)

ArticleWrong 

< an accent is missing or wrong (é)

ArticleMissing 

< solution is correct with the article interchanged

FalseFriend 

< solution is correct with the article missing

Synonym 

< a false friend

Empty 

< a synonym (may be correct)

UnrelatedWord 

< empty answer string

Incomplete 

< a valid word but no connection to the solution

Correct 

< the part that was entered is right, but not complete

UnknownMistake 

< no error, solution was right

Definition at line 25 of file testentry.h.


Constructor & Destructor Documentation

TestEntry::TestEntry ( KEduVocExpression *  entry  ) 

Definition at line 26 of file testentry.cpp.


Member Function Documentation

int TestEntry::answeredCorrectInSequence (  ) 

Definition at line 51 of file testentry.cpp.

KEduVocExpression * TestEntry::entry (  ) 

Definition at line 196 of file testentry.cpp.

int TestEntry::gradeFrom (  )  [static]

Definition at line 160 of file testentry.cpp.

int TestEntry::gradeTo (  )  [static]

Definition at line 165 of file testentry.cpp.

void TestEntry::incBadCount (  ) 

Definition at line 120 of file testentry.cpp.

void TestEntry::incGoodCount (  ) 

Definition at line 86 of file testentry.cpp.

void TestEntry::incSkipKnown (  ) 

Definition at line 104 of file testentry.cpp.

void TestEntry::incSkipUnknown (  ) 

Definition at line 143 of file testentry.cpp.

void TestEntry::incTimeout (  ) 

Definition at line 134 of file testentry.cpp.

TestEntry::ErrorTypes TestEntry::lastErrors (  ) 

Definition at line 181 of file testentry.cpp.

double TestEntry::lastPercentage (  ) 

Definition at line 191 of file testentry.cpp.

void TestEntry::setGradeFrom ( int  from  )  [static]

Definition at line 46 of file testentry.cpp.

void TestEntry::setGradeTo ( int  to  )  [static]

Definition at line 41 of file testentry.cpp.

void TestEntry::setLastErrors ( ErrorTypes  errorTypes  ) 

Definition at line 176 of file testentry.cpp.

void TestEntry::setLastPercentage ( double  percent  ) 

Definition at line 186 of file testentry.cpp.

int TestEntry::statisticBadCount (  ) 

Definition at line 61 of file testentry.cpp.

bool TestEntry::statisticCorrectAtFirstAttempt (  ) 

Definition at line 170 of file testentry.cpp.

int TestEntry::statisticCount (  ) 

Definition at line 56 of file testentry.cpp.

int TestEntry::statisticGoodCount (  ) 

Definition at line 81 of file testentry.cpp.

int TestEntry::statisticSkipKnown (  ) 

Definition at line 66 of file testentry.cpp.

int TestEntry::statisticSkipUnknown (  ) 

Definition at line 71 of file testentry.cpp.

int TestEntry::statisticTimeout (  ) 

Definition at line 76 of file testentry.cpp.

int TestEntry::totalEntries (  ) 

The documentation for this class was generated from the following files:
  • testentry.h
  • testentry.cpp

parley

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

kdeedu

Skip menu "kdeedu"
  •     lib
  • kalzium
  • kanagram
  • kig
  •   lib
  • klettres
  • kstars
  • libkdeedu
  •   keduvocdocument
  • marble
  • parley
  •   stepcore
Generated for kdeedu by doxygen 1.5.9-20090814
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal