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

#include <qtjava/QtSupport.h>
#include <tdejava/TDESupport.h>
#include <tdejava/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,TQWidget* arg2,mode_t arg3,bool arg4,bool arg5) : KRun(arg1,arg2,arg3,arg4,arg5) {};
	KRunJBridge(const KURL& arg1,TQWidget* arg2,mode_t arg3,bool arg4) : KRun(arg1,arg2,arg3,arg4) {};
	KRunJBridge(const KURL& arg1,TQWidget* arg2,mode_t arg3) : KRun(arg1,arg2,arg3) {};
	KRunJBridge(const KURL& arg1,TQWidget* arg2) : KRun(arg1,arg2) {};
	void protected_init() {
		KRun::init();
		return;
	}
	void protected_scanFile() {
		KRun::scanFile();
		return;
	}
	void protected_foundMimeType(const TQString& arg1) {
		KRun::foundMimeType(arg1);
		return;
	}
	void protected_killJob() {
		KRun::killJob();
		return;
	}
	void protected_slotTimeout() {
		KRun::slotTimeout();
		return;
	}
	void protected_slotScanFinished(TDEIO::Job* arg1) {
		KRun::slotScanFinished(arg1);
		return;
	}
	void protected_slotScanMimeType(TDEIO::Job* arg1,const TQString& arg2) {
		KRun::slotScanMimeType(arg1,arg2);
		return;
	}
	void protected_slotStatResult(TDEIO::Job* arg1) {
		KRun::slotStatResult(arg1);
		return;
	}
	~KRunJBridge() {QtSupport::qtKeyDeleted(this);}
	void slotStatResult(TDEIO::Job* arg1) {
		if (!QtSupport::eventDelegate(this,"slotStatResult",(void*)arg1,"org.trinitydesktop.koala.Job")) {
			KRun::slotStatResult(arg1);
		}
		return;
	}
	void scanFile() {
		if (!QtSupport::voidDelegate(this,"org.trinitydesktop.koala.KRun","scanFile")) {
			KRun::scanFile();
		}
		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 killJob() {
		if (!QtSupport::voidDelegate(this,"org.trinitydesktop.koala.KRun","killJob")) {
			KRun::killJob();
		}
		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.KRun",object,event)) {
			return TQObject::eventFilter(object,event);
		} else {
			return TRUE;
		}
	}
};

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

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

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_koala_KRun_binaryName(JNIEnv* env, jclass cls, jstring execLine, jboolean removePath)
{
	TQString  _qstring;
	(void) cls;
static TQString* _qstring_execLine = 0;
	_qstring = KRunJBridge::binaryName((const TQString&)*(TQString*) QtSupport::toTQString(env, execLine, &_qstring_execLine), (bool) removePath);
	return QtSupport::fromTQString(env, &_qstring);
}

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

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_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_trinitydesktop_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_trinitydesktop_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_trinitydesktop_koala_KRun_dispose(JNIEnv* env, jobject obj)
{
	Java_org_trinitydesktop_koala_KRun_finalize(env, obj);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_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_trinitydesktop_koala_KRun_foundMimeType(JNIEnv* env, jobject obj, jstring _type)
{
static TQString* _qstring__type = 0;
	((KRunJBridge*) QtSupport::getQt(env, obj))->protected_foundMimeType((const TQString&)*(TQString*) QtSupport::toTQString(env, _type, &_qstring__type));
	return;
}

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

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

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

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

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

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

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

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

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KRun_newKRun__Lorg_trinitydesktop_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_trinitydesktop_koala_KRun_newKRun__Lorg_trinitydesktop_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_trinitydesktop_koala_KRun_newKRun__Lorg_trinitydesktop_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_trinitydesktop_koala_KRun_newKRun__Lorg_trinitydesktop_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_trinitydesktop_koala_KRun_newKRun__Lorg_trinitydesktop_koala_KURL_2Lorg_trinitydesktop_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), (TQWidget*) QtSupport::getQt(env, window)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KRun_newKRun__Lorg_trinitydesktop_koala_KURL_2Lorg_trinitydesktop_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), (TQWidget*) QtSupport::getQt(env, window), (mode_t) mode));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KRun_newKRun__Lorg_trinitydesktop_koala_KURL_2Lorg_trinitydesktop_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), (TQWidget*) QtSupport::getQt(env, window), (mode_t) mode, (bool) isLocalFile));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KRun_newKRun__Lorg_trinitydesktop_koala_KURL_2Lorg_trinitydesktop_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), (TQWidget*) 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_trinitydesktop_koala_KRun_processDesktopExec__Lorg_trinitydesktop_koala_KService_2Ljava_util_ArrayList_2Z(JNIEnv* env, jclass cls, jobject _service, jobjectArray _urls, jboolean has_shell)
{
	TQStringList  _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::arrayWithTQStringList(env, (TQStringList*) &_qlist);
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_KRun_processDesktopExec__Lorg_trinitydesktop_koala_KService_2Ljava_util_ArrayList_2ZZ(JNIEnv* env, jclass cls, jobject _service, jobjectArray _urls, jboolean has_shell, jboolean tempFiles)
{
	TQStringList  _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::arrayWithTQStringList(env, (TQStringList*) &_qlist);
}

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

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_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 TQString* _qstring_cmd = 0;
static TQString* _qstring_execName = 0;
static TQString* _qstring_icon = 0;
	jint xret = (jint) KRunJBridge::runCommand((const TQString&)*(TQString*) QtSupport::toTQString(env, cmd, &_qstring_cmd), (const TQString&)*(TQString*) QtSupport::toTQString(env, execName, &_qstring_execName), (const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon));
	return xret;
}

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

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

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

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

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_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 TQString* _qstring__exec = 0;
static KURL::List* _qlist__urls = 0;
static TQString* _qstring__name = 0;
	jint xret = (jint) KRunJBridge::run((const TQString&)*(TQString*) QtSupport::toTQString(env, _exec, &_qstring__exec), (const KURL::List&)*(KURL::List*) KDESupport::toKURLList(env, _urls, &_qlist__urls), (const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name));
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_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 TQString* _qstring__exec = 0;
static KURL::List* _qlist__urls = 0;
static TQString* _qstring__name = 0;
static TQString* _qstring__icon = 0;
	jint xret = (jint) KRunJBridge::run((const TQString&)*(TQString*) QtSupport::toTQString(env, _exec, &_qstring__exec), (const KURL::List&)*(KURL::List*) KDESupport::toKURLList(env, _urls, &_qlist__urls), (const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (const TQString&)*(TQString*) QtSupport::toTQString(env, _icon, &_qstring__icon));
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_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 TQString* _qstring__exec = 0;
static KURL::List* _qlist__urls = 0;
static TQString* _qstring__name = 0;
static TQString* _qstring__icon = 0;
static TQString* _qstring__obsolete1 = 0;
	jint xret = (jint) KRunJBridge::run((const TQString&)*(TQString*) QtSupport::toTQString(env, _exec, &_qstring__exec), (const KURL::List&)*(KURL::List*) KDESupport::toKURLList(env, _urls, &_qlist__urls), (const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (const TQString&)*(TQString*) QtSupport::toTQString(env, _icon, &_qstring__icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, _obsolete1, &_qstring__obsolete1));
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_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 TQString* _qstring__exec = 0;
static KURL::List* _qlist__urls = 0;
static TQString* _qstring__name = 0;
static TQString* _qstring__icon = 0;
static TQString* _qstring__obsolete1 = 0;
static TQString* _qstring__obsolete2 = 0;
	jint xret = (jint) KRunJBridge::run((const TQString&)*(TQString*) QtSupport::toTQString(env, _exec, &_qstring__exec), (const KURL::List&)*(KURL::List*) KDESupport::toKURLList(env, _urls, &_qlist__urls), (const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (const TQString&)*(TQString*) QtSupport::toTQString(env, _icon, &_qstring__icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, _obsolete1, &_qstring__obsolete1), (const TQString&)*(TQString*) QtSupport::toTQString(env, _obsolete2, &_qstring__obsolete2));
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_koala_KRun_run__Lorg_trinitydesktop_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_trinitydesktop_koala_KRun_run__Lorg_trinitydesktop_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_trinitydesktop_koala_KRun_scanFile(JNIEnv* env, jobject obj)
{
	((KRunJBridge*) QtSupport::getQt(env, obj))->protected_scanFile();
	return;
}

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

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

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

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

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KRun_shellQuote(JNIEnv* env, jclass cls, jobject _str)
{
	(void) cls;
static TQString* _qstring__str = 0;
	KRunJBridge::shellQuote((TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, _str, &_qstring__str));
	QtSupport::fromTQStringToStringBuffer(env, _qstring__str, _str);
	return;
}

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

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

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

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

