class KJobUiDelegate |
|
The base class for all KJob UI delegate.
An UI delegate is responsible for tracking the progress and the events of a job and provides a UI for them (a dialog with a progress bar, text on the standard output, an error message box etc.). See also KJob |
|
Constructs a new KJobUiDelegate. |
|
Returns whether automatic error handling is enabled or disabled.
See also setAutoErrorHandlingEnabled .
Returns true if automatic error handling is enabled
See also setAutoErrorHandlingEnabled() |
|
Returns whether automatic warning handling is enabled or disabled.
See also setAutoWarningHandlingEnabled .
Returns true if automatic warning handling is enabled
See also setAutoWarningHandlingEnabled() |
|
Retrieves the current job this UI delegate is attached to.
Returns current job this UI delegate is attached to, or 0 if this UI delegate is not tracking any job |
|
Enable or disable the automatic error handling. When automatic
error handling is enabled and an error occurs, then showErrorDialog()
is called, right before the emission of the result signal.
The default is false. See also isAutoErrorHandlingEnabled , showErrorDialog enable - enable or disable automatic error handling See also isAutoErrorHandlingEnabled() |
|
Enable or disable the automatic warning handling. When automatic
warning handling is enabled and an error occurs, then a message box
is displayed with the warning message
The default is true. See also isAutoWarningHandlingEnabled , showErrorDialog enable - enable or disable automatic warning handling See also isAutoWarningHandlingEnabled() |
|
Display a dialog box to inform the user of the error given by this job. Only call if error is not 0, and only in the slot connected to result. |
|