//Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; import org.kde.qt.Qt; import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; import org.kde.qt.TQObject; import org.kde.qt.TQEvent; import org.kde.qt.TQWidget; /** 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 );
 ...
 
@author Matej Koss @short IO progress widget for embedding in a statusbar. */ public class StatusbarProgress extends ProgressBase { protected StatusbarProgress(Class dummy){super((Class) null);} public native TQMetaObject metaObject(); public native String className(); /** Creates a new StatusbarProgress. @param parent the parent of this widget @param button true to add an abort button. The button will be connected to ProgressBase.slotStop() @short Creates a new StatusbarProgress. */ public StatusbarProgress(TQWidget parent, boolean button) { super((Class) null); newStatusbarProgress(parent,button); } private native void newStatusbarProgress(TQWidget parent, boolean button); public StatusbarProgress(TQWidget parent) { super((Class) null); newStatusbarProgress(parent); } private native void newStatusbarProgress(TQWidget parent); /** Sets the job to monitor. @param job the job to monitor @short Sets the job to monitor. */ public native void setJob(Job job); public native void slotClean(); public native void slotTotalSize(Job job, long size); public native void slotPercent(Job job, long percent); public native void slotSpeed(Job job, long speed); protected native void setMode(); public native boolean eventFilter(TQObject arg1, TQEvent arg2); }