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

import org.trinitydesktop.qt.Qt;

public class TQIODeviceSource extends TQDataSource  {
	protected TQIODeviceSource(Class dummy){super((Class) null);}
	public TQIODeviceSource(TQIODeviceInterface arg1, int bufsize) {
		super((Class) null);
		newTQIODeviceSource(arg1,bufsize);
	}
	private native void newTQIODeviceSource(TQIODeviceInterface arg1, int bufsize);
	public TQIODeviceSource(TQIODeviceInterface arg1) {
		super((Class) null);
		newTQIODeviceSource(arg1);
	}
	private native void newTQIODeviceSource(TQIODeviceInterface arg1);
	public native int readyToSend();
	public native void sendTo(TQDataSink sink, int n);
	public native boolean rewindable();
	public native void enableRewind(boolean on);
	public native void rewind();
	/** 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();
}
