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

parley

TestEntry Class Reference

#include <testentry.h>

List of all members.


Detailed Description

Definition at line 22 of file testentry.h.


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

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 ()
 TestEntry (KEduVocExpression *entry)
int totalEntries ()

Static Public Member Functions

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

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  )  [inline]

Definition at line 43 of file testentry.h.


Member Function Documentation

int TestEntry::answeredCorrectInSequence (  ) 

Definition at line 36 of file testentry.cpp.

KEduVocExpression * TestEntry::entry (  ) 

Definition at line 181 of file testentry.cpp.

int TestEntry::gradeFrom (  )  [static]

Definition at line 145 of file testentry.cpp.

int TestEntry::gradeTo (  )  [static]

Definition at line 150 of file testentry.cpp.

void TestEntry::incBadCount (  ) 

Definition at line 105 of file testentry.cpp.

void TestEntry::incGoodCount (  ) 

Definition at line 71 of file testentry.cpp.

void TestEntry::incSkipKnown (  ) 

Definition at line 89 of file testentry.cpp.

void TestEntry::incSkipUnknown (  ) 

Definition at line 128 of file testentry.cpp.

void TestEntry::incTimeout (  ) 

Definition at line 119 of file testentry.cpp.

TestEntry::ErrorTypes TestEntry::lastErrors (  ) 

Definition at line 166 of file testentry.cpp.

double TestEntry::lastPercentage (  ) 

Definition at line 176 of file testentry.cpp.

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

Definition at line 30 of file testentry.cpp.

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

Definition at line 25 of file testentry.cpp.

void TestEntry::setLastErrors ( ErrorTypes  errorTypes  ) 

Definition at line 161 of file testentry.cpp.

void TestEntry::setLastPercentage ( double  percent  ) 

Definition at line 171 of file testentry.cpp.

int TestEntry::statisticBadCount (  ) 

Definition at line 46 of file testentry.cpp.

bool TestEntry::statisticCorrectAtFirstAttempt (  ) 

Definition at line 155 of file testentry.cpp.

int TestEntry::statisticCount (  ) 

Definition at line 41 of file testentry.cpp.

int TestEntry::statisticGoodCount (  ) 

Definition at line 66 of file testentry.cpp.

int TestEntry::statisticSkipKnown (  ) 

Definition at line 51 of file testentry.cpp.

int TestEntry::statisticSkipUnknown (  ) 

Definition at line 56 of file testentry.cpp.

int TestEntry::statisticTimeout (  ) 

Definition at line 61 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"
  • kalzium
  • kanagram
  • kig
  •   lib
  • klettres
  • kstars
  • libkdeedu
  •   keduvocdocument
  •   docs
  •   src
  • parley
  •   stepcore
Generated for kdeedu by doxygen 1.5.4
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