//Auto-generated by kalyptus. DO NOT EDIT.
#include <kio/renamedlg.h>
#include <kio/global.h>
#include <kio/observer.h>
#include <dcopclient.h>
#include <kio/authinfo.h>
#include <qstring.h>
#include <dcopobject.h>
#include <kurl.h>
#include <kio/skipdlg.h>
#include <qcstring.h>

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

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

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

JNIEXPORT jstring JNICALL
Java_org_kde_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_kde_koala_Observer_connectDCOPSignal(JNIEnv* env, jobject obj, jstring sender, jstring senderObj, jstring signal, jstring slot, jboolean Volatile)
{
static QCString* _qcstring_sender = 0;
static QCString* _qcstring_senderObj = 0;
static QCString* _qcstring_signal = 0;
static QCString* _qcstring_slot = 0;
	jboolean xret = (jboolean) ((DCOPObject*)(Observer*) QtSupport::getQt(env, obj))->connectDCOPSignal((const QCString&)*(QCString*) QtSupport::toQCString(env, sender, &_qcstring_sender), (const QCString&)*(QCString*) QtSupport::toQCString(env, senderObj, &_qcstring_senderObj), (const QCString&)*(QCString*) QtSupport::toQCString(env, signal, &_qcstring_signal), (const QCString&)*(QCString*) QtSupport::toQCString(env, slot, &_qcstring_slot), (bool) Volatile);
	return xret;
}

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

JNIEXPORT void JNICALL
Java_org_kde_koala_Observer_emitDCOPSignal(JNIEnv* env, jobject obj, jstring signal, jbyteArray data)
{
static QCString* _qcstring_signal = 0;
static QByteArray* _qbyteArray_data = 0;
	((DCOPObject*)(Observer*) QtSupport::getQt(env, obj))->emitDCOPSignal((const QCString&)*(QCString*) QtSupport::toQCString(env, signal, &_qcstring_signal), (const QByteArray&)*(QByteArray*) QtSupport::toQByteArray(env, data, &_qbyteArray_data));
	return;
}

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

JNIEXPORT jobject JNICALL
Java_org_kde_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_kde_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_kde_koala_Observer_hasObject(JNIEnv* env, jclass cls, jstring objId)
{
	(void) cls;
static QCString* _qcstring_objId = 0;
	jboolean xret = (jboolean) ObserverJBridge::hasObject((const QCString&)*(QCString*) QtSupport::toQCString(env, objId, &_qcstring_objId));
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_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_kde_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_kde_koala_Observer_jobFinished(JNIEnv* env, jobject obj, jint progressId)
{
	((Observer*) QtSupport::getQt(env, obj))->jobFinished((int) progressId);
	return;
}

JNIEXPORT jint JNICALL
Java_org_kde_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 QString* _qstring_text = 0;
static QString* _qstring_caption = 0;
static QString* _qstring_buttonYes = 0;
static QString* _qstring_buttonNo = 0;
	jint xret = (jint) ObserverJBridge::messageBox((int) progressId, (int) type, (const QString&)*(QString*) QtSupport::toQString(env, text, &_qstring_text), (const QString&)*(QString*) QtSupport::toQString(env, caption, &_qstring_caption), (const QString&)*(QString*) QtSupport::toQString(env, buttonYes, &_qstring_buttonYes), (const QString&)*(QString*) QtSupport::toQString(env, buttonNo, &_qstring_buttonNo));
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_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 QString* _qstring_text = 0;
static QString* _qstring_caption = 0;
static QString* _qstring_buttonYes = 0;
static QString* _qstring_buttonNo = 0;
static QString* _qstring_dontAskAgainName = 0;
	jint xret = (jint) ObserverJBridge::messageBox((int) progressId, (int) type, (const QString&)*(QString*) QtSupport::toQString(env, text, &_qstring_text), (const QString&)*(QString*) QtSupport::toQString(env, caption, &_qstring_caption), (const QString&)*(QString*) QtSupport::toQString(env, buttonYes, &_qstring_buttonYes), (const QString&)*(QString*) QtSupport::toQString(env, buttonNo, &_qstring_buttonNo), (const QString&)*(QString*) QtSupport::toQString(env, dontAskAgainName, &_qstring_dontAskAgainName));
	return xret;
}

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

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

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

