keduca
KQuestion Class Reference
Question view The Widget that is used to display the Question. More...
#include <kquestion.h>
Inheritance diagram for KQuestion:

Public Member Functions | |
void | countdown (int starttime) |
void | countdownVisible (bool visible) |
int | getCurrentTime () |
KQuestion (QWidget *parent=0, const char *name=0) | |
void | setPixmap (const QPixmap pixmap) |
void | setText (const QString &text) |
~KQuestion () |
Detailed Description
Question view The Widget that is used to display the Question.
Definition at line 33 of file kquestion.h.
Constructor & Destructor Documentation
KQuestion::KQuestion | ( | QWidget * | parent = 0 , |
|
const char * | name = 0 | |||
) |
Definition at line 30 of file kquestion.cpp.
KQuestion::~KQuestion | ( | ) |
Definition at line 36 of file kquestion.cpp.
Member Function Documentation
void KQuestion::countdown | ( | int | starttime | ) |
show a countdown, starting at "starttime" and counting down to 0, each second one count.
0 disables the countdown.
Definition at line 78 of file kquestion.cpp.
void KQuestion::countdownVisible | ( | bool | visible | ) |
Definition at line 111 of file kquestion.cpp.
int KQuestion::getCurrentTime | ( | ) |
void KQuestion::setPixmap | ( | const QPixmap | pixmap | ) |
void KQuestion::setText | ( | const QString & | text | ) |
The documentation for this class was generated from the following files: