//Auto-generated by kalyptus. DO NOT EDIT.
#include <kio/jobclasses.h>
#include <kio/global.h>
#include <tqstring.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,TQString arg4,bool arg5) : KIO::ListJob(arg1,arg2,arg3,arg4,arg5) {};
	ListJobJBridge(const KURL& arg1,bool arg2,bool arg3,TQString 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(TQObject* arg1) {
		if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) {
			TQObject::removeChild(arg1);
		}
		return;
	}
	void customEvent(TQCustomEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) {
			TQObject::customEvent(arg1);
		}
		return;
	}
	void timerEvent(TQTimerEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) {
			TQObject::timerEvent(arg1);
		}
		return;
	}
	void childEvent(TQChildEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) {
			TQObject::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(TQObject* arg1) {
		if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) {
			TQObject::insertChild(arg1);
		}
		return;
	}
	bool eventFilter(TQObject* object,TQEvent* event) {
		if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.ListJob",object,event)) {
			return TQObject::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.TQMetaObject");
	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 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::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 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::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;
}

