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

import org.kde.qt.Qt;

public class QIODeviceSource extends QDataSource  {
	protected QIODeviceSource(Class dummy){super((Class) null);}
	public QIODeviceSource(QIODeviceInterface arg1, int bufsize) {
		super((Class) null);
		newQIODeviceSource(arg1,bufsize);
	}
	private native void newQIODeviceSource(QIODeviceInterface arg1, int bufsize);
	public QIODeviceSource(QIODeviceInterface arg1) {
		super((Class) null);
		newQIODeviceSource(arg1);
	}
	private native void newQIODeviceSource(QIODeviceInterface arg1);
	public native int readyToSend();
	public native void sendTo(QDataSink 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();
}
