class KAbstractWidgetJobTrackerabstract class |
|
|
The base class for widget based job trackers. |
|
Creates a new KAbstractWidgetJobTracker
parent - the parent of this object and of the widget displaying the job progresses |
|
Checks whether the dialog should be deleted or cleaned. Returns false if the dialog only calls slotClean, true if it will be deleted See also setAutoDelete() |
|
Internal |
|
Called when a job is finished, in any case. It is used to notify that the job is terminated and that progress UI (if any) can be hidden.
job - the job that emitted this signal |
|
Register a new job in this tracker. Note that job trackers inheriting from this class can have only one job registered at a time.
job - the job to register |
|
Emitted when the user resumed the operation |
|
This controls whether the dialog should be deleted or only cleaned when the KJob is finished (or canceled). If your dialog is an embedded widget and not a separate window, you should setAutoDelete(false) in the constructor of your custom dialog.
autoDelete - If false the dialog will only call method slotClean. If true the dialog will be deleted. See also autoDelete() |
|
This controls whether the job should be canceled if the dialog is closed.
stopOnClose - If true the job will be stopped if the dialog is closed, otherwise the job will continue even on close. See also stopOnClose() |
|
This method is called when the widget should be cleaned (after job is finished). redefine this for custom behavior. |
|
This method should be called for pause/resume Connect this to the progress widgets buttons etc. |
|
This method should be called for correct cancellation of IO operation Connect this to the progress widgets buttons etc. |
|
This method should be called for pause/resume Connect this to the progress widgets buttons etc. |
|
Checks whether the job will be killed when the dialog is closed. Returns true if the job is killed on close event, false otherwise. See also setStopOnClose() |
|
Emitted when the user aborted the operation |
|
Emitted when the user suspended the operation |
|
Unregister a job from this tracker.
job - the job to unregister |
|
The widget associated to this tracker. Returns the widget displaying the job progresses |