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

import org.kde.qt.Qt;
import org.kde.qt.QMetaObject;
import org.kde.qt.QtSupport;
import org.kde.qt.QWidget;

/**


*/
public class DefaultProgress extends ProgressBase  {
	protected DefaultProgress(Class dummy){super((Class) null);}
	public native QMetaObject metaObject();
	public native String className();
	/**	
		 Creates a new default progress dialog.
			@param showNow true to show immediately, false to show when
		                needed
		   		@short    Creates a new default progress dialog.
	*/
	public DefaultProgress(boolean showNow) {
		super((Class) null);
		newDefaultProgress(showNow);
	}
	private native void newDefaultProgress(boolean showNow);
	public DefaultProgress() {
		super((Class) null);
		newDefaultProgress();
	}
	private native void newDefaultProgress();
	/**	
		 Creates a new default progress dialog.
			@param parent the parent of the dialog (or 0 for top-level)
			@param the name of the dialog, can be 0
				@short    Creates a new default progress dialog.
	*/
	public DefaultProgress(QWidget parent, String name) {
		super((Class) null);
		newDefaultProgress(parent,name);
	}
	private native void newDefaultProgress(QWidget parent, String name);
	public DefaultProgress(QWidget parent) {
		super((Class) null);
		newDefaultProgress(parent);
	}
	private native void newDefaultProgress(QWidget parent);
	public native boolean keepOpen();
	public native void slotTotalSize(Job arg1, long bytes);
	public native void slotTotalFiles(Job arg1, long files);
	public native void slotTotalDirs(Job arg1, long dirs);
	public native void slotProcessedSize(Job arg1, long bytes);
	public native void slotProcessedFiles(Job arg1, long files);
	public native void slotProcessedDirs(Job arg1, long dirs);
	public native void slotSpeed(Job arg1, long bytes_per_second);
	public native void slotPercent(Job arg1, long percent);
	/**	
		 Called to set an information message.
			@param job the KIO.Job
			@param msg the message to set
		   		@short    Called to set an information message.
	*/
	public native void slotInfoMessage(Job job, String msg);
	public native void slotCopying(Job arg1, KURL src, KURL dest);
	public native void slotMoving(Job arg1, KURL src, KURL dest);
	public native void slotDeleting(Job arg1, KURL url);
	/**	
		 Called when the job is transferring.
			@param job the KIO.Job
			@param url the url to transfer
				@short    Called when the job is transferring.
	*/
	public native void slotTransferring(Job arg1, KURL url);
	public native void slotCreatingDir(Job arg1, KURL dir);
	/**	
		 Called when the job is requesting a stat.
			@param job the KIO.Job
			@param dir the dir to stat
				@short    Called when the job is requesting a stat.
	*/
	public native void slotStating(Job arg1, KURL dir);
	/**	
		 Called when the job is mounting.
			@param job the KIO.Job
			@param dev the device to mount
			@param point the mount point
		   		@short    Called when the job is mounting.
	*/
	public native void slotMounting(Job arg1, String dev, String point);
	/**	
		 Called when the job is unmounting.
			@param job the KIO.Job
			@param point the mount point
		   		@short    Called when the job is unmounting.
	*/
	public native void slotUnmounting(Job arg1, String point);
	public native void slotCanResume(Job arg1, long arg2);
	/**	
		 Called when the job is cleaned.
				@short    Called when the job is cleaned.
	*/
	public native void slotClean();
	public static native String makePercentString(long percent, long totalSize, long totalFiles);
	protected native void init();
	protected native void showTotals();
	protected native void setDestVisible(boolean visible);
	protected native void checkDestination(KURL dest);
}
