//Auto-generated by kalyptus. DO NOT EDIT.
#include <tdeio/renamedlg.h>
#include <tdeio/global.h>
#include <tdeio/observer.h>
#include <dcopclient.h>
#include <tdeio/authinfo.h>
#include <tqstring.h>
#include <dcopobject.h>
#include <kurl.h>
#include <tdeio/skipdlg.h>
#include <tqcstring.h>

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

class ObserverJBridge : public Observer
{
public:
	ObserverJBridge() : Observer() {};
	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 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.Observer",object,event)) {
			return TQObject::eventFilter(object,event);
		} else {
			return TRUE;
		}
	}
};

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_Observer_callingDcopClient(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((DCOPObject*)(Observer*) QtSupport::getQt(env, obj))->callingDcopClient(), "org.trinitydesktop.koala.DCOPClient");
	return xret;
}

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

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_koala_Observer_connectDCOPSignal(JNIEnv* env, jobject obj, jstring sender, jstring senderObj, jstring signal, jstring slot, jboolean Volatile)
{
static TQCString* _qcstring_sender = 0;
static TQCString* _qcstring_senderObj = 0;
static TQCString* _qcstring_signal = 0;
static TQCString* _qcstring_slot = 0;
	jboolean xret = (jboolean) ((DCOPObject*)(Observer*) QtSupport::getQt(env, obj))->connectDCOPSignal((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, sender, &_qcstring_sender), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, senderObj, &_qcstring_senderObj), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, signal, &_qcstring_signal), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, slot, &_qcstring_slot), (bool) Volatile);
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_koala_Observer_disconnectDCOPSignal(JNIEnv* env, jobject obj, jstring sender, jstring senderObj, jstring signal, jstring slot)
{
static TQCString* _qcstring_sender = 0;
static TQCString* _qcstring_senderObj = 0;
static TQCString* _qcstring_signal = 0;
static TQCString* _qcstring_slot = 0;
	jboolean xret = (jboolean) ((DCOPObject*)(Observer*) QtSupport::getQt(env, obj))->disconnectDCOPSignal((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, sender, &_qcstring_sender), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, senderObj, &_qcstring_senderObj), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, signal, &_qcstring_signal), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, slot, &_qcstring_slot));
	return xret;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_Observer_emitDCOPSignal(JNIEnv* env, jobject obj, jstring signal, jbyteArray data)
{
static TQCString* _qcstring_signal = 0;
static TQByteArray* _qbyteArray_data = 0;
	((DCOPObject*)(Observer*) QtSupport::getQt(env, obj))->emitDCOPSignal((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, signal, &_qcstring_signal), (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data));
	return;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_Observer_find(JNIEnv* env, jclass cls, jstring objId)
{
	(void) cls;
static TQCString* _qcstring_objId = 0;
	jobject xret = QtSupport::objectForQtKey(env, (void*)ObserverJBridge::find((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, objId, &_qcstring_objId)), "org.trinitydesktop.koala.DCOPObjectInterface");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_Observer_functionsDynamic(JNIEnv* env, jobject obj)
{
	QCStringList  _qlist;
	_qlist = ((DCOPObject*)(Observer*) QtSupport::getQt(env, obj))->functionsDynamic();
	return (jobject) KDESupport::arrayWithQCStringList(env, (QCStringList*) &_qlist);
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_Observer_functions(JNIEnv* env, jobject obj)
{
	QCStringList  _qlist;
	_qlist = ((DCOPObject*)(Observer*) QtSupport::getQt(env, obj))->functions();
	return (jobject) KDESupport::arrayWithQCStringList(env, (QCStringList*) &_qlist);
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_koala_Observer_hasObject(JNIEnv* env, jclass cls, jstring objId)
{
	(void) cls;
static TQCString* _qcstring_objId = 0;
	jboolean xret = (jboolean) ObserverJBridge::hasObject((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, objId, &_qcstring_objId));
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_Observer_interfacesDynamic(JNIEnv* env, jobject obj)
{
	QCStringList  _qlist;
	_qlist = ((DCOPObject*)(Observer*) QtSupport::getQt(env, obj))->interfacesDynamic();
	return (jobject) KDESupport::arrayWithQCStringList(env, (QCStringList*) &_qlist);
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_Observer_interfaces(JNIEnv* env, jobject obj)
{
	QCStringList  _qlist;
	_qlist = ((DCOPObject*)(Observer*) QtSupport::getQt(env, obj))->interfaces();
	return (jobject) KDESupport::arrayWithQCStringList(env, (QCStringList*) &_qlist);
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_Observer_jobFinished(JNIEnv* env, jobject obj, jint progressId)
{
	((Observer*) QtSupport::getQt(env, obj))->jobFinished((int) progressId);
	return;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_koala_Observer_messageBox__IILjava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jint progressId, jint type, jstring text, jstring caption, jstring buttonYes, jstring buttonNo)
{
	(void) cls;
static TQString* _qstring_text = 0;
static TQString* _qstring_caption = 0;
static TQString* _qstring_buttonYes = 0;
static TQString* _qstring_buttonNo = 0;
	jint xret = (jint) ObserverJBridge::messageBox((int) progressId, (int) type, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, buttonYes, &_qstring_buttonYes), (const TQString&)*(TQString*) QtSupport::toTQString(env, buttonNo, &_qstring_buttonNo));
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_koala_Observer_messageBox__IILjava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jint progressId, jint type, jstring text, jstring caption, jstring buttonYes, jstring buttonNo, jstring dontAskAgainName)
{
	(void) cls;
static TQString* _qstring_text = 0;
static TQString* _qstring_caption = 0;
static TQString* _qstring_buttonYes = 0;
static TQString* _qstring_buttonNo = 0;
static TQString* _qstring_dontAskAgainName = 0;
	jint xret = (jint) ObserverJBridge::messageBox((int) progressId, (int) type, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, buttonYes, &_qstring_buttonYes), (const TQString&)*(TQString*) QtSupport::toTQString(env, buttonNo, &_qstring_buttonNo), (const TQString&)*(TQString*) QtSupport::toTQString(env, dontAskAgainName, &_qstring_dontAskAgainName));
	return xret;
}

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

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_Observer_mounting(JNIEnv* env, jobject obj, jobject arg1, jstring dev, jstring point)
{
static TQString* _qstring_dev = 0;
static TQString* _qstring_point = 0;
	((Observer*) QtSupport::getQt(env, obj))->mounting((TDEIO::Job*) QtSupport::getQt(env, arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, dev, &_qstring_dev), (const TQString&)*(TQString*) QtSupport::toTQString(env, point, &_qstring_point));
	return;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_koala_Observer_newJob(JNIEnv* env, jobject obj, jobject job, jboolean showProgress)
{
	jint xret = (jint) ((Observer*) QtSupport::getQt(env, obj))->newJob((TDEIO::Job*) QtSupport::getQt(env, job), (bool) showProgress);
	return xret;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_Observer_newObserver(JNIEnv* env, jobject obj)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new ObserverJBridge());
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_koala_Observer_objId(JNIEnv* env, jobject obj)
{
	TQCString  _qstring;
	_qstring = ((DCOPObject*)(Observer*) QtSupport::getQt(env, obj))->objId();
	return QtSupport::fromTQCString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_koala_Observer_objectName(JNIEnv* env, jclass cls, jobject arg1)
{
	TQCString  _qstring;
	(void) cls;
	_qstring = ObserverJBridge::objectName((TQObject*) QtSupport::getQt(env, arg1));
	return QtSupport::fromTQCString(env, &_qstring);
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_koala_Observer_openPassDlg(JNIEnv* env, jobject obj, jobject info)
{
	jboolean xret = (jboolean) ((Observer*) QtSupport::getQt(env, obj))->openPassDlg((TDEIO::AuthInfo&)*(TDEIO::AuthInfo*) QtSupport::getQt(env, info));
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_koala_Observer_open_1RenameDlg__Lorg_trinitydesktop_koala_Job_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2ILjava_lang_StringBuffer_2(JNIEnv* env, jobject obj, jobject job, jstring caption, jstring src, jstring dest, jint mode, jobject newDest)
{
static TQString* _qstring_caption = 0;
static TQString* _qstring_src = 0;
static TQString* _qstring_dest = 0;
static TQString* _qstring_newDest = 0;
	jint xret = (jint) ((Observer*) QtSupport::getQt(env, obj))->open_RenameDlg((TDEIO::Job*) QtSupport::getQt(env, job), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, src, &_qstring_src), (const TQString&)*(TQString*) QtSupport::toTQString(env, dest, &_qstring_dest), (TDEIO::RenameDlg_Mode) mode, (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, newDest, &_qstring_newDest));
	QtSupport::fromTQStringToStringBuffer(env, _qstring_newDest, newDest);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_koala_Observer_open_1RenameDlg__Lorg_trinitydesktop_koala_Job_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2ILjava_lang_StringBuffer_2J(JNIEnv* env, jobject obj, jobject job, jstring caption, jstring src, jstring dest, jint mode, jobject newDest, jlong sizeSrc)
{
static TQString* _qstring_caption = 0;
static TQString* _qstring_src = 0;
static TQString* _qstring_dest = 0;
static TQString* _qstring_newDest = 0;
	jint xret = (jint) ((Observer*) QtSupport::getQt(env, obj))->open_RenameDlg((TDEIO::Job*) QtSupport::getQt(env, job), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, src, &_qstring_src), (const TQString&)*(TQString*) QtSupport::toTQString(env, dest, &_qstring_dest), (TDEIO::RenameDlg_Mode) mode, (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, newDest, &_qstring_newDest), (TDEIO::filesize_t) sizeSrc);
	QtSupport::fromTQStringToStringBuffer(env, _qstring_newDest, newDest);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_koala_Observer_open_1RenameDlg__Lorg_trinitydesktop_koala_Job_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2ILjava_lang_StringBuffer_2JJ(JNIEnv* env, jobject obj, jobject job, jstring caption, jstring src, jstring dest, jint mode, jobject newDest, jlong sizeSrc, jlong sizeDest)
{
static TQString* _qstring_caption = 0;
static TQString* _qstring_src = 0;
static TQString* _qstring_dest = 0;
static TQString* _qstring_newDest = 0;
	jint xret = (jint) ((Observer*) QtSupport::getQt(env, obj))->open_RenameDlg((TDEIO::Job*) QtSupport::getQt(env, job), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, src, &_qstring_src), (const TQString&)*(TQString*) QtSupport::toTQString(env, dest, &_qstring_dest), (TDEIO::RenameDlg_Mode) mode, (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, newDest, &_qstring_newDest), (TDEIO::filesize_t) sizeSrc, (TDEIO::filesize_t) sizeDest);
	QtSupport::fromTQStringToStringBuffer(env, _qstring_newDest, newDest);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_koala_Observer_open_1RenameDlg__Lorg_trinitydesktop_koala_Job_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2ILjava_lang_StringBuffer_2JJI(JNIEnv* env, jobject obj, jobject job, jstring caption, jstring src, jstring dest, jint mode, jobject newDest, jlong sizeSrc, jlong sizeDest, jint ctimeSrc)
{
static TQString* _qstring_caption = 0;
static TQString* _qstring_src = 0;
static TQString* _qstring_dest = 0;
static TQString* _qstring_newDest = 0;
	jint xret = (jint) ((Observer*) QtSupport::getQt(env, obj))->open_RenameDlg((TDEIO::Job*) QtSupport::getQt(env, job), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, src, &_qstring_src), (const TQString&)*(TQString*) QtSupport::toTQString(env, dest, &_qstring_dest), (TDEIO::RenameDlg_Mode) mode, (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, newDest, &_qstring_newDest), (TDEIO::filesize_t) sizeSrc, (TDEIO::filesize_t) sizeDest, (time_t) ctimeSrc);
	QtSupport::fromTQStringToStringBuffer(env, _qstring_newDest, newDest);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_koala_Observer_open_1RenameDlg__Lorg_trinitydesktop_koala_Job_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2ILjava_lang_StringBuffer_2JJII(JNIEnv* env, jobject obj, jobject job, jstring caption, jstring src, jstring dest, jint mode, jobject newDest, jlong sizeSrc, jlong sizeDest, jint ctimeSrc, jint ctimeDest)
{
static TQString* _qstring_caption = 0;
static TQString* _qstring_src = 0;
static TQString* _qstring_dest = 0;
static TQString* _qstring_newDest = 0;
	jint xret = (jint) ((Observer*) QtSupport::getQt(env, obj))->open_RenameDlg((TDEIO::Job*) QtSupport::getQt(env, job), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, src, &_qstring_src), (const TQString&)*(TQString*) QtSupport::toTQString(env, dest, &_qstring_dest), (TDEIO::RenameDlg_Mode) mode, (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, newDest, &_qstring_newDest), (TDEIO::filesize_t) sizeSrc, (TDEIO::filesize_t) sizeDest, (time_t) ctimeSrc, (time_t) ctimeDest);
	QtSupport::fromTQStringToStringBuffer(env, _qstring_newDest, newDest);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_koala_Observer_open_1RenameDlg__Lorg_trinitydesktop_koala_Job_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2ILjava_lang_StringBuffer_2JJIII(JNIEnv* env, jobject obj, jobject job, jstring caption, jstring src, jstring dest, jint mode, jobject newDest, jlong sizeSrc, jlong sizeDest, jint ctimeSrc, jint ctimeDest, jint mtimeSrc)
{
static TQString* _qstring_caption = 0;
static TQString* _qstring_src = 0;
static TQString* _qstring_dest = 0;
static TQString* _qstring_newDest = 0;
	jint xret = (jint) ((Observer*) QtSupport::getQt(env, obj))->open_RenameDlg((TDEIO::Job*) QtSupport::getQt(env, job), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, src, &_qstring_src), (const TQString&)*(TQString*) QtSupport::toTQString(env, dest, &_qstring_dest), (TDEIO::RenameDlg_Mode) mode, (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, newDest, &_qstring_newDest), (TDEIO::filesize_t) sizeSrc, (TDEIO::filesize_t) sizeDest, (time_t) ctimeSrc, (time_t) ctimeDest, (time_t) mtimeSrc);
	QtSupport::fromTQStringToStringBuffer(env, _qstring_newDest, newDest);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_koala_Observer_open_1RenameDlg__Lorg_trinitydesktop_koala_Job_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2ILjava_lang_StringBuffer_2JJIIII(JNIEnv* env, jobject obj, jobject job, jstring caption, jstring src, jstring dest, jint mode, jobject newDest, jlong sizeSrc, jlong sizeDest, jint ctimeSrc, jint ctimeDest, jint mtimeSrc, jint mtimeDest)
{
static TQString* _qstring_caption = 0;
static TQString* _qstring_src = 0;
static TQString* _qstring_dest = 0;
static TQString* _qstring_newDest = 0;
	jint xret = (jint) ((Observer*) QtSupport::getQt(env, obj))->open_RenameDlg((TDEIO::Job*) QtSupport::getQt(env, job), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, src, &_qstring_src), (const TQString&)*(TQString*) QtSupport::toTQString(env, dest, &_qstring_dest), (TDEIO::RenameDlg_Mode) mode, (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, newDest, &_qstring_newDest), (TDEIO::filesize_t) sizeSrc, (TDEIO::filesize_t) sizeDest, (time_t) ctimeSrc, (time_t) ctimeDest, (time_t) mtimeSrc, (time_t) mtimeDest);
	QtSupport::fromTQStringToStringBuffer(env, _qstring_newDest, newDest);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_koala_Observer_open_1SkipDlg(JNIEnv* env, jobject obj, jobject job, jboolean multi, jstring error_text)
{
static TQString* _qstring_error_text = 0;
	jint xret = (jint) ((Observer*) QtSupport::getQt(env, obj))->open_SkipDlg((TDEIO::Job*) QtSupport::getQt(env, job), (bool) multi, (const TQString&)*(TQString*) QtSupport::toTQString(env, error_text, &_qstring_error_text));
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_koala_Observer_processDynamic(JNIEnv* env, jobject obj, jstring fun, jbyteArray data, jobject replyType, jbyteArray replyData)
{
static TQCString* _qcstring_fun = 0;
static TQByteArray* _qbyteArray_data = 0;
static TQCString* _qcstring_replyType = 0;
	if (_qcstring_replyType == 0) {
		_qcstring_replyType = new TQCString();
	}
static TQByteArray* _qbyteArray_replyData = 0;
	jboolean xret = (jboolean) ((DCOPObject*)(Observer*) QtSupport::getQt(env, obj))->processDynamic((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, fun, &_qcstring_fun), (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data), (TQCString&)*(TQCString*) _qcstring_replyType, (TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, replyData, &_qbyteArray_replyData));
	QtSupport::fromTQCStringToStringBuffer(env, _qcstring_replyType, replyType);
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_koala_Observer_process(JNIEnv* env, jobject obj, jstring fun, jbyteArray data, jobject replyType, jbyteArray replyData)
{
static TQCString* _qcstring_fun = 0;
static TQByteArray* _qbyteArray_data = 0;
static TQCString* _qcstring_replyType = 0;
	if (_qcstring_replyType == 0) {
		_qcstring_replyType = new TQCString();
	}
static TQByteArray* _qbyteArray_replyData = 0;
	jboolean xret = (jboolean) ((DCOPObject*)(Observer*) QtSupport::getQt(env, obj))->process((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, fun, &_qcstring_fun), (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data), (TQCString&)*(TQCString*) _qcstring_replyType, (TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, replyData, &_qbyteArray_replyData));
	QtSupport::fromTQCStringToStringBuffer(env, _qcstring_replyType, replyType);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_Observer_self(JNIEnv* env, jclass cls)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)ObserverJBridge::self(), "org.trinitydesktop.koala.Observer");
	return xret;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_Observer_setCallingDcopClient(JNIEnv* env, jobject obj, jobject arg1)
{
	((DCOPObject*)(Observer*) QtSupport::getQt(env, obj))->setCallingDcopClient((DCOPClient*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_koala_Observer_setObjId(JNIEnv* env, jobject obj, jstring objId)
{
static TQCString* _qcstring_objId = 0;
	jboolean xret = (jboolean) ((DCOPObject*)(Observer*) QtSupport::getQt(env, obj))->setObjId((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, objId, &_qcstring_objId));
	return xret;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_Observer_slotCanResume(JNIEnv* env, jobject obj, jobject arg1, jlong offset)
{
	((Observer*) QtSupport::getQt(env, obj))->slotCanResume((TDEIO::Job*) QtSupport::getQt(env, arg1), (TDEIO::filesize_t) offset);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_Observer_slotCopying(JNIEnv* env, jobject obj, jobject arg1, jobject from, jobject to)
{
	((Observer*) QtSupport::getQt(env, obj))->slotCopying((TDEIO::Job*) QtSupport::getQt(env, arg1), (const KURL&)*(const KURL*) QtSupport::getQt(env, from), (const KURL&)*(const KURL*) QtSupport::getQt(env, to));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_Observer_slotCreatingDir(JNIEnv* env, jobject obj, jobject arg1, jobject dir)
{
	((Observer*) QtSupport::getQt(env, obj))->slotCreatingDir((TDEIO::Job*) QtSupport::getQt(env, arg1), (const KURL&)*(const KURL*) QtSupport::getQt(env, dir));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_Observer_slotDeleting(JNIEnv* env, jobject obj, jobject arg1, jobject url)
{
	((Observer*) QtSupport::getQt(env, obj))->slotDeleting((TDEIO::Job*) QtSupport::getQt(env, arg1), (const KURL&)*(const KURL*) QtSupport::getQt(env, url));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_Observer_slotInfoMessage(JNIEnv* env, jobject obj, jobject arg1, jstring msg)
{
static TQString* _qstring_msg = 0;
	((Observer*) QtSupport::getQt(env, obj))->slotInfoMessage((TDEIO::Job*) QtSupport::getQt(env, arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, msg, &_qstring_msg));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_Observer_slotMoving(JNIEnv* env, jobject obj, jobject arg1, jobject from, jobject to)
{
	((Observer*) QtSupport::getQt(env, obj))->slotMoving((TDEIO::Job*) QtSupport::getQt(env, arg1), (const KURL&)*(const KURL*) QtSupport::getQt(env, from), (const KURL&)*(const KURL*) QtSupport::getQt(env, to));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_Observer_slotPercent(JNIEnv* env, jobject obj, jobject arg1, jlong percent)
{
	((Observer*) QtSupport::getQt(env, obj))->slotPercent((TDEIO::Job*) QtSupport::getQt(env, arg1), (unsigned long) percent);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_Observer_slotProcessedDirs(JNIEnv* env, jobject obj, jobject arg1, jlong dirs)
{
	((Observer*) QtSupport::getQt(env, obj))->slotProcessedDirs((TDEIO::Job*) QtSupport::getQt(env, arg1), (unsigned long) dirs);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_Observer_slotProcessedFiles(JNIEnv* env, jobject obj, jobject arg1, jlong files)
{
	((Observer*) QtSupport::getQt(env, obj))->slotProcessedFiles((TDEIO::Job*) QtSupport::getQt(env, arg1), (unsigned long) files);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_Observer_slotProcessedSize(JNIEnv* env, jobject obj, jobject arg1, jlong size)
{
	((Observer*) QtSupport::getQt(env, obj))->slotProcessedSize((TDEIO::Job*) QtSupport::getQt(env, arg1), (TDEIO::filesize_t) size);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_Observer_slotSpeed(JNIEnv* env, jobject obj, jobject arg1, jlong speed)
{
	((Observer*) QtSupport::getQt(env, obj))->slotSpeed((TDEIO::Job*) QtSupport::getQt(env, arg1), (unsigned long) speed);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_Observer_slotTotalDirs(JNIEnv* env, jobject obj, jobject arg1, jlong dirs)
{
	((Observer*) QtSupport::getQt(env, obj))->slotTotalDirs((TDEIO::Job*) QtSupport::getQt(env, arg1), (unsigned long) dirs);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_Observer_slotTotalFiles(JNIEnv* env, jobject obj, jobject arg1, jlong files)
{
	((Observer*) QtSupport::getQt(env, obj))->slotTotalFiles((TDEIO::Job*) QtSupport::getQt(env, arg1), (unsigned long) files);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_Observer_slotTotalSize(JNIEnv* env, jobject obj, jobject arg1, jlong size)
{
	((Observer*) QtSupport::getQt(env, obj))->slotTotalSize((TDEIO::Job*) QtSupport::getQt(env, arg1), (TDEIO::filesize_t) size);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_Observer_slotTransferring(JNIEnv* env, jobject obj, jobject arg1, jobject url)
{
	((Observer*) QtSupport::getQt(env, obj))->slotTransferring((TDEIO::Job*) QtSupport::getQt(env, arg1), (const KURL&)*(const KURL*) QtSupport::getQt(env, url));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_Observer_stating(JNIEnv* env, jobject obj, jobject arg1, jobject url)
{
	((Observer*) QtSupport::getQt(env, obj))->stating((TDEIO::Job*) QtSupport::getQt(env, arg1), (const KURL&)*(const KURL*) QtSupport::getQt(env, url));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_Observer_unmounting(JNIEnv* env, jobject obj, jobject arg1, jstring point)
{
static TQString* _qstring_point = 0;
	((Observer*) QtSupport::getQt(env, obj))->unmounting((TDEIO::Job*) QtSupport::getQt(env, arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, point, &_qstring_point));
	return;
}

