• Skip to content
  • Skip to link menu
KDE 4.2 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 dontKnowClicked ()
void knowItClicked ()
void showMoreClicked ()
void showSolution ()
void slotAnswerChanged ()
void verifyClicked ()

Public Member Functions

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

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 37 of file SimpleQueryDlg.cpp.

SimpleQueryDlg::~SimpleQueryDlg (  ) 

Definition at line 68 of file SimpleQueryDlg.cpp.


Member Function Documentation

void SimpleQueryDlg::dontKnowClicked (  )  [slot]

Definition at line 197 of file SimpleQueryDlg.cpp.

void SimpleQueryDlg::knowItClicked (  )  [slot]

Definition at line 191 of file SimpleQueryDlg.cpp.

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 75 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 212 of file SimpleQueryDlg.cpp.

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

Implements PracticeDialog.

Definition at line 53 of file SimpleQueryDlg.h.

void SimpleQueryDlg::showMoreClicked (  )  [slot]

Definition at line 157 of file SimpleQueryDlg.cpp.

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

Let the dialog show the solution.

Implements PracticeDialog.

Definition at line 168 of file SimpleQueryDlg.cpp.

void SimpleQueryDlg::slotAnswerChanged (  )  [slot]

Definition at line 150 of file SimpleQueryDlg.cpp.

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

Implements PracticeDialog.

Definition at line 54 of file SimpleQueryDlg.h.

void SimpleQueryDlg::verifyClicked (  )  [slot]

Definition at line 177 of file SimpleQueryDlg.cpp.


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
  •   lib
  • klettres
  • kstars
  • libkdeedu
  •   keduvocdocument
  •   docs
  •   src
  • parley
  •   stepcore
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