//Auto-generated by kalyptus. DO NOT EDIT.
package org.trinitydesktop.qt;


public interface TQIODeviceInterface {
		int flags();
		int mode();
		int state();
		boolean isDirectAccess();
		boolean isSequentialAccess();
		boolean isCombinedAccess();
		boolean isBuffered();
		boolean isRaw();
		boolean isSynchronous();
		boolean isAsynchronous();
		boolean isTranslated();
		boolean isReadable();
		boolean isWritable();
		boolean isReadWrite();
		boolean isInactive();
		boolean isOpen();
		int status();
		void resetStatus();
		boolean open(int mode);
		void close();
		void flush();
		long size();
		long at();
		boolean at(long arg1);
		boolean atEnd();
		boolean reset();
		long readBlock(StringBuffer data, long maxlen);
		long writeBlock(String data, long len);
		long readLine(String data, long maxlen);
		long writeBlock(byte[] data);
		byte[] readAll();
		int getch();
		int putch(int arg1);
		int ungetch(int arg1);
}
