|
|
This is a special IO progress widget.
Similarly to KIOSimpleProgressDlg and KIOListProgressDlg, 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 KIOLittleProgressDialog is little different. This dialog will be a part of some application.
// create a dialog KIOLittleProgressDlg *littleProgress; littleProgress = new KIOLittleProgressDlg( statusBar() ); statusBar()->insertWidget( littleProgress, littleProgress->width() , 0 ); ... // create KIOJob and set the progress KIOJob* job; job->setGUImode( KIOJob::CUSTOM ); job->setProgressDlg( littleProgress ); ...