summaryrefslogtreecommitdiffstats
path: root/kdejava/koala/org/kde/koala/DefaultProgress.java
blob: 1cd0064515ca5e49a77e66f08954d440a37a0e0d (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
105
106
107
108
109
//Auto-generated by kalyptus. DO NOT EDIT.
package org.kde.koala;

import org.kde.qt.Qt;
import org.kde.qt.QMetaObject;
import org.kde.qt.QtSupport;
import org.kde.qt.QWidget;

/**


*/
public class DefaultProgress extends ProgressBase  {
	protected DefaultProgress(Class dummy){super((Class) null);}
	public native QMetaObject 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(QWidget parent, String name) {
		super((Class) null);
		newDefaultProgress(parent,name);
	}
	private native void newDefaultProgress(QWidget parent, String name);
	public DefaultProgress(QWidget parent) {
		super((Class) null);
		newDefaultProgress(parent);
	}
	private native void newDefaultProgress(QWidget 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 KIO.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 KIO.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 KIO.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 KIO.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 KIO.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);
}