You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tdebindings/qtjava/javalib/org/trinitydesktop/qt/TQTextStream.java

102 lines
3.9 KiB

//Auto-generated by kalyptus. DO NOT EDIT.
package org.trinitydesktop.qt;
import org.trinitydesktop.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();
}