//Auto-generated by kalyptus. DO NOT EDIT.
#include <tdeio/jobclasses.h>
#include <tdeio/global.h>
#include <kurl.h>
#include <tqcstring.h>

#include <qtjava/QtSupport.h>
#include <tdejava/TDESupport.h>
#include <tdejava/FileCopyJob.h>

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_koala_FileCopyJob_className(JNIEnv* env, jobject obj)
{
	const char* _qstring;
	_qstring = ((TDEIO::FileCopyJob*) QtSupport::getQt(env, obj))->className();
	return QtSupport::fromCharString(env, (char *) _qstring);
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_FileCopyJob_destURL(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(((TDEIO::FileCopyJob*) QtSupport::getQt(env, obj))->destURL()), "org.trinitydesktop.koala.KURL", true);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_FileCopyJob_metaObject(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEIO::FileCopyJob*) QtSupport::getQt(env, obj))->metaObject(), "org.trinitydesktop.qt.TQMetaObject");
	return xret;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_FileCopyJob_setSourceSize64(JNIEnv* env, jobject obj, jlong size)
{
	((TDEIO::FileCopyJob*) QtSupport::getQt(env, obj))->setSourceSize64((TDEIO::filesize_t) size);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_FileCopyJob_slotDataReq(JNIEnv* env, jobject obj, jobject arg1, jbyteArray data)
{
static TQByteArray* _qbyteArray_data = 0;
	((TDEIO::FileCopyJob*) QtSupport::getQt(env, obj))->slotDataReq((TDEIO::Job*) QtSupport::getQt(env, arg1), (TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_FileCopyJob_slotData(JNIEnv* env, jobject obj, jobject arg1, jbyteArray data)
{
static TQByteArray* _qbyteArray_data = 0;
	((TDEIO::FileCopyJob*) QtSupport::getQt(env, obj))->slotData((TDEIO::Job*) QtSupport::getQt(env, arg1), (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_FileCopyJob_slotStart(JNIEnv* env, jobject obj)
{
	((TDEIO::FileCopyJob*) QtSupport::getQt(env, obj))->slotStart();
	return;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_FileCopyJob_srcURL(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(((TDEIO::FileCopyJob*) QtSupport::getQt(env, obj))->srcURL()), "org.trinitydesktop.koala.KURL", true);
	return xret;
}

