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

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

class ListJobJBridge : public TDEIO::ListJob
{
public:
	ListJobJBridge(const KURL& arg1,bool arg2,bool arg3,TQString arg4,bool arg5) : TDEIO::ListJob(arg1,arg2,arg3,arg4,arg5) {};
	ListJobJBridge(const KURL& arg1,bool arg2,bool arg3,TQString arg4) : TDEIO::ListJob(arg1,arg2,arg3,arg4) {};
	ListJobJBridge(const KURL& arg1,bool arg2,bool arg3) : TDEIO::ListJob(arg1,arg2,arg3) {};
	ListJobJBridge(const KURL& arg1,bool arg2) : TDEIO::ListJob(arg1,arg2) {};
	void protected_slotFinished() {
		TDEIO::ListJob::slotFinished();
		return;
	}
	void protected_slotResult(TDEIO::Job* arg1) {
		TDEIO::ListJob::slotResult(arg1);
		return;
	}
	void protected_slotRedirection(const KURL& arg1) {
		TDEIO::ListJob::slotRedirection(arg1);
		return;
	}
	void removeChild(TQObject* arg1) {
		if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.trinitydesktop.qt.TQObject")) {
			TQObject::removeChild(arg1);
		}
		return;
	}
	void customEvent(TQCustomEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.trinitydesktop.qt.TQCustomEvent")) {
			TQObject::customEvent(arg1);
		}
		return;
	}
	void timerEvent(TQTimerEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.trinitydesktop.qt.TQTimerEvent")) {
			TQObject::timerEvent(arg1);
		}
		return;
	}
	void childEvent(TQChildEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.trinitydesktop.qt.TQChildEvent")) {
			TQObject::childEvent(arg1);
		}
		return;
	}
	void slotFinished() {
		if (!QtSupport::voidDelegate(this,"org.trinitydesktop.koala.ListJob","slotFinished")) {
			ListJob::slotFinished();
		}
		return;
	}
	void slotResult(TDEIO::Job* arg1) {
		if (!QtSupport::eventDelegate(this,"slotResult",(void*)arg1,"org.trinitydesktop.koala.Job")) {
			ListJob::slotResult(arg1);
		}
		return;
	}
	void start(TDEIO::Slave* arg1) {
		if (!QtSupport::eventDelegate(this,"start",(void*)arg1,"org.trinitydesktop.koala.Slave")) {
			ListJob::start(arg1);
		}
		return;
	}
	void insertChild(TQObject* arg1) {
		if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.trinitydesktop.qt.TQObject")) {
			TQObject::insertChild(arg1);
		}
		return;
	}
	bool eventFilter(TQObject* object,TQEvent* event) {
		if (!QtSupport::eventFilterDelegate(this,"org.trinitydesktop.koala.ListJob",object,event)) {
			return TQObject::eventFilter(object,event);
		} else {
			return true;
		}
	}
	void putOnHold() {
		if (!QtSupport::voidDelegate(this,"org.trinitydesktop.koala.ListJob","putOnHold")) {
			SimpleJob::putOnHold();
		}
		return;
	}
};

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

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

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_ListJob_newListJob__Lorg_trinitydesktop_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_trinitydesktop_koala_ListJob_newListJob__Lorg_trinitydesktop_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_trinitydesktop_koala_ListJob_newListJob__Lorg_trinitydesktop_koala_KURL_2ZZLjava_lang_String_2(JNIEnv* env, jobject obj, jobject url, jboolean showProgressInfo, jboolean recursive, jstring prefix)
{
static TQString* _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, (TQString)*(TQString*) QtSupport::toTQString(env, prefix, &_qstring_prefix)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_ListJob_newListJob__Lorg_trinitydesktop_koala_KURL_2ZZLjava_lang_String_2Z(JNIEnv* env, jobject obj, jobject url, jboolean showProgressInfo, jboolean recursive, jstring prefix, jboolean includeHidden)
{
static TQString* _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, (TQString)*(TQString*) QtSupport::toTQString(env, prefix, &_qstring_prefix), (bool) includeHidden));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

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

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

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

JNIEXPORT void JNICALL
Java_org_trinitydesktop_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_trinitydesktop_koala_ListJob_slotResult(JNIEnv* env, jobject obj, jobject job)
{
	((ListJobJBridge*) QtSupport::getQt(env, obj))->protected_slotResult((TDEIO::Job*) QtSupport::getQt(env, job));
	return;
}

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

