summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/org/kde/qt/TQTextStream.java
blob: 42bb5ae25e6810adb35b7d895115b2158f63b1fe (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 TQTextStream implements QtSupport {
	private long _qt;
	private boolean _allocatedInJavaWorld = true;
	protected TQTextStream(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(TQTextCodec arg1);
	public native TQTextCodec codec();
	public TQTextStream() {
		newTQTextStream();
	}
	private native void newTQTextStream();
	public TQTextStream(TQIODeviceInterface arg1) {
		newTQTextStream(arg1);
	}
	private native void newTQTextStream(TQIODeviceInterface arg1);
	public TQTextStream(StringBuffer arg1, int mode) {
		newTQTextStream(arg1,mode);
	}
	private native void newTQTextStream(StringBuffer arg1, int mode);
	public TQTextStream(byte[] arg1, int mode) {
		newTQTextStream(arg1,mode);
	}
	private native void newTQTextStream(byte[] arg1, int mode);
	public native TQIODeviceInterface device();
	public native void setDevice(TQIODeviceInterface arg1);
	public native void unsetDevice();
	public native boolean atEnd();
	public native boolean eof();
	public native TQTextStream op_read(char arg1);
	// TQTextStream& op_read(signed short& arg1); >>>> NOT CONVERTED
	public native TQTextStream op_read(short arg1);
	// TQTextStream& op_read(signed int& arg1); >>>> NOT CONVERTED
	public native TQTextStream op_read(int arg1);
	// TQTextStream& op_read(signed long& arg1); >>>> NOT CONVERTED
	public native TQTextStream op_read(long arg1);
	public native TQTextStream op_read(float arg1);
	public native TQTextStream op_read(double arg1);
	public native TQTextStream op_read(String arg1);
	public native TQTextStream op_read(StringBuffer arg1);
	public native TQTextStream op_write(char arg1);
	public native TQTextStream op_write(short arg1);
	// TQTextStream& op_write(signed arg1); >>>> NOT CONVERTED
	public native TQTextStream op_write(int arg1);
	public native TQTextStream op_write(long arg1);
	public native TQTextStream op_write(float arg1);
	public native TQTextStream op_write(double arg1);
	public native TQTextStream op_write(String arg1);
	// TQTextStream& op_write(void* arg1); >>>> NOT CONVERTED
	public native TQTextStream readRawBytes(String arg1, int len);
	public native TQTextStream 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();
}