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

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

class ListJobJBridge : public KIO::ListJob
{
public:
	ListJobJBridge(const KURL& arg1,bool arg2,bool arg3,QString arg4,bool arg5) : KIO::ListJob(arg1,arg2,arg3,arg4,arg5) {};
	ListJobJBridge(const KURL& arg1,bool arg2,bool arg3,QString arg4) : KIO::ListJob(arg1,arg2,arg3,arg4) {};
	ListJobJBridge(const KURL& arg1,bool arg2,bool arg3) : KIO::ListJob(arg1,arg2,arg3) {};
	ListJobJBridge(const KURL& arg1,bool arg2) : KIO::ListJob(arg1,arg2) {};
	void protected_slotFinished() {
		KIO::ListJob::slotFinished();
		return;
	}
	void protected_slotResult(KIO::Job* arg1) {
		KIO::ListJob::slotResult(arg1);
		return;
	}
	void protected_slotRedirection(const KURL& arg1) {
		KIO::ListJob::slotRedirection(arg1);
		return;
	}
	void removeChild(QObject* arg1) {
		if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.QObject")) {
			QObject::removeChild(arg1);
		}
		return;
	}
	void customEvent(QCustomEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.QCustomEvent")) {
			QObject::customEvent(arg1);
		}
		return;
	}
	void timerEvent(QTimerEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.QTimerEvent")) {
			QObject::timerEvent(arg1);
		}
		return;
	}
	void childEvent(QChildEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.QChildEvent")) {
			QObject::childEvent(arg1);
		}
		return;
	}
	void slotFinished() {
		if (!QtSupport::voidDelegate(this,"org.kde.koala.ListJob","slotFinished")) {
			ListJob::slotFinished();
		}
		return;
	}
	void slotResult(KIO::Job* arg1) {
		if (!QtSupport::eventDelegate(this,"slotResult",(void*)arg1,"org.kde.koala.Job")) {
			ListJob::slotResult(arg1);
		}
		return;
	}
	void start(KIO::Slave* arg1) {
		if (!QtSupport::eventDelegate(this,"start",(void*)arg1,"org.kde.koala.Slave")) {
			ListJob::start(arg1);
		}
		return;
	}
	void insertChild(QObject* arg1) {
		if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.QObject")) {
			QObject::insertChild(arg1);
		}
		return;
	}
	bool eventFilter(QObject* object,QEvent* event) {
		if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.ListJob",object,event)) {
			return QObject::eventFilter(object,event);
		} else {
			return TRUE;
		}
	}
	void putOnHold() {
		if (!QtSupport::voidDelegate(this,"org.kde.koala.ListJob","putOnHold")) {
			SimpleJob::putOnHold();
		}
		return;
	}
};

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

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

JNIEXPORT void JNICALL
Java_org_kde_koala_ListJob_newListJob__Lorg_kde_koala_KURL_2Z(JNIEnv* env, jobject obj, jobject url, jboolean showProgressInfo)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new ListJobJBridge((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (bool) showProgressInfo));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_ListJob_newListJob__Lorg_kde_koala_KURL_2ZZ(JNIEnv* env, jobject obj, jobject url, jboolean showProgressInfo, jboolean recursive)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new ListJobJBridge((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (bool) showProgressInfo, (bool) recursive));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_ListJob_newListJob__Lorg_kde_koala_KURL_2ZZLjava_lang_String_2(JNIEnv* env, jobject obj, jobject url, jboolean showProgressInfo, jboolean recursive, jstring prefix)
{
static QString* _qstring_prefix = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new ListJobJBridge((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (bool) showProgressInfo, (bool) recursive, (QString)*(QString*) QtSupport::toQString(env, prefix, &_qstring_prefix)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_ListJob_newListJob__Lorg_kde_koala_KURL_2ZZLjava_lang_String_2Z(JNIEnv* env, jobject obj, jobject url, jboolean showProgressInfo, jboolean recursive, jstring prefix, jboolean includeHidden)
{
static QString* _qstring_prefix = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new ListJobJBridge((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (bool) showProgressInfo, (bool) recursive, (QString)*(QString*) QtSupport::toQString(env, prefix, &_qstring_prefix), (bool) includeHidden));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_ListJob_redirectionURL(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)(KURL *) &((KIO::ListJob*) QtSupport::getQt(env, obj))->redirectionURL(), "org.kde.koala.KURL");
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_ListJob_setUnrestricted(JNIEnv* env, jobject obj, jboolean unrestricted)
{
	((KIO::ListJob*) QtSupport::getQt(env, obj))->setUnrestricted((bool) unrestricted);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_ListJob_slotFinished(JNIEnv* env, jobject obj)
{
	((ListJobJBridge*) QtSupport::getQt(env, obj))->protected_slotFinished();
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_ListJob_slotRedirection(JNIEnv* env, jobject obj, jobject url)
{
	((ListJobJBridge*) QtSupport::getQt(env, obj))->protected_slotRedirection((const KURL&)*(const KURL*) QtSupport::getQt(env, url));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_ListJob_slotResult(JNIEnv* env, jobject obj, jobject job)
{
	((ListJobJBridge*) QtSupport::getQt(env, obj))->protected_slotResult((KIO::Job*) QtSupport::getQt(env, job));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_ListJob_start(JNIEnv* env, jobject obj, jobject slave)
{
	((KIO::ListJob*) QtSupport::getQt(env, obj))->start((KIO::Slave*) QtSupport::getQt(env, slave));
	return;
}

