//Auto-generated by kalyptus. DO NOT EDIT.
#include <tqasyncio.h>

#include <qtjava/QtSupport.h>
#include <qtjava/TQDataSource.h>

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QDataSource_enableRewind(JNIEnv* env, jobject obj, jboolean arg1)
{
	((TQDataSource*) QtSupport::getQt(env, obj))->enableRewind((bool) arg1);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QDataSource_maybeReady(JNIEnv* env, jobject obj)
{
	((TQDataSource*) QtSupport::getQt(env, obj))->maybeReady();
	return;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_qt_QDataSource_readyToSend(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((TQDataSource*) QtSupport::getQt(env, obj))->readyToSend();
	return xret;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QDataSource_rewind(JNIEnv* env, jobject obj)
{
	((TQDataSource*) QtSupport::getQt(env, obj))->rewind();
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QDataSource_rewindable(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TQDataSource*) QtSupport::getQt(env, obj))->rewindable();
	return xret;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QDataSource_sendTo(JNIEnv* env, jobject obj, jobject arg1, jint count)
{
	((TQDataSource*) QtSupport::getQt(env, obj))->sendTo((TQDataSink*) QtSupport::getQt(env, arg1), (int) count);
	return;
}

