class KJobTrackerInterface |
|
|
The interface to implement to track the progresses of a job. |
|
Creates a new KJobTrackerInterface
parent - the parent object |
|
Called to display general description of a job. A description has a title and two optional fields which can be used to complete the description. Examples of titles are "Copying", "Creating resource", etc. The fields of the description can be "Source" with an URL, and, "Destination" with an URL for a "Copying" description. job - the job that emitted this signal title - the general description of the job field1 - first field (localized name and value) field2 - second field (localized name and value) |
|
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 |
|
Called to display state information about a job. Examples of message are "Resolving host", "Connecting to host...", etc.
job - the job that emitted this signal plain - the info message rich - the rich text version of the message, or QString() is none is available |
|
Called to show the overall progress of the job. Note that this is not called for finished jobs.
job - the job that emitted this signal percent - the percentage |
|
Regularly called to show the progress of a job by giving the current amount. The unit of this amount is provided too. It can be called several times for a given job if the job manages several different units.
job - the job that emitted this signal unit - the unit of the processed amount amount - the processed amount |
|
Register a new job in this tracker.
job - the job to register |
|
Called when a job is resumed.
job - the job that emitted this signal |
|
Called to show the speed of the job.
job - the job that emitted this signal value - the current speed of the job |
|
Called when a job is suspended.
job - the job that emitted this signal |
|
Called when we know the amount a job will have to process. The unit of this amount is provided too. It can be called several times for a given job if the job manages several different units.
job - the job that emitted this signal unit - the unit of the total amount amount - the total amount |
|
Unregister a job from this tracker.
job - the job to unregister |
|
Emitted to display a warning about a job.
job - the job that emitted this signal plain - the warning message rich - the rich text version of the message, or QString() is none is available |