parley
#include <testentrymanager.h>
Public Member Functions | |
TestEntryManager (QWidget *parent) | |
~TestEntryManager () | |
int | activeEntryCount () |
QList< TestEntry * > | allTestEntries () |
QList< TestEntry * > | allUnansweredTestEntries () |
QString | currentConjugationTense () |
TestEntry * | getNextEntry () |
QStringList | multipleChoiceAnswers (int numberChoices) |
void | practiceFinished () |
void | practiceStarted () |
void | printStatistics () |
void | removeCurrentEntryFromPractice () |
void | setDocument (KEduVocDocument *doc) |
int | statisticTotalCorrectFirstAttempt () |
int | statisticTotalUnanswered () |
int | statisticTotalWrong () |
int | totalEntryCount () |
int | totalTime () |
Detailed Description
Definition at line 31 of file testentrymanager.h.
Constructor & Destructor Documentation
|
explicit |
Create a collection of entries to be practiced.
- Parameters
-
doc
Definition at line 34 of file testentrymanager.cpp.
TestEntryManager::~TestEntryManager | ( | ) |
Default ctor.
Definition at line 44 of file testentrymanager.cpp.
Member Function Documentation
int TestEntryManager::activeEntryCount | ( | ) |
The number of entries that are still to be practiced.
- Returns
Definition at line 139 of file testentrymanager.cpp.
|
inline |
Get a list of all entries in the test - used by the summary dialog.
Definition at line 91 of file testentrymanager.h.
QList< TestEntry * > TestEntryManager::allUnansweredTestEntries | ( | ) |
Get a list of all unanswered entries in the test.
Definition at line 144 of file testentrymanager.cpp.
QString Practice::TestEntryManager::currentConjugationTense | ( | ) |
TestEntry * TestEntryManager::getNextEntry | ( | ) |
Get the next entry to show to the user.
- Returns
- TestEntry* the entry
Definition at line 188 of file testentrymanager.cpp.
QStringList TestEntryManager::multipleChoiceAnswers | ( | int | numberChoices | ) |
Definition at line 216 of file testentrymanager.cpp.
void TestEntryManager::practiceFinished | ( | ) |
Definition at line 128 of file testentrymanager.cpp.
void TestEntryManager::practiceStarted | ( | ) |
Definition at line 122 of file testentrymanager.cpp.
void TestEntryManager::printStatistics | ( | ) |
Puts some grades on the shell.
Definition at line 105 of file testentrymanager.cpp.
void TestEntryManager::removeCurrentEntryFromPractice | ( | ) |
Finish the currently active entry.
Definition at line 98 of file testentrymanager.cpp.
void TestEntryManager::setDocument | ( | KEduVocDocument * | doc | ) |
Definition at line 50 of file testentrymanager.cpp.
int TestEntryManager::statisticTotalCorrectFirstAttempt | ( | ) |
Finish the given entry.
Definition at line 154 of file testentrymanager.cpp.
int TestEntryManager::statisticTotalUnanswered | ( | ) |
Definition at line 176 of file testentrymanager.cpp.
int TestEntryManager::statisticTotalWrong | ( | ) |
Definition at line 165 of file testentrymanager.cpp.
int TestEntryManager::totalEntryCount | ( | ) |
int TestEntryManager::totalTime | ( | ) |
the time in seconds
Definition at line 116 of file testentrymanager.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:42:06 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.