//Auto-generated by kalyptus. DO NOT EDIT.
package org.trinitydesktop.koala;

import org.trinitydesktop.qt.Qt;
import org.trinitydesktop.qt.TQMetaObject;
import org.trinitydesktop.qt.QtSupport;
import org.trinitydesktop.qt.TQObject;
import org.trinitydesktop.qt.TQEvent;
import org.trinitydesktop.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.
 <pre>
 // 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 = TDEIO.copy(...);
 statusProgress.setJob( job );
 ...
 </pre>
		@author Matej Koss <koss@miesto.sk>

		@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);
}
