summaryrefslogtreecommitdiffstats
path: root/kdejava/koala/org/kde/koala/CopyJobSignals.java
blob: bad5d24728b5a325de93168092f4d5a8e8d76fab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
//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);
}