blob: 7f3933902e50c36961f0ee0b7a8fc5bc3d9e09df (
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
|
//Auto-generated by kalyptus. DO NOT EDIT.
package org.trinitydesktop.qt;
import org.trinitydesktop.qt.TQt;
/**
See {@link TQNetworkProtocolSignals} for signals emitted by TQNetworkProtocol
*/
public class TQNetworkProtocol extends TQObject {
protected TQNetworkProtocol(Class dummy){super((Class) null);}
public static final int StWaiting = 0;
public static final int StInProgress = 1;
public static final int StDone = 2;
public static final int StFailed = 3;
public static final int StStopped = 4;
public static final int OpListChildren = 1;
public static final int OpMkDir = 2;
public static final int OpMkdir = OpMkDir;
public static final int OpRemove = 4;
public static final int OpRename = 8;
public static final int OpGet = 32;
public static final int OpPut = 64;
public static final int ConHostFound = 0;
public static final int ConConnected = 1;
public static final int ConClosed = 2;
public static final int NoError = 0;
public static final int ErrValid = 1;
public static final int ErrUnknownProtocol = 2;
public static final int ErrUnsupported = 3;
public static final int ErrParse = 4;
public static final int ErrLoginIncorrect = 5;
public static final int ErrHostNotFound = 6;
public static final int ErrListChildren = 7;
public static final int ErrListChlidren = ErrListChildren;
public static final int ErrMkDir = 8;
public static final int ErrMkdir = ErrMkDir;
public static final int ErrRemove = 9;
public static final int ErrRename = 10;
public static final int ErrGet = 11;
public static final int ErrPut = 12;
public static final int ErrFileNotExisting = 13;
public static final int ErrPermissionDenied = 14;
public native TQMetaObject metaObject();
public native String className();
public TQNetworkProtocol() {
super((Class) null);
newTQNetworkProtocol();
}
private native void newTQNetworkProtocol();
public native void setUrl(TQUrlOperator u);
public native void setAutoDelete(boolean b, int i);
public native void setAutoDelete(boolean b);
public native boolean autoDelete();
public native int supportedOperations();
public native void addOperation(TQNetworkOperation op);
public native TQUrlOperator url();
public native TQNetworkOperation operationInProgress();
public native void clearOperationQueue();
public native void stop();
public static native String tr(String arg1, String arg2);
public static native String tr(String arg1);
// void registerNetworkProtocol(const TQString& arg1,TQNetworkProtocolFactoryBase* arg2); >>>> NOT CONVERTED
public static native TQNetworkProtocol getNetworkProtocol(String protocol);
public static native boolean hasOnlyLocalFileSystem();
protected native void processOperation(TQNetworkOperation op);
protected native void operationListChildren(TQNetworkOperation op);
protected native void operationMkDir(TQNetworkOperation op);
protected native void operationRemove(TQNetworkOperation op);
protected native void operationRename(TQNetworkOperation op);
protected native void operationGet(TQNetworkOperation op);
protected native void operationPut(TQNetworkOperation op);
protected native void operationPutChunk(TQNetworkOperation op);
protected native boolean checkConnection(TQNetworkOperation op);
/** Deletes the wrapped C++ instance */
protected native void finalize() throws InternalError;
/** Delete the wrapped C++ instance ahead of finalize() */
public native void dispose();
/** Has the wrapped C++ instance been deleted? */
public native boolean isDisposed();
}
|