21 #ifndef _KTIMERDIALOG_H_
22 #define _KTIMERDIALOG_H_
24 #include <kdialogbase.h>
71 const char *name=0,
bool modal=
true,
72 const TQString &caption=TQString::null,
73 int buttonMask=Ok|Apply|Cancel, ButtonCode defaultButton=Ok,
75 const KGuiItem &user1=KGuiItem(),
76 const KGuiItem &user2=KGuiItem(),
77 const KGuiItem &user3=KGuiItem() );
138 void slotUpdateTime(
bool update =
true );
143 void slotInternalTimeout();
152 TQTimer *updateTimer;
153 int msecRemaining, updateInterval, msecTotal;
155 ButtonCode buttonOnTimeout;
159 TQProgressBar *timerProgress;
163 class KTimerDialogPrivate;
164 KTimerDialogPrivate *d;