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

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

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QDataSink_eof(JNIEnv* env, jobject obj)
{
	((TQDataSink*) QtSupport::getQt(env, obj))->eof();
	return;
}

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

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_qt_QDataSink_readyToReceive(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((TQDataSink*) QtSupport::getQt(env, obj))->readyToReceive();
	return xret;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QDataSink_receive(JNIEnv* env, jobject obj, jcharArray arg1, jint count)
{
static TQByteArray* _qbytearray_arg1 = 0;
	((TQDataSink*) QtSupport::getQt(env, obj))->receive((const uchar*) QtSupport::toUcharArray(env, arg1, &_qbytearray_arg1), (int) count);
	return;
}

