//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.TQWidget;

/**


*/
public class DefaultProgress extends ProgressBase  {
	protected DefaultProgress(Class dummy){super((Class) null);}
	public native TQMetaObject 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(TQWidget parent, String name) {
		super((Class) null);
		newDefaultProgress(parent,name);
	}
	private native void newDefaultProgress(TQWidget parent, String name);
	public DefaultProgress(TQWidget parent) {
		super((Class) null);
		newDefaultProgress(parent);
	}
	private native void newDefaultProgress(TQWidget parent);
	public native boolean keepOpen();
	public native void slotTotalSize(Job arg1, long size);
	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 speed);
	public native void slotPercent(Job arg1, long percent);
	/**
		 Called to set an information message.
			@param job the TDEIO.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 TDEIO.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 TDEIO.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 TDEIO.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 TDEIO.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);
}
