summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/org/kde/qt/QBuffer.java
blob: 6ed688b295228c43c168fb830eb2ca8002a4ea95 (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
//Auto-generated by kalyptus. DO NOT EDIT.
package org.kde.qt;

import org.kde.qt.Qt;

public class QBuffer extends QIODevice  {
	protected QBuffer(Class dummy){super((Class) null);}
	public QBuffer() {
		super((Class) null);
		newQBuffer();
	}
	private native void newQBuffer();
	public QBuffer(byte[] arg1) {
		super((Class) null);
		newQBuffer(arg1);
	}
	private native void newQBuffer(byte[] arg1);
	public native byte[] buffer();
	public native boolean setBuffer(byte[] arg1);
	public native boolean open(int arg1);
	public native void close();
	public native void flush();
	public native long size();
	public native long at();
	public native boolean at(long arg1);
	public native long readBlock(StringBuffer p, long arg2);
	public native long writeBlock(String p, long arg2);
	public native long writeBlock(byte[] data);
	public native long readLine(String p, long arg2);
	public native int getch();
	public native int putch(int arg1);
	public native int ungetch(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();
}