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

parley

SimpleQueryDlg Class Reference

#include <SimpleQueryDlg.h>

Inheritance diagram for SimpleQueryDlg:

Inheritance graph
[legend]

List of all members.


Detailed Description

Definition at line 32 of file SimpleQueryDlg.h.


Public Slots

void showMoreClicked ()
void showSolution ()
void knowItClicked ()
void dontKnowClicked ()
void slotAnswerChanged ()
void verifyClicked ()

Public Member Functions

 SimpleQueryDlg (KEduVocDocument *doc, QWidget *parent)
 ~SimpleQueryDlg ()
void setEntry (TestEntry *entry)
void setProgressCounter (int current, int total)

Protected Member Functions

void setStatusText (const QString &statusText)
QProgressBar * timebar ()

Protected Attributes

QString answerstring

Constructor & Destructor Documentation

SimpleQueryDlg::SimpleQueryDlg ( KEduVocDocument *  doc,
QWidget *  parent 
)

Definition at line 38 of file SimpleQueryDlg.cpp.

SimpleQueryDlg::~SimpleQueryDlg (  ) 

Definition at line 72 of file SimpleQueryDlg.cpp.


Member Function Documentation

void SimpleQueryDlg::setEntry ( TestEntry *  entry  )  [virtual]

Set an entry to be tested.

Each dialog should reimplement this. You must call this to get the timer started!

Parameters:
entry 

Implements PracticeDialog.

Definition at line 79 of file SimpleQueryDlg.cpp.

void SimpleQueryDlg::setProgressCounter ( int  current,
int  total 
) [virtual]

Informs the dialog of the number of entries to be tested.

Parameters:
current number of answered entries
total number of entries in the test

Implements PracticeDialog.

Definition at line 214 of file SimpleQueryDlg.cpp.

void SimpleQueryDlg::showMoreClicked (  )  [slot]

Definition at line 159 of file SimpleQueryDlg.cpp.

void SimpleQueryDlg::showSolution (  )  [virtual, slot]

Let the dialog show the solution.

Implements PracticeDialog.

Definition at line 170 of file SimpleQueryDlg.cpp.

void SimpleQueryDlg::knowItClicked (  )  [slot]

Definition at line 193 of file SimpleQueryDlg.cpp.

void SimpleQueryDlg::dontKnowClicked (  )  [slot]

Definition at line 199 of file SimpleQueryDlg.cpp.

void SimpleQueryDlg::slotAnswerChanged (  )  [slot]

Definition at line 152 of file SimpleQueryDlg.cpp.

void SimpleQueryDlg::verifyClicked (  )  [slot]

Definition at line 179 of file SimpleQueryDlg.cpp.

void SimpleQueryDlg::setStatusText ( const QString &  statusText  )  [inline, protected, virtual]

Implements PracticeDialog.

Definition at line 53 of file SimpleQueryDlg.h.

QProgressBar* SimpleQueryDlg::timebar (  )  [inline, protected, virtual]

Implements PracticeDialog.

Definition at line 54 of file SimpleQueryDlg.h.


Member Data Documentation

QString SimpleQueryDlg::answerstring [protected]

Definition at line 56 of file SimpleQueryDlg.h.


The documentation for this class was generated from the following files:
  • SimpleQueryDlg.h
  • SimpleQueryDlg.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