28 #ifndef _KProgressBox_H
29 #define _KProgressBox_H "$Id: KProgressBox.h 589356 2006-09-28 00:58:09Z tpearson $"
31 #include <tqprogressbar.h>
32 #include <kdialogbase.h>
33 #include <kprogress.h>
34 #include <ktextedit.h>
69 const TQString& caption = TQString::null,
70 const TQString& text = TQString::null,
111 void setLabel(
const TQString & text);
118 TQString labelText() TDE_DEPRECATED;
123 TQString labelText()
const;
134 void setAllowCancel(
bool allowCancel);
141 void setAllowTextEdit(
bool allowTextEdit);
148 bool allowCancel() TDE_DEPRECATED;
153 bool allowCancel()
const;
161 void showCancelButton(
bool show);
167 void setAutoClose(
bool close);
180 bool autoClose()
const;
187 void setAutoReset(
bool autoReset);
200 bool autoReset()
const;
215 bool wasCancelled()
const;
235 TQString buttonText() TDE_DEPRECATED;
240 TQString buttonText()
const;
246 void setMinimumDuration(
int ms);
253 int minimumDuration() TDE_DEPRECATED;
258 int minimumDuration()
const;
267 void slotAutoActions(
int percentage);
278 TQString mCancelText;
285 virtual void virtual_hook(
int id,
void* data );
287 struct KProgressBoxDialogPrivate;
288 KProgressBoxDialogPrivate *d;
A dialog base class with standard buttons and predefined layouts.
virtual void slotCancel()
Activated when the Cancel button has been clicked.
void setButtonText(ButtonCode id, const TQString &text)
Sets the text of any button.
KProgressBoxDialog provides a dialog with a text label, a progress bar and an optional cancel button ...
A progress indicator widget.