|
|
This is a special IO progress widget.
Similarly to DefaultProgress, it's purpose is to show a progress of the IO operation.
Instead of creating a separate window, this is only a widget that can be easily embedded in a statusbar.
Usage of StatusbarProgress is little different. This dialog will be a part of some application.
// create a dialog StatusbarProgress *statusProgress; statusProgress = new StatusbarProgress( statusBar() ); statusBar()->insertWidget( statusProgress, statusProgress->width() , 0 ); ... // create job and connect it to the progress CopyJob* job = KIO::copy(...); statusProgress->setJob( job ); ...