parley
SimpleQueryDlg Class Reference
#include <SimpleQueryDlg.h>

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] |
| 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] |
| 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:
KDE 4.2 API Reference