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

parley

  • Practice
  • TestEntryManager
Public Member Functions | List of all members
Practice::TestEntryManager Class Reference

#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

TestEntryManager::TestEntryManager ( QWidget *  parent)
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.

QList<TestEntry*> Practice::TestEntryManager::allTestEntries ( )
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 ( )

The number of entries in the practice.

Returns

Definition at line 134 of file testentrymanager.cpp.

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:
  • testentrymanager.h
  • testentrymanager.cpp
This file is part of the KDE documentation.
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.

parley

Skip menu "parley"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdeedu API Reference

Skip menu "kdeedu API Reference"
  • Analitza
  •     lib
  • kalgebra
  • kalzium
  •   libscience
  • kanagram
  • kig
  •   lib
  • klettres
  • kstars
  • libkdeedu
  •   keduvocdocument
  • marble
  • parley
  • rocs
  •   App
  •   RocsCore
  •   VisualEditor
  •   stepcore

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal