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

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

class DeleteJobJBridge : public TDEIO::DeleteJob
{
public:
	DeleteJobJBridge(const KURL::List& arg1,bool arg2,bool arg3) : TDEIO::DeleteJob(arg1,arg2,arg3) {};
	void protected_slotStart() {
		TDEIO::DeleteJob::slotStart();
		return;
	}
	void protected_slotResult(TDEIO::Job* arg1) {
		TDEIO::DeleteJob::slotResult(arg1);
		return;
	}
	void protected_slotProcessedSize(TDEIO::Job* arg1,TDEIO::filesize_t arg2) {
		TDEIO::DeleteJob::slotProcessedSize(arg1,arg2);
		return;
	}
	void protected_slotReport() {
		TDEIO::DeleteJob::slotReport();
		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 slotResult(TDEIO::Job* arg1) {
		if (!QtSupport::eventDelegate(this,"slotResult",(void*)arg1,"org.trinitydesktop.koala.Job")) {
			DeleteJob::slotResult(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.DeleteJob",object,event)) {
			return TQObject::eventFilter(object,event);
		} else {
			return true;
		}
	}
};

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

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

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_DeleteJob_newDeleteJob(JNIEnv* env, jobject obj, jobjectArray src, jboolean shred, jboolean showProgressInfo)
{
static KURL::List* _qlist_src = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new DeleteJobJBridge((const KURL::List&)*(KURL::List*) KDESupport::toKURLList(env, src, &_qlist_src), (bool) shred, (bool) showProgressInfo));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_DeleteJob_slotProcessedSize(JNIEnv* env, jobject obj, jobject arg1, jlong data_size)
{
	((DeleteJobJBridge*) QtSupport::getQt(env, obj))->protected_slotProcessedSize((TDEIO::Job*) QtSupport::getQt(env, arg1), (TDEIO::filesize_t) data_size);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_DeleteJob_slotReport(JNIEnv* env, jobject obj)
{
	((DeleteJobJBridge*) QtSupport::getQt(env, obj))->protected_slotReport();
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_DeleteJob_slotResult(JNIEnv* env, jobject obj, jobject job)
{
	((DeleteJobJBridge*) QtSupport::getQt(env, obj))->protected_slotResult((TDEIO::Job*) QtSupport::getQt(env, job));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_DeleteJob_slotStart(JNIEnv* env, jobject obj)
{
	((DeleteJobJBridge*) QtSupport::getQt(env, obj))->protected_slotStart();
	return;
}

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

