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

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

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

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

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

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_CopyJob_setDefaultPermissions(JNIEnv* env, jobject obj, jboolean b)
{
	((TDEIO::CopyJob*) QtSupport::getQt(env, obj))->setDefaultPermissions((bool) b);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_CopyJob_setInteractive(JNIEnv* env, jobject obj, jboolean b)
{
	((TDEIO::CopyJob*) QtSupport::getQt(env, obj))->setInteractive((bool) b);
	return;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_CopyJob_srcURLs(JNIEnv* env, jobject obj)
{
	KURL::List  _qlist;
	_qlist = ((TDEIO::CopyJob*) QtSupport::getQt(env, obj))->srcURLs();
	return (jobject) KDESupport::arrayWithKURLList(env, (KURL::List*) &_qlist);
}

