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.
52 lines
1.8 KiB
52 lines
1.8 KiB
15 years ago
|
//Auto-generated by kalyptus. DO NOT EDIT.
|
||
11 years ago
|
package org.trinitydesktop.qt;
|
||
15 years ago
|
|
||
11 years ago
|
import org.trinitydesktop.qt.Qt;
|
||
15 years ago
|
|
||
13 years ago
|
public class TQFile extends TQIODevice {
|
||
|
protected TQFile(Class dummy){super((Class) null);}
|
||
|
public TQFile() {
|
||
15 years ago
|
super((Class) null);
|
||
13 years ago
|
newTQFile();
|
||
15 years ago
|
}
|
||
13 years ago
|
private native void newTQFile();
|
||
|
public TQFile(String name) {
|
||
15 years ago
|
super((Class) null);
|
||
13 years ago
|
newTQFile(name);
|
||
15 years ago
|
}
|
||
13 years ago
|
private native void newTQFile(String name);
|
||
15 years ago
|
public native String name();
|
||
|
public native void setName(String name);
|
||
|
public native boolean exists();
|
||
|
public native boolean remove();
|
||
|
public native boolean open(int arg1);
|
||
|
public native boolean open(int arg1, int arg2);
|
||
|
public native void close();
|
||
|
public native void flush();
|
||
|
public native long size();
|
||
|
public native long at();
|
||
|
public native boolean at(long arg1);
|
||
|
public native boolean atEnd();
|
||
|
public native long readBlock(StringBuffer data, long len);
|
||
|
public native long writeBlock(String data, long len);
|
||
|
public native long writeBlock(byte[] data);
|
||
|
public native long readLine(String data, long maxlen);
|
||
|
public native long readLine(StringBuffer arg1, long maxlen);
|
||
|
public native int getch();
|
||
|
public native int putch(int arg1);
|
||
|
public native int ungetch(int arg1);
|
||
|
public native int handle();
|
||
|
public native String errorString();
|
||
|
public static native String encodeName(String fileName);
|
||
|
public static native String decodeName(String localFileName);
|
||
|
public static native boolean exists(String fileName);
|
||
|
public static native boolean remove(String fileName);
|
||
|
protected native void setErrorString(String 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();
|
||
|
}
|