JNIEXPORT void JNICALL
Java_org_kde_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_kde_koala_Observer_objId(JNIEnv* env, jobject obj)
{
	QCString  _qstring;
	_qstring = ((DCOPObject*)(Observer*) QtSupport::getQt(env, obj))->objId();
	return QtSupport::fromQCString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_kde_koala_Observer_objectName(JNIEnv* env, jclass cls, jobject arg1)
{
	QCString  _qstring;
	(void) cls;
	_qstring = ObserverJBridge::objectName((QObject*) QtSupport::getQt(env, arg1));
	return QtSupport::fromQCString(env, &_qstring);
}

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

JNIEXPORT jint JNICALL
Java_org_kde_koala_Observer_open_1RenameDlg__Lorg_kde_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 QString* _qstring_caption = 0;
static QString* _qstring_src = 0;
static QString* _qstring_dest = 0;
static QString* _qstring_newDest = 0;
	jint xret = (jint) ((Observer*) QtSupport::getQt(env, obj))->open_RenameDlg((KIO::Job*) QtSupport::getQt(env, job), (const QString&)*(QString*) QtSupport::toQString(env, caption, &_qstring_caption), (const QString&)*(QString*) QtSupport::toQString(env, src, &_qstring_src), (const QString&)*(QString*) QtSupport::toQString(env, dest, &_qstring_dest), (KIO::RenameDlg_Mode) mode, (QString&)*(QString*) QtSupport::toQStringFromStringBuffer(env, newDest, &_qstring_newDest));
	QtSupport::fromQStringToStringBuffer(env, _qstring_newDest, newDest);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_Observer_open_1RenameDlg__Lorg_kde_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 QString* _qstring_caption = 0;
static QString* _qstring_src = 0;
static QString* _qstring_dest = 0;
static QString* _qstring_newDest = 0;
	jint xret = (jint) ((Observer*) QtSupport::getQt(env, obj))->open_RenameDlg((KIO::Job*) QtSupport::getQt(env, job), (const QString&)*(QString*) QtSupport::toQString(env, caption, &_qstring_caption), (const QString&)*(QString*) QtSupport::toQString(env, src, &_qstring_src), (const QString&)*(QString*) QtSupport::toQString(env, dest, &_qstring_dest), (KIO::RenameDlg_Mode) mode, (QString&)*(QString*) QtSupport::toQStringFromStringBuffer(env, newDest, &_qstring_newDest), (KIO::filesize_t) sizeSrc);
	QtSupport::fromQStringToStringBuffer(env, _qstring_newDest, newDest);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_Observer_open_1RenameDlg__Lorg_kde_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 QString* _qstring_caption = 0;
static QString* _qstring_src = 0;
static QString* _qstring_dest = 0;
static QString* _qstring_newDest = 0;
	jint xret = (jint) ((Observer*) QtSupport::getQt(env, obj))->open_RenameDlg((KIO::Job*) QtSupport::getQt(env, job), (const QString&)*(QString*) QtSupport::toQString(env, caption, &_qstring_caption), (const QString&)*(QString*) QtSupport::toQString(env, src, &_qstring_src), (const QString&)*(QString*) QtSupport::toQString(env, dest, &_qstring_dest), (KIO::RenameDlg_Mode) mode, (QString&)*(QString*) QtSupport::toQStringFromStringBuffer(env, newDest, &_qstring_newDest), (KIO::filesize_t) sizeSrc, (KIO::filesize_t) sizeDest);
	QtSupport::fromQStringToStringBuffer(env, _qstring_newDest, newDest);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_Observer_open_1RenameDlg__Lorg_kde_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 QString* _qstring_caption = 0;
static QString* _qstring_src = 0;
static QString* _qstring_dest = 0;
static QString* _qstring_newDest = 0;
	jint xret = (jint) ((Observer*) QtSupport::getQt(env, obj))->open_RenameDlg((KIO::Job*) QtSupport::getQt(env, job), (const QString&)*(QString*) QtSupport::toQString(env, caption, &_qstring_caption), (const QString&)*(QString*) QtSupport::toQString(env, src, &_qstring_src), (const QString&)*(QString*) QtSupport::toQString(env, dest, &_qstring_dest), (KIO::RenameDlg_Mode) mode, (QString&)*(QString*) QtSupport::toQStringFromStringBuffer(env, newDest, &_qstring_newDest), (KIO::filesize_t) sizeSrc, (KIO::filesize_t) sizeDest, (time_t) ctimeSrc);
	QtSupport::fromQStringToStringBuffer(env, _qstring_newDest, newDest);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_Observer_open_1RenameDlg__Lorg_kde_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 QString* _qstring_caption = 0;
static QString* _qstring_src = 0;
static QString* _qstring_dest = 0;
static QString* _qstring_newDest = 0;
	jint xret = (jint) ((Observer*) QtSupport::getQt(env, obj))->open_RenameDlg((KIO::Job*) QtSupport::getQt(env, job), (const QString&)*(QString*) QtSupport::toQString(env, caption, &_qstring_caption), (const QString&)*(QString*) QtSupport::toQString(env, src, &_qstring_src), (const QString&)*(QString*) QtSupport::toQString(env, dest, &_qstring_dest), (KIO::RenameDlg_Mode) mode, (QString&)*(QString*) QtSupport::toQStringFromStringBuffer(env, newDest, &_qstring_newDest), (KIO::filesize_t) sizeSrc, (KIO::filesize_t) sizeDest, (time_t) ctimeSrc, (time_t) ctimeDest);
	QtSupport::fromQStringToStringBuffer(env, _qstring_newDest, newDest);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_Observer_open_1RenameDlg__Lorg_kde_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 QString* _qstring_caption = 0;
static QString* _qstring_src = 0;
static QString* _qstring_dest = 0;
static QString* _qstring_newDest = 0;
	jint xret = (jint) ((Observer*) QtSupport::getQt(env, obj))->open_RenameDlg((KIO::Job*) QtSupport::getQt(env, job), (const QString&)*(QString*) QtSupport::toQString(env, caption, &_qstring_caption), (const QString&)*(QString*) QtSupport::toQString(env, src, &_qstring_src), (const QString&)*(QString*) QtSupport::toQString(env, dest, &_qstring_dest), (KIO::RenameDlg_Mode) mode, (QString&)*(QString*) QtSupport::toQStringFromStringBuffer(env, newDest, &_qstring_newDest), (KIO::filesize_t) sizeSrc, (KIO::filesize_t) sizeDest, (time_t) ctimeSrc, (time_t) ctimeDest, (time_t) mtimeSrc);
	QtSupport::fromQStringToStringBuffer(env, _qstring_newDest, newDest);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_Observer_open_1RenameDlg__Lorg_kde_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 QString* _qstring_caption = 0;
static QString* _qstring_src = 0;
static QString* _qstring_dest = 0;
static QString* _qstring_newDest = 0;
	jint xret = (jint) ((Observer*) QtSupport::getQt(env, obj))->open_RenameDlg((KIO::Job*) QtSupport::getQt(env, job), (const QString&)*(QString*) QtSupport::toQString(env, caption, &_qstring_caption), (const QString&)*(QString*) QtSupport::toQString(env, src, &_qstring_src), (const QString&)*(QString*) QtSupport::toQString(env, dest, &_qstring_dest), (KIO::RenameDlg_Mode) mode, (QString&)*(QString*) QtSupport::toQStringFromStringBuffer(env, newDest, &_qstring_newDest), (KIO::filesize_t) sizeSrc, (KIO::filesize_t) sizeDest, (time_t) ctimeSrc, (time_t) ctimeDest, (time_t) mtimeSrc, (time_t) mtimeDest);
	QtSupport::fromQStringToStringBuffer(env, _qstring_newDest, newDest);
	return xret;
}

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

