//Auto-generated by kalyptus. DO NOT EDIT.
#include <kservice.h>
#include <krun.h>
#include <qstring.h>
#include <qstringlist.h>
#include <kurl.h>

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

class KRunJBridge : public KRun
{
public:
	KRunJBridge(const KURL& arg1,mode_t arg2,bool arg3,bool arg4) : KRun(arg1,arg2,arg3,arg4) {};
	KRunJBridge(const KURL& arg1,mode_t arg2,bool arg3) : KRun(arg1,arg2,arg3) {};
	KRunJBridge(const KURL& arg1,mode_t arg2) : KRun(arg1,arg2) {};
	KRunJBridge(const KURL& arg1) : KRun(arg1) {};
	KRunJBridge(const KURL& arg1,QWidget* arg2,mode_t arg3,bool arg4,bool arg5) : KRun(arg1,arg2,arg3,arg4,arg5) {};
	KRunJBridge(const KURL& arg1,QWidget* arg2,mode_t arg3,bool arg4) : KRun(arg1,arg2,arg3,arg4) {};
	KRunJBridge(const KURL& arg1,QWidget* arg2,mode_t arg3) : KRun(arg1,arg2,arg3) {};
	KRunJBridge(const KURL& arg1,QWidget* arg2) : KRun(arg1,arg2) {};
	void protected_init() {
		KRun::init();
		return;
	}
	void protected_scanFile() {
		KRun::scanFile();
		return;
	}
	void protected_foundMimeType(const QString& arg1) {
		KRun::foundMimeType(arg1);
		return;
	}
	void protected_killJob() {
		KRun::killJob();
		return;
	}
	void protected_slotTimeout() {
		KRun::slotTimeout();
		return;
	}
	void protected_slotScanFinished(KIO::Job* arg1) {
		KRun::slotScanFinished(arg1);
		return;
	}
	void protected_slotScanMimeType(KIO::Job* arg1,const QString& arg2) {
		KRun::slotScanMimeType(arg1,arg2);
		return;
	}
	void protected_slotStatResult(KIO::Job* arg1) {
		KRun::slotStatResult(arg1);
		return;
	}
	~KRunJBridge() {QtSupport::qtKeyDeleted(this);}
	void slotStatResult(KIO::Job* arg1) {
		if (!QtSupport::eventDelegate(this,"slotStatResult",(void*)arg1,"org.kde.koala.Job")) {
			KRun::slotStatResult(arg1);
		}
		return;
	}
	void scanFile() {
		if (!QtSupport::voidDelegate(this,"org.kde.koala.KRun","scanFile")) {
			KRun::scanFile();
		}
		return;
	}
	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 killJob() {
		if (!QtSupport::voidDelegate(this,"org.kde.koala.KRun","killJob")) {
			KRun::killJob();
		}
		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.KRun",object,event)) {
			return QObject::eventFilter(object,event);
		} else {
			return TRUE;
		}
	}
};

