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

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

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

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

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

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

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

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

