blob: 0a27feec94bca388c940ba5e1052881f4ca12d8a (
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
|
//Auto-generated by kalyptus. DO NOT EDIT.
package org.kde.qt;
import org.kde.qt.Qt;
public class QTextStream implements QtSupport {
private long _qt;
private boolean _allocatedInJavaWorld = true;
protected QTextStream(Class dummy){}
public static final int skipws = 0x0001;
public static final int left = 0x0002;
public static final int right = 0x0004;
public static final int internal = 0x0008;
public static final int bin = 0x0010;
public static final int oct = 0x0020;
public static final int dec = 0x0040;
public static final int hex = 0x0080;
public static final int showbase = 0x0100;
public static final int showpoint = 0x0200;
public static final int uppercase = 0x0400;
public static final int showpos = 0x0800;
public static final int scientific = 0x1000;
public static final int fixed = 0x2000;
public static final int Locale = 0;
public static final int Latin1 = 1;
public static final int Unicode = 2;
public static final int UnicodeNetworkOrder = 3;
public static final int UnicodeReverse = 4;
public static final int RawUnicode = 5;
public static final int UnicodeUTF8 = 6;
public native void setEncoding(int arg1);
public native void setCodec(QTextCodec arg1);
public native QTextCodec codec();
public QTextStream() {
newQTextStream();
}
private native void newQTextStream();
public QTextStream(QIODeviceInterface arg1) {
newQTextStream(arg1);
}
private native void newQTextStream(QIODeviceInterface arg1);
public QTextStream(StringBuffer arg1, int mode) {
newQTextStream(arg1,mode);
}
private native void newQTextStream(StringBuffer arg1, int mode);
public QTextStream(byte[] arg1, int mode) {
newQTextStream(arg1,mode);
}
private native void newQTextStream(byte[] arg1, int mode);
public native QIODeviceInterface device();
public native void setDevice(QIODeviceInterface arg1);
public native void unsetDevice();
public native boolean atEnd();
public native boolean eof();
public native QTextStream op_read(char arg1);
// QTextStream& op_read(signed short& arg1); >>>> NOT CONVERTED
public native QTextStream op_read(short arg1);
// QTextStream& op_read(signed int& arg1); >>>> NOT CONVERTED
public native QTextStream op_read(int arg1);
// QTextStream& op_read(signed long& arg1); >>>> NOT CONVERTED
public native QTextStream op_read(long arg1);
public native QTextStream op_read(float arg1);
public native QTextStream op_read(double arg1);
public native QTextStream op_read(String arg1);
public native QTextStream op_read(StringBuffer arg1);
public native QTextStream op_write(char arg1);
public native QTextStream op_write(short arg1);
// QTextStream& op_write(signed arg1); >>>> NOT CONVERTED
public native QTextStream op_write(int arg1);
public native QTextStream op_write(long arg1);
public native QTextStream op_write(float arg1);
public native QTextStream op_write(double arg1);
public native QTextStream op_write(String arg1);
// QTextStream& op_write(void* arg1); >>>> NOT CONVERTED
public native QTextStream readRawBytes(String arg1, int len);
public native QTextStream writeRawBytes(String arg1, int len);
public native String readLine();
public native String read();
public native void skipWhiteSpace();
public native int flags();
public native int flags(int f);
public native int setf(int bits);
public native int setf(int bits, int mask);
public native int unsetf(int bits);
public native void reset();
public native int width();
public native int width(int arg1);
public native int fill();
public native int fill(int arg1);
public native int precision();
public native int precision(int arg1);
/** 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();
}
|