kprogress.h
KDialogBase(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 kdialogbase.cpp:99
bool autoClose()
Returns true if the dialog will close upon completion, or false otherwise.
Definition kprogress.cpp:315
void setAutoReset(bool autoReset)
Sets whether the dialog should reset the KProgress dialog back to 0 steps compelete when all steps ha...
Definition kprogress.cpp:341
bool allowCancel() TDE_DEPRECATED
Returns true if the dialog can be canceled, false otherwise.
Definition kprogress.cpp:273
KProgressDialog(TQWidget *parent=0, const char *name=0, const TQString &caption=TQString::null, const TQString &text=TQString::null, bool modal=false)
Constructs a KProgressDialog.
Definition kprogress.cpp:169
virtual void show()
Reimplemented for internal reasons, the API is not affected.
Definition kprogress.cpp:401
void setMinimumDuration(int ms)
Set the minimum number of milliseconds to wait before actually showing the dialog.
Definition kprogress.cpp:246
TQString buttonText() TDE_DEPRECATED
Returns the text on the cancel button.
Definition kprogress.cpp:353
void setAllowCancel(bool allowCancel)
Sets whether or not the user can cancel the process.
Definition kprogress.cpp:266
bool wasCancelled()
Returns true if the dialog was closed or canceled before completion.
Definition kprogress.cpp:231
bool autoReset()
Returns true if the KProgress widget will be reset upon completion, or false otherwise.
Definition kprogress.cpp:331
void showCancelButton(bool show)
Sets whether the cancel button is visible.
Definition kprogress.cpp:309
void setAutoClose(bool close)
Sets whether the dialog should close automagically when all the steps in the KProgress have been comp...
Definition kprogress.cpp:325
void setButtonText(const TQString &)
Sets the text to appear on the cancel button.
Definition kprogress.cpp:346
int minimumDuration() TDE_DEPRECATED
Returns the wait duration in milliseconds.
Definition kprogress.cpp:256
bool textEnabled() const
Returns true if progress text will be displayed, false otherwise.
Definition kprogress.cpp:107
void setTextEnabled(bool)
If this is set to true, the progress text will be displayed.
Definition kprogress.cpp:102
void setFormat(const TQString &format)
Set the format of the text to use to display status.
Definition kprogress.cpp:112
KProgress(TQWidget *parent=0, const char *name=0, WFlags f=0)
Construct a progress bar.
Definition kprogress.cpp:41
virtual void setProgress(int progress)
Set the current value of the progress bar to progress.
Definition kprogress.cpp:74
void setTotalSteps(int totalSteps)
Set the current total number of steps in the action that the progress bar is representing.
Definition kprogress.cpp:64
void percentageChanged(int)
Emitted when the state of the progress bar changes.
TQString format() const
Retrieve the current format for printing status text.
Definition kprogress.cpp:119
Trinity API Reference