class KCompositeJob |
|
|
The base class for all jobs able to be composed of one or more subjobs. |
|
Creates a new KCompositeJob object.
parent - the parent QObject |
|
|
Add a job that has to be finished before a result is emitted. This has obviously to be called before the the result has been emitted by the job.
job - the subjob to add Returns true if the job has been added correctly, false otherwise |
|
Clears the list of subjobs. |
|
Checks if this job has subjobs running. Returns true if we still have subjobs running, false otherwise |
|
Mark a sub job as being done.
job - the subjob to remove Returns true if the job has been removed correctly, false otherwise |
|
Forward signal from subjob.
job - the subjob plain - the info message in plain text version rich - the info message in rich text version See also infoMessage() |
|
Called whenever a subjob finishes. Default implementation checks for errors and propagates to parent job, and in all cases it calls removeSubjob.
job - the subjob |
|
Retrieves the list of the subjobs. Returns the full list of sub jobs |