JNIEXPORT void JNICALL
Java_org_kde_koala_KRun_abort(JNIEnv* env, jobject obj)
{
	((KRun*) QtSupport::getQt(env, obj))->abort();
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KRun_autoDelete(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((KRun*) QtSupport::getQt(env, obj))->autoDelete();
	return xret;
}

JNIEXPORT jstring JNICALL
Java_org_kde_koala_KRun_binaryName(JNIEnv* env, jclass cls, jstring execLine, jboolean removePath)
{
	QString  _qstring;
	(void) cls;
static QString* _qstring_execLine = 0;
	_qstring = KRunJBridge::binaryName((const QString&)*(QString*) QtSupport::toQString(env, execLine, &_qstring_execLine), (bool) removePath);
	return QtSupport::fromQString(env, &_qstring);
}

JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KRun_checkStartupNotify(JNIEnv* env, jclass cls, jstring binName, jobject service, jbooleanArray silent_arg, jobject wmclass_arg)
{
	(void) cls;
static QString* _qstring_binName = 0;
	bool* _bool_silent_arg = QtSupport::toBooleanPtr(env, silent_arg);
static QCString* _qcstring_wmclass_arg = 0;
	if (_qcstring_wmclass_arg == 0) {
		_qcstring_wmclass_arg = new QCString();
	}
	jboolean xret = (jboolean) KRunJBridge::checkStartupNotify((const QString&)*(QString*) QtSupport::toQString(env, binName, &_qstring_binName), (const KService*) QtSupport::getQt(env, service),  (bool*) _bool_silent_arg, (QCString*) _qcstring_wmclass_arg);
	env->SetBooleanArrayRegion(silent_arg, 0, 1, (jboolean*) _bool_silent_arg);
	QtSupport::fromQCStringToStringBuffer(env, _qcstring_wmclass_arg, wmclass_arg);
	return xret;
}

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

JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KRun_displayOpenWithDialog__Ljava_util_ArrayList_2(JNIEnv* env, jclass cls, jobjectArray lst)
{
	(void) cls;
static KURL::List* _qlist_lst = 0;
	jboolean xret = (jboolean) KRunJBridge::displayOpenWithDialog((const KURL::List&)*(KURL::List*) KDESupport::toKURLList(env, lst, &_qlist_lst));
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KRun_displayOpenWithDialog__Ljava_util_ArrayList_2Z(JNIEnv* env, jclass cls, jobjectArray lst, jboolean tempFiles)
{
	(void) cls;
static KURL::List* _qlist_lst = 0;
	jboolean xret = (jboolean) KRunJBridge::displayOpenWithDialog((const KURL::List&)*(KURL::List*) KDESupport::toKURLList(env, lst, &_qlist_lst), (bool) tempFiles);
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KRun_dispose(JNIEnv* env, jobject obj)
{
	Java_org_kde_koala_KRun_finalize(env, obj);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KRun_finalize(JNIEnv* env, jobject obj)
{
	if (QtSupport::allocatedInJavaWorld(env, obj) && ((KRun*)QtSupport::getQt(env, obj))->parent() == 0) {
		delete (KRun*)QtSupport::getQt(env, obj);
		QtSupport::setQt(env, obj, 0);
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KRun_foundMimeType(JNIEnv* env, jobject obj, jstring _type)
{
static QString* _qstring__type = 0;
	((KRunJBridge*) QtSupport::getQt(env, obj))->protected_foundMimeType((const QString&)*(QString*) QtSupport::toQString(env, _type, &_qstring__type));
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KRun_hasError(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((KRun*) QtSupport::getQt(env, obj))->hasError();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KRun_hasFinished(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((KRun*) QtSupport::getQt(env, obj))->hasFinished();
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KRun_init(JNIEnv* env, jobject obj)
{
	((KRunJBridge*) QtSupport::getQt(env, obj))->protected_init();
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KRun_isDisposed(JNIEnv* env, jobject obj)
{
	return (QtSupport::getQt(env, obj) == 0);
}

JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KRun_isExecutableFile(JNIEnv* env, jclass cls, jobject url, jstring mimetype)
{
	(void) cls;
static QString* _qstring_mimetype = 0;
	jboolean xret = (jboolean) KRunJBridge::isExecutableFile((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (const QString&)*(QString*) QtSupport::toQString(env, mimetype, &_qstring_mimetype));
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KRun_isExecutable(JNIEnv* env, jclass cls, jstring serviceType)
{
	(void) cls;
static QString* _qstring_serviceType = 0;
	jboolean xret = (jboolean) KRunJBridge::isExecutable((const QString&)*(QString*) QtSupport::toQString(env, serviceType, &_qstring_serviceType));
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KRun_killJob(JNIEnv* env, jobject obj)
{
	((KRunJBridge*) QtSupport::getQt(env, obj))->protected_killJob();
	return;
}

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

JNIEXPORT void JNICALL
Java_org_kde_koala_KRun_newKRun__Lorg_kde_koala_KURL_2(JNIEnv* env, jobject obj, jobject url)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new KRunJBridge((const KURL&)*(const KURL*) QtSupport::getQt(env, url)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KRun_newKRun__Lorg_kde_koala_KURL_2J(JNIEnv* env, jobject obj, jobject url, jlong mode)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new KRunJBridge((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (mode_t) mode));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KRun_newKRun__Lorg_kde_koala_KURL_2JZ(JNIEnv* env, jobject obj, jobject url, jlong mode, jboolean isLocalFile)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new KRunJBridge((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (mode_t) mode, (bool) isLocalFile));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KRun_newKRun__Lorg_kde_koala_KURL_2JZZ(JNIEnv* env, jobject obj, jobject url, jlong mode, jboolean isLocalFile, jboolean showProgressInfo)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new KRunJBridge((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (mode_t) mode, (bool) isLocalFile, (bool) showProgressInfo));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KRun_newKRun__Lorg_kde_koala_KURL_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject url, jobject window)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new KRunJBridge((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (QWidget*) QtSupport::getQt(env, window)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KRun_newKRun__Lorg_kde_koala_KURL_2Lorg_kde_qt_QWidget_2J(JNIEnv* env, jobject obj, jobject url, jobject window, jlong mode)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new KRunJBridge((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (QWidget*) QtSupport::getQt(env, window), (mode_t) mode));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KRun_newKRun__Lorg_kde_koala_KURL_2Lorg_kde_qt_QWidget_2JZ(JNIEnv* env, jobject obj, jobject url, jobject window, jlong mode, jboolean isLocalFile)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new KRunJBridge((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (QWidget*) QtSupport::getQt(env, window), (mode_t) mode, (bool) isLocalFile));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KRun_newKRun__Lorg_kde_koala_KURL_2Lorg_kde_qt_QWidget_2JZZ(JNIEnv* env, jobject obj, jobject url, jobject window, jlong mode, jboolean isLocalFile, jboolean showProgressInfo)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new KRunJBridge((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (QWidget*) QtSupport::getQt(env, window), (mode_t) mode, (bool) isLocalFile, (bool) showProgressInfo));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KRun_processDesktopExec__Lorg_kde_koala_KService_2Ljava_util_ArrayList_2Z(JNIEnv* env, jclass cls, jobject _service, jobjectArray _urls, jboolean has_shell)
{
	QStringList  _qlist;
	(void) cls;
static KURL::List* _qlist__urls = 0;
	_qlist = KRunJBridge::processDesktopExec((const KService&)*(const KService*) QtSupport::getQt(env, _service), (const KURL::List&)*(KURL::List*) KDESupport::toKURLList(env, _urls, &_qlist__urls), (bool) has_shell);
	return (jobject) QtSupport::arrayWithQStringList(env, (QStringList*) &_qlist);
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KRun_processDesktopExec__Lorg_kde_koala_KService_2Ljava_util_ArrayList_2ZZ(JNIEnv* env, jclass cls, jobject _service, jobjectArray _urls, jboolean has_shell, jboolean tempFiles)
{
	QStringList  _qlist;
	(void) cls;
static KURL::List* _qlist__urls = 0;
	_qlist = KRunJBridge::processDesktopExec((const KService&)*(const KService*) QtSupport::getQt(env, _service), (const KURL::List&)*(KURL::List*) KDESupport::toKURLList(env, _urls, &_qlist__urls), (bool) has_shell, (bool) tempFiles);
	return (jobject) QtSupport::arrayWithQStringList(env, (QStringList*) &_qlist);
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_KRun_runCommand__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring cmd)
{
	(void) cls;
static QString* _qstring_cmd = 0;
	jint xret = (jint) KRunJBridge::runCommand((QString)*(QString*) QtSupport::toQString(env, cmd, &_qstring_cmd));
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_KRun_runCommand__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring cmd, jstring execName, jstring icon)
{
	(void) cls;
static QString* _qstring_cmd = 0;
static QString* _qstring_execName = 0;
static QString* _qstring_icon = 0;
	jint xret = (jint) KRunJBridge::runCommand((const QString&)*(QString*) QtSupport::toQString(env, cmd, &_qstring_cmd), (const QString&)*(QString*) QtSupport::toQString(env, execName, &_qstring_execName), (const QString&)*(QString*) QtSupport::toQString(env, icon, &_qstring_icon));
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_KRun_runURL__Lorg_kde_koala_KURL_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject _url, jstring _mimetype)
{
	(void) cls;
static QString* _qstring__mimetype = 0;
	jint xret = (jint) KRunJBridge::runURL((const KURL&)*(const KURL*) QtSupport::getQt(env, _url), (const QString&)*(QString*) QtSupport::toQString(env, _mimetype, &_qstring__mimetype));
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_KRun_runURL__Lorg_kde_koala_KURL_2Ljava_lang_String_2Z(JNIEnv* env, jclass cls, jobject _url, jstring _mimetype, jboolean tempFile)
{
	(void) cls;
static QString* _qstring__mimetype = 0;
	jint xret = (jint) KRunJBridge::runURL((const KURL&)*(const KURL*) QtSupport::getQt(env, _url), (const QString&)*(QString*) QtSupport::toQString(env, _mimetype, &_qstring__mimetype), (bool) tempFile);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_KRun_runURL__Lorg_kde_koala_KURL_2Ljava_lang_String_2ZZ(JNIEnv* env, jclass cls, jobject _url, jstring _mimetype, jboolean tempFile, jboolean runExecutables)
{
	(void) cls;
static QString* _qstring__mimetype = 0;
	jint xret = (jint) KRunJBridge::runURL((const KURL&)*(const KURL*) QtSupport::getQt(env, _url), (const QString&)*(QString*) QtSupport::toQString(env, _mimetype, &_qstring__mimetype), (bool) tempFile, (bool) runExecutables);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_KRun_run__Ljava_lang_String_2Ljava_util_ArrayList_2(JNIEnv* env, jclass cls, jstring _exec, jobjectArray _urls)
{
	(void) cls;
static QString* _qstring__exec = 0;
static KURL::List* _qlist__urls = 0;
	jint xret = (jint) KRunJBridge::run((const QString&)*(QString*) QtSupport::toQString(env, _exec, &_qstring__exec), (const KURL::List&)*(KURL::List*) KDESupport::toKURLList(env, _urls, &_qlist__urls));
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_KRun_run__Ljava_lang_String_2Ljava_util_ArrayList_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring _exec, jobjectArray _urls, jstring _name)
{
	(void) cls;
static QString* _qstring__exec = 0;
static KURL::List* _qlist__urls = 0;
static QString* _qstring__name = 0;
	jint xret = (jint) KRunJBridge::run((const QString&)*(QString*) QtSupport::toQString(env, _exec, &_qstring__exec), (const KURL::List&)*(KURL::List*) KDESupport::toKURLList(env, _urls, &_qlist__urls), (const QString&)*(QString*) QtSupport::toQString(env, _name, &_qstring__name));
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_KRun_run__Ljava_lang_String_2Ljava_util_ArrayList_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring _exec, jobjectArray _urls, jstring _name, jstring _icon)
{
	(void) cls;
static QString* _qstring__exec = 0;
static KURL::List* _qlist__urls = 0;
static QString* _qstring__name = 0;
static QString* _qstring__icon = 0;
	jint xret = (jint) KRunJBridge::run((const QString&)*(QString*) QtSupport::toQString(env, _exec, &_qstring__exec), (const KURL::List&)*(KURL::List*) KDESupport::toKURLList(env, _urls, &_qlist__urls), (const QString&)*(QString*) QtSupport::toQString(env, _name, &_qstring__name), (const QString&)*(QString*) QtSupport::toQString(env, _icon, &_qstring__icon));
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_KRun_run__Ljava_lang_String_2Ljava_util_ArrayList_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring _exec, jobjectArray _urls, jstring _name, jstring _icon, jstring _obsolete1)
{
	(void) cls;
static QString* _qstring__exec = 0;
static KURL::List* _qlist__urls = 0;
static QString* _qstring__name = 0;
static QString* _qstring__icon = 0;
static QString* _qstring__obsolete1 = 0;
	jint xret = (jint) KRunJBridge::run((const QString&)*(QString*) QtSupport::toQString(env, _exec, &_qstring__exec), (const KURL::List&)*(KURL::List*) KDESupport::toKURLList(env, _urls, &_qlist__urls), (const QString&)*(QString*) QtSupport::toQString(env, _name, &_qstring__name), (const QString&)*(QString*) QtSupport::toQString(env, _icon, &_qstring__icon), (const QString&)*(QString*) QtSupport::toQString(env, _obsolete1, &_qstring__obsolete1));
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_KRun_run__Ljava_lang_String_2Ljava_util_ArrayList_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring _exec, jobjectArray _urls, jstring _name, jstring _icon, jstring _obsolete1, jstring _obsolete2)
{
	(void) cls;
static QString* _qstring__exec = 0;
static KURL::List* _qlist__urls = 0;
static QString* _qstring__name = 0;
static QString* _qstring__icon = 0;
static QString* _qstring__obsolete1 = 0;
static QString* _qstring__obsolete2 = 0;
	jint xret = (jint) KRunJBridge::run((const QString&)*(QString*) QtSupport::toQString(env, _exec, &_qstring__exec), (const KURL::List&)*(KURL::List*) KDESupport::toKURLList(env, _urls, &_qlist__urls), (const QString&)*(QString*) QtSupport::toQString(env, _name, &_qstring__name), (const QString&)*(QString*) QtSupport::toQString(env, _icon, &_qstring__icon), (const QString&)*(QString*) QtSupport::toQString(env, _obsolete1, &_qstring__obsolete1), (const QString&)*(QString*) QtSupport::toQString(env, _obsolete2, &_qstring__obsolete2));
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_KRun_run__Lorg_kde_koala_KService_2Ljava_util_ArrayList_2(JNIEnv* env, jclass cls, jobject _service, jobjectArray _urls)
{
	(void) cls;
static KURL::List* _qlist__urls = 0;
	jint xret = (jint) KRunJBridge::run((const KService&)*(const KService*) QtSupport::getQt(env, _service), (const KURL::List&)*(KURL::List*) KDESupport::toKURLList(env, _urls, &_qlist__urls));
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_KRun_run__Lorg_kde_koala_KService_2Ljava_util_ArrayList_2Z(JNIEnv* env, jclass cls, jobject _service, jobjectArray _urls, jboolean tempFiles)
{
	(void) cls;
static KURL::List* _qlist__urls = 0;
	jint xret = (jint) KRunJBridge::run((const KService&)*(const KService*) QtSupport::getQt(env, _service), (const KURL::List&)*(KURL::List*) KDESupport::toKURLList(env, _urls, &_qlist__urls), (bool) tempFiles);
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KRun_scanFile(JNIEnv* env, jobject obj)
{
	((KRunJBridge*) QtSupport::getQt(env, obj))->protected_scanFile();
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KRun_setAutoDelete(JNIEnv* env, jobject obj, jboolean b)
{
	((KRun*) QtSupport::getQt(env, obj))->setAutoDelete((bool) b);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KRun_setEnableExternalBrowser(JNIEnv* env, jobject obj, jboolean b)
{
	((KRun*) QtSupport::getQt(env, obj))->setEnableExternalBrowser((bool) b);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KRun_setPreferredService(JNIEnv* env, jobject obj, jstring desktopEntryName)
{
static QString* _qstring_desktopEntryName = 0;
	((KRun*) QtSupport::getQt(env, obj))->setPreferredService((const QString&)*(QString*) QtSupport::toQString(env, desktopEntryName, &_qstring_desktopEntryName));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KRun_setRunExecutables(JNIEnv* env, jobject obj, jboolean b)
{
	((KRun*) QtSupport::getQt(env, obj))->setRunExecutables((bool) b);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KRun_shellQuote(JNIEnv* env, jclass cls, jobject _str)
{
	(void) cls;
static QString* _qstring__str = 0;
	KRunJBridge::shellQuote((QString&)*(QString*) QtSupport::toQStringFromStringBuffer(env, _str, &_qstring__str));
	QtSupport::fromQStringToStringBuffer(env, _qstring__str, _str);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KRun_slotScanFinished(JNIEnv* env, jobject obj, jobject arg1)
{
	((KRunJBridge*) QtSupport::getQt(env, obj))->protected_slotScanFinished((KIO::Job*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KRun_slotScanMimeType(JNIEnv* env, jobject obj, jobject arg1, jstring type)
{
static QString* _qstring_type = 0;
	((KRunJBridge*) QtSupport::getQt(env, obj))->protected_slotScanMimeType((KIO::Job*) QtSupport::getQt(env, arg1), (const QString&)*(QString*) QtSupport::toQString(env, type, &_qstring_type));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KRun_slotStatResult(JNIEnv* env, jobject obj, jobject arg1)
{
	((KRunJBridge*) QtSupport::getQt(env, obj))->protected_slotStatResult((KIO::Job*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KRun_slotTimeout(JNIEnv* env, jobject obj)
{
	((KRunJBridge*) QtSupport::getQt(env, obj))->protected_slotTimeout();
	return;
}

