ktimerdialog.h
Provides a dialog that is only available for a specified amount of time, and reports the time remaini...
Definition: ktimerdialog.h:46
void setTimeoutButton(ButtonCode newButton)
Sets the ButtonCode to determine which button will be activated once the timer times out.
Definition: ktimerdialog.cpp:123
KTimerDialog(int msec, TimerStyle style=CountDown, TQWidget *parent=0, const char *name=0, bool modal=true, const TQString &caption=TQString::null, int buttonMask=Ok|Apply|Cancel, ButtonCode defaultButton=Ok, bool separator=false, const KGuiItem &user1=KGuiItem(), const KGuiItem &user2=KGuiItem(), const KGuiItem &user3=KGuiItem())
Constructor for the standard mode where you must specify the main widget with setMainWidget() .
Definition: ktimerdialog.cpp:38
void setMainWidget(TQWidget *widget)
Overridden function which is used to set the main widget of the dialog.
Definition: ktimerdialog.cpp:93
void setRefreshInterval(int msec)
Set the refresh interval for the timer progress.
Definition: ktimerdialog.cpp:111
int timeoutButton() const
Retrieves the ButtonCode which will be activated once the timer times out.
Definition: ktimerdialog.cpp:118