parley
MCInput Class Reference
The widget that provides a multiple choice-style user input method. More...
#include <mcinput.h>
Inheritance diagram for MCInput:

Public Slots | |
| void | slotEmitAnswer () |
| void | slotSetChoices (const QStringList &choices) |
| void | slotShortcutTriggered (int shortcutNumber) |
| void | slotShowHint (const QString &solution) |
| void | slotShowSolution (const QString &solution) |
Signals | |
| void | signalAnswer (const QString &answer) |
| void | triggered () |
Public Member Functions | |
| MCInput (KSvgRenderer *renderer, ActiveArea *area, const QString &elementId, QWidget *parent=0) | |
Detailed Description
The widget that provides a multiple choice-style user input method.
Definition at line 37 of file mcinput.h.
Constructor & Destructor Documentation
| MCInput::MCInput | ( | KSvgRenderer * | renderer, | |
| ActiveArea * | area, | |||
| const QString & | elementId, | |||
| QWidget * | parent = 0 | |||
| ) |
Definition at line 38 of file mcinput.cpp.
Member Function Documentation
| void MCInput::signalAnswer | ( | const QString & | answer | ) | [signal] |
Gives the users answer.
| void MCInput::slotEmitAnswer | ( | ) | [slot] |
Emits the currently selected answer using signalAnswer().
Definition at line 125 of file mcinput.cpp.
| void MCInput::slotSetChoices | ( | const QStringList & | choices | ) | [slot] |
Sets the QRadioButton choices to the.
- Parameters:
-
choices.
Definition at line 90 of file mcinput.cpp.
| void MCInput::slotShortcutTriggered | ( | int | shortcutNumber | ) | [slot] |
Checks to see if the given shortcut was valid, and if so, emits triggered().
Definition at line 52 of file mcinput.cpp.
| void MCInput::slotShowHint | ( | const QString & | solution | ) | [slot] |
| void MCInput::slotShowSolution | ( | const QString & | solution | ) | [slot] |
| void MCInput::triggered | ( | ) | [signal] |
Signals that a shortcut was successfully triggered.
The documentation for this class was generated from the following files:
KDE 4.2 API Reference