• Skip to content
  • Skip to link menu
KDE 4.2 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.


Public Types

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

Public Member Functions

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

Static Public Member Functions

static QString gradeStr (int i)

Detailed Description

Definition at line 40 of file testentrymanager.h.


Member Enumeration Documentation

enum TestEntryManager::Result

Enumerator:
Correct 
SkipKnown 
SkipUnknown 
Wrong 
Timeout 
StopPractice 

Definition at line 46 of file testentrymanager.h.


Constructor & Destructor Documentation

TestEntryManager::TestEntryManager ( KEduVocDocument *  doc,
QWidget *  parent = 0 
) [explicit]

Create a collection of entries to be practiced.

Parameters:
doc 

Definition at line 92 of file testentrymanager.cpp.

TestEntryManager::~TestEntryManager (  ) 

Default ctor.

Definition at line 130 of file testentrymanager.cpp.


Member Function Documentation

int TestEntryManager::activeEntryCount (  ) 

The number of entries that are still to be practiced.

Returns:

Definition at line 212 of file testentrymanager.cpp.

void TestEntryManager::filterTestEntries (  ) 

Select appropriate entries for the practice (respect blocking settings etc) m_allTestEntries will be filled by this.

Definition at line 136 of file testentrymanager.cpp.

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

grade int to string (?)

Definition at line 58 of file testentrymanager.cpp.

void TestEntryManager::printStatistics (  ) 

Puts some grades on the shell.

Definition at line 194 of file testentrymanager.cpp.

void TestEntryManager::startPractice (  ) 

Definition at line 150 of file testentrymanager.cpp.

int TestEntryManager::statisticTotalCorrectFirstAttempt (  ) 

Definition at line 217 of file testentrymanager.cpp.

int TestEntryManager::statisticTotalSkipKnown (  ) 

Definition at line 250 of file testentrymanager.cpp.

int TestEntryManager::statisticTotalSkipUnknown (  ) 

Definition at line 261 of file testentrymanager.cpp.

int TestEntryManager::statisticTotalUnanswered (  ) 

Definition at line 239 of file testentrymanager.cpp.

int TestEntryManager::statisticTotalWrong (  ) 

Definition at line 228 of file testentrymanager.cpp.

int TestEntryManager::totalEntryCount (  ) 

The number of entries in the practice.

Returns:

Definition at line 207 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
  •   lib
  • klettres
  • kstars
  • libkdeedu
  •   keduvocdocument
  •   docs
  •   src
  • parley
  •   stepcore
Generated for kdeedu by doxygen 1.5.7
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