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

parley

TestEntryManager Class Reference

#include <testentrymanager.h>

Inheritance diagram for TestEntryManager:

Inheritance graph
[legend]

List of all members.


Detailed Description

Definition at line 42 of file testentrymanager.h.


Public Types

enum  Result {
  Correct, SkipKnown, SkipUnknown, Wrong,
  Timeout, StopPractice
}

Public Member Functions

 TestEntryManager (KEduVocDocument *doc, QObject *parent=0)
 ~TestEntryManager ()
void startPractice ()
int totalEntryCount ()
int activeEntryCount ()
void printStatistics ()
int statisticTotalCorrectFirstAttempt ()
int statisticTotalWrong ()
int statisticTotalUnanswered ()
int statisticTotalSkipKnown ()
int statisticTotalSkipUnknown ()

Static Public Member Functions

static QString gradeStr (int i)

Member Enumeration Documentation

enum TestEntryManager::Result

Enumerator:
Correct 
SkipKnown 
SkipUnknown 
Wrong 
Timeout 
StopPractice 

Definition at line 48 of file testentrymanager.h.


Constructor & Destructor Documentation

TestEntryManager::TestEntryManager ( KEduVocDocument *  doc,
QObject *  parent = 0 
)

Create a collection of entries to be practiced.

Parameters:
doc 

Todo:
reuse the above - make it a function?

Todo:
separate the tests to show better info here. take blocking etc into account for tests other than written/mc.

Definition at line 91 of file testentrymanager.cpp.

TestEntryManager::~TestEntryManager (  ) 

Default ctor.

Definition at line 260 of file testentrymanager.cpp.


Member Function Documentation

void TestEntryManager::startPractice (  ) 

Definition at line 267 of file testentrymanager.cpp.

int TestEntryManager::totalEntryCount (  ) 

The number of entries in the practice.

Returns:

Definition at line 416 of file testentrymanager.cpp.

int TestEntryManager::activeEntryCount (  ) 

The number of entries that are still to be practiced.

Returns:

Definition at line 421 of file testentrymanager.cpp.

QString TestEntryManager::gradeStr ( int  i  )  [static]

grade int to string (?)

Definition at line 57 of file testentrymanager.cpp.

void TestEntryManager::printStatistics (  ) 

Puts some grades on the shell.

Definition at line 403 of file testentrymanager.cpp.

int TestEntryManager::statisticTotalCorrectFirstAttempt (  ) 

Definition at line 483 of file testentrymanager.cpp.

int TestEntryManager::statisticTotalWrong (  ) 

Definition at line 494 of file testentrymanager.cpp.

int TestEntryManager::statisticTotalUnanswered (  ) 

Definition at line 505 of file testentrymanager.cpp.

int TestEntryManager::statisticTotalSkipKnown (  ) 

Definition at line 516 of file testentrymanager.cpp.

int TestEntryManager::statisticTotalSkipUnknown (  ) 

Definition at line 527 of file testentrymanager.cpp.


The documentation for this class was generated from the following files:
  • testentrymanager.h
  • testentrymanager.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
  • klettres
  • kstars
  • libkdeedu
  •   keduvocdocument
  •   docs
  •   src
  • parley
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