org.kde.koala

Interface CopyJobSignals

public interface CopyJobSignals

Method Summary
voidcopying(Job job, KURL from, KURL to)
The job is copying a file or directory.
voidcopyingDone(Job job, KURL from, KURL to, boolean directory, boolean renamed)
The job emits this signal when copying or moving a file or directory successfully finished.
voidcopyingLinkDone(Job job, KURL from, String target, KURL to)
The job is copying or moving a symbolic link, that points to target.
voidcreatingDir(Job job, KURL dir)
The job is creating the directory dir.
voidlinking(Job job, String target, KURL to)
The job is creating a symbolic link.
voidmoving(Job job, KURL from, KURL to)
The job is moving a file or directory.
voidprocessedDirs(Job job, long dirs)
Sends the number of processed directories.
voidprocessedFiles(Job job, long files)
Sends the number of processed files.
voidrenamed(Job job, KURL from, KURL to)
The user chose to rename from to to.
voidtotalDirs(Job job, long dirs)
Emitted when the toal number of direcotries is known.
voidtotalFiles(Job job, long files)
Emitted when the total number of files is known.

Method Detail

copying

public void copying(Job job, KURL from, KURL to)
The job is copying a file or directory.

Parameters: job the job that emitted this signal from the URl of the file or directory that is currently being copied to the destination of the current operation

UNKNOWN: The job is copying a file or directory.

copyingDone

public void copyingDone(Job job, KURL from, KURL to, boolean directory, boolean renamed)
The job emits this signal when copying or moving a file or directory successfully finished. This signal is mainly for the Undo feature.

Parameters: job the job that emitted this signal from the source URL to the destination URL directory indicates whether a file or directory was successfully copied/moved. true for a directoy, false for file renamed indicates that the destination URL was created using a rename operation (i.e. fast directory moving). true if is has been renamed

UNKNOWN: The job emits this signal when copying or moving a file or directory successfully finished.

copyingLinkDone

public void copyingLinkDone(Job job, KURL from, String target, KURL to)
The job is copying or moving a symbolic link, that points to target. The new link is created in to. The existing one is/was in from. This signal is mainly for the Undo feature.

Parameters: job the job that emitted this signal from the source URL target the target to the destination URL

UNKNOWN: The job is copying or moving a symbolic link, that points to target.

creatingDir

public void creatingDir(Job job, KURL dir)
The job is creating the directory dir.

Parameters: job the job that emitted this signal dir the directory that is currently being created

UNKNOWN: The job is creating the directory dir.

linking

public void linking(Job job, String target, KURL to)
The job is creating a symbolic link.

Parameters: job the job that emitted this signal target the URl of the file or directory that is currently being linked to the destination of the current operation

UNKNOWN: The job is creating a symbolic link.

moving

public void moving(Job job, KURL from, KURL to)
The job is moving a file or directory.

Parameters: job the job that emitted this signal from the URl of the file or directory that is currently being moved to the destination of the current operation

UNKNOWN: The job is moving a file or directory.

processedDirs

public void processedDirs(Job job, long dirs)
Sends the number of processed directories.

Parameters: job the job that emitted this signal dirs the number of processed dirs

UNKNOWN: Sends the number of processed directories.

processedFiles

public void processedFiles(Job job, long files)
Sends the number of processed files.

Parameters: job the job that emitted this signal files the number of processed files

UNKNOWN: Sends the number of processed files.

renamed

public void renamed(Job job, KURL from, KURL to)
The user chose to rename from to to.

Parameters: job the job that emitted this signal from the original name to the new name

UNKNOWN: The user chose to rename from to to.

totalDirs

public void totalDirs(Job job, long dirs)
Emitted when the toal number of direcotries is known.

Parameters: job the job that emitted this signal dirs the total number of directories

UNKNOWN: Emitted when the toal number of direcotries is known.

totalFiles

public void totalFiles(Job job, long files)
Emitted when the total number of files is known.

Parameters: job the job that emitted this signal files the total number of files

UNKNOWN: Emitted when the total number of files is known.