parley
TestEntryManager Class Reference
#include <testentrymanager.h>
Inheritance diagram for TestEntryManager:

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
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 | ( | ) |
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] |
| void TestEntryManager::printStatistics | ( | ) |
| 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:
KDE 4.0 API Reference