org.kde.koala
public class StatusbarProgress extends ProgressBase
// 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 ); ...
UNKNOWN: IO progress widget for embedding in a statusbar.
Constructor Summary | |
---|---|
protected | StatusbarProgress(Class dummy) |
StatusbarProgress(QWidget parent, boolean button)
Creates a new StatusbarProgress. | |
StatusbarProgress(QWidget parent) |
Method Summary | |
---|---|
String | className() |
boolean | eventFilter(QObject arg1, QEvent arg2) |
QMetaObject | metaObject() |
void | setJob(Job job)
Sets the job to monitor. |
protected void | setMode() |
void | slotClean() |
void | slotPercent(Job job, long percent) |
void | slotSpeed(Job job, long speed) |
void | slotTotalSize(Job job, long size) |
Parameters: parent the parent of this widget button true to add an abort button. The button will be connected to ProgressBase.slotStop()
UNKNOWN: Creates a new StatusbarProgress.
Parameters: job the job to monitor
UNKNOWN: Sets the job to monitor.