You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
105 lines
4.1 KiB
105 lines
4.1 KiB
//Auto-generated by kalyptus. DO NOT EDIT.
|
|
package org.kde.koala;
|
|
|
|
import org.kde.qt.QMetaObject;
|
|
import org.kde.qt.QtSupport;
|
|
import java.util.ArrayList;
|
|
|
|
public interface CopyJobSignals {
|
|
/**
|
|
Emitted when the total number of files is known.
|
|
@param job the job that emitted this signal
|
|
@param files the total number of files
|
|
@short Emitted when the total number of files is known.
|
|
*/
|
|
void totalFiles(Job job, long files);
|
|
/**
|
|
Emitted when the toal number of direcotries is known.
|
|
@param job the job that emitted this signal
|
|
@param dirs the total number of directories
|
|
@short Emitted when the toal number of direcotries is known.
|
|
*/
|
|
void totalDirs(Job job, long dirs);
|
|
// void aboutToCreate(KIO::Job* arg1,const QValueList<KIO::CopyInfo>& arg2); >>>> NOT CONVERTED
|
|
/**
|
|
Sends the number of processed files.
|
|
@param job the job that emitted this signal
|
|
@param files the number of processed files
|
|
@short Sends the number of processed files.
|
|
*/
|
|
void processedFiles(Job job, long files);
|
|
/**
|
|
Sends the number of processed directories.
|
|
@param job the job that emitted this signal
|
|
@param dirs the number of processed dirs
|
|
@short Sends the number of processed directories.
|
|
*/
|
|
void processedDirs(Job job, long dirs);
|
|
/**
|
|
The job is copying a file or directory.
|
|
@param job the job that emitted this signal
|
|
@param from the URl of the file or directory that is currently
|
|
being copied
|
|
@param to the destination of the current operation
|
|
@short The job is copying a file or directory.
|
|
*/
|
|
void copying(Job job, KURL from, KURL to);
|
|
/**
|
|
The job is creating a symbolic link.
|
|
@param job the job that emitted this signal
|
|
@param target the URl of the file or directory that is currently
|
|
being linked
|
|
@param to the destination of the current operation
|
|
@short The job is creating a symbolic link.
|
|
*/
|
|
void linking(Job job, String target, KURL to);
|
|
/**
|
|
The job is moving a file or directory.
|
|
@param job the job that emitted this signal
|
|
@param from the URl of the file or directory that is currently
|
|
being moved
|
|
@param to the destination of the current operation
|
|
@short The job is moving a file or directory.
|
|
*/
|
|
void moving(Job job, KURL from, KURL to);
|
|
/**
|
|
The job is creating the directory <code>dir.</code>
|
|
@param job the job that emitted this signal
|
|
@param dir the directory that is currently being created
|
|
@short The job is creating the directory <code>dir.</code>
|
|
*/
|
|
void creatingDir(Job job, KURL dir);
|
|
/**
|
|
The user chose to rename <code>from</code> to <code>to.</code>
|
|
@param job the job that emitted this signal
|
|
@param from the original name
|
|
@param to the new name
|
|
@short The user chose to rename <code>from</code> to <code>to.</code>
|
|
*/
|
|
void renamed(Job job, KURL from, KURL to);
|
|
/**
|
|
The job emits this signal when copying or moving a file or directory successfully finished.
|
|
This signal is mainly for the Undo feature.
|
|
@param job the job that emitted this signal
|
|
@param from the source URL
|
|
@param to the destination URL
|
|
@param directory indicates whether a file or directory was successfully copied/moved.
|
|
true for a directoy, false for file
|
|
@param renamed indicates that the destination URL was created using a
|
|
rename operation (i.e. fast directory moving). true if is has been renamed
|
|
@short The job emits this signal when copying or moving a file or directory successfully finished.
|
|
*/
|
|
void copyingDone(Job job, KURL from, KURL to, boolean directory, boolean renamed);
|
|
/**
|
|
The job is copying or moving a symbolic link, that points to target.
|
|
The new link is created in <code>to.</code> The existing one is/was in <code>from.</code>
|
|
This signal is mainly for the Undo feature.
|
|
@param job the job that emitted this signal
|
|
@param from the source URL
|
|
@param target the target
|
|
@param to the destination URL
|
|
@short The job is copying or moving a symbolic link, that points to target.
|
|
*/
|
|
void copyingLinkDone(Job job, KURL from, String target, KURL to);
|
|
}
|