JNIEXPORT jboolean JNICALL
Java_org_kde_koala_Observer_processDynamic(JNIEnv* env, jobject obj, jstring fun, jbyteArray data, jobject replyType, jbyteArray replyData)
{
static QCString* _qcstring_fun = 0;
static QByteArray* _qbyteArray_data = 0;
static QCString* _qcstring_replyType = 0;
	if (_qcstring_replyType == 0) {
		_qcstring_replyType = new QCString();
	}
static QByteArray* _qbyteArray_replyData = 0;
	jboolean xret = (jboolean) ((DCOPObject*)(Observer*) QtSupport::getQt(env, obj))->processDynamic((const QCString&)*(QCString*) QtSupport::toQCString(env, fun, &_qcstring_fun), (const QByteArray&)*(QByteArray*) QtSupport::toQByteArray(env, data, &_qbyteArray_data), (QCString&)*(QCString*) _qcstring_replyType, (QByteArray&)*(QByteArray*) QtSupport::toQByteArray(env, replyData, &_qbyteArray_replyData));
	QtSupport::fromQCStringToStringBuffer(env, _qcstring_replyType, replyType);
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_koala_Observer_process(JNIEnv* env, jobject obj, jstring fun, jbyteArray data, jobject replyType, jbyteArray replyData)
{
static QCString* _qcstring_fun = 0;
static QByteArray* _qbyteArray_data = 0;
static QCString* _qcstring_replyType = 0;
	if (_qcstring_replyType == 0) {
		_qcstring_replyType = new QCString();
	}
static QByteArray* _qbyteArray_replyData = 0;
	jboolean xret = (jboolean) ((DCOPObject*)(Observer*) QtSupport::getQt(env, obj))->process((const QCString&)*(QCString*) QtSupport::toQCString(env, fun, &_qcstring_fun), (const QByteArray&)*(QByteArray*) QtSupport::toQByteArray(env, data, &_qbyteArray_data), (QCString&)*(QCString*) _qcstring_replyType, (QByteArray&)*(QByteArray*) QtSupport::toQByteArray(env, replyData, &_qbyteArray_replyData));
	QtSupport::fromQCStringToStringBuffer(env, _qcstring_replyType, replyType);
	return xret;
}

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

JNIEXPORT void JNICALL
Java_org_kde_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_kde_koala_Observer_setObjId(JNIEnv* env, jobject obj, jstring objId)
{
static QCString* _qcstring_objId = 0;
	jboolean xret = (jboolean) ((DCOPObject*)(Observer*) QtSupport::getQt(env, obj))->setObjId((const QCString&)*(QCString*) QtSupport::toQCString(env, objId, &_qcstring_objId));
	return xret;
}

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

JNIEXPORT void JNICALL
Java_org_kde_koala_Observer_slotCopying(JNIEnv* env, jobject obj, jobject arg1, jobject from, jobject to)
{
	((Observer*) QtSupport::getQt(env, obj))->slotCopying((KIO::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_kde_koala_Observer_slotCreatingDir(JNIEnv* env, jobject obj, jobject arg1, jobject dir)
{
	((Observer*) QtSupport::getQt(env, obj))->slotCreatingDir((KIO::Job*) QtSupport::getQt(env, arg1), (const KURL&)*(const KURL*) QtSupport::getQt(env, dir));
	return;
}

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

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

JNIEXPORT void JNICALL
Java_org_kde_koala_Observer_slotMoving(JNIEnv* env, jobject obj, jobject arg1, jobject from, jobject to)
{
	((Observer*) QtSupport::getQt(env, obj))->slotMoving((KIO::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_kde_koala_Observer_slotPercent(JNIEnv* env, jobject obj, jobject arg1, jlong percent)
{
	((Observer*) QtSupport::getQt(env, obj))->slotPercent((KIO::Job*) QtSupport::getQt(env, arg1), (unsigned long) percent);
	return;
}

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

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

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

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

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

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

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

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

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

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

