//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 java.util.ArrayList;

/**

 CopyJob is used to move, copy or symlink files and directories.
 Don't create the job directly, but use TDEIO.copy(),
 TDEIO.move(), TDEIO.link() and friends.
 See {@link CopyJobSignals} for signals emitted by CopyJob
		@short    CopyJob is used to move, copy or symlink files and directories.
		@see #copy
		@see #copyAs
		@see #move
		@see #moveAs
		@see #link
		@see #linkAs

*/
public class CopyJob extends Job  {
	protected CopyJob(Class dummy){super((Class) null);}
	public native TQMetaObject metaObject();
	public native String className();
	/**
		 Do not create a CopyJob directly. Use TDEIO.copy(),
		 TDEIO.move(), TDEIO.link() and friends instead.
			@param src the list of source URLs
			@param dest the destination URL
			@param mode specifies whether the job should copy, move or link
			@param asMethod if true, behaves like TDEIO.copyAs(),
		 TDEIO.moveAs() or TDEIO.linkAs()
			@param showProgressInfo true to show progress information to the user
				@short    Do not create a CopyJob directly.
		@see #copy
		@see #copyAs
		@see #move
		@see #moveAs
		@see #link
		@see #linkAs
	*/
	// TDEIO::CopyJob* CopyJob(const KURL::List& arg1,const KURL& arg2,TDEIO::CopyJob::CopyMode arg3,bool arg4,bool arg5); >>>> NOT CONVERTED
	/**
		 Returns the list of source URLs.
				@return the list of source URLs.

		@short    Returns the list of source URLs.
	*/
	public native ArrayList srcURLs();
	/**
		 Returns the destination URL.
				@return the destination URL

		@short    Returns the destination URL.
	*/
	public native KURL destURL();
	/**
		 By default the permissions of the copied files will be those of the source files.
			 But when copying "template" files to "new" files, people prefer the umask
		 to apply, rather than the template's permissions.
		 For that case, call setDefaultPermissions(true)
			 TODO KDE4: consider adding this as boolean to copy/copyAs?
				@short    By default the permissions of the copied files will be those of the source files.
	*/
	public native void setDefaultPermissions(boolean b);
	/**
		 When an error happens while copying/moving a file, the user will be presented with
		 a dialog for skipping the file that can't be copied/moved.
		 Or if the error is that the destination file already exists, the standard
		 rename dialog is shown.
		 If the program doesn't want CopyJob to show dialogs, but to simply fail on error,
		 call setInteractive( false ).
			 KDE4: remove, already in Job
				@short    When an error happens while copying/moving a file, the user will be presented with  a dialog for skipping the file that can't be copied/moved.
	*/
	public native void setInteractive(boolean b);
}
