You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
1.2 KiB
Java
40 lines
1.2 KiB
Java
//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();
|
|
}
|