summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/qtjava/QDataSink.cpp
blob: d8eca7a41d9953567799fd39741e31e87ee03ab1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
//Auto-generated by kalyptus. DO NOT EDIT.
#include <tqasyncio.h>

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

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

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

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

JNIEXPORT void JNICALL
Java_org_kde_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;
}