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

#include <qtjava/QtSupport.h>
#include <kdejava/KDESupport.h>
#include <kdejava/CopyJob.h>

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

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

JNIEXPORT jobject JNICALL
Java_org_kde_koala_CopyJob_metaObject(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((KIO::CopyJob*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.QMetaObject");
	return xret;
}

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

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

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

