//Auto-generated by kalyptus. DO NOT EDIT.
#include <tdeapplication.h>
#include <tqstring.h>
#include <tqstringlist.h>
#include <tqsessionmanager.h>
#include <tdeinstance.h>
#include <kurl.h>
#include <tqpalette.h>
#include <tqnamespace.h>
#include <tqcstring.h>
#include <tqpixmap.h>

#include <qtjava/QtSupport.h>
#include <qtjava/JavaSlot.h>
#include <tdejava/TDESupport.h>
#include <tdejava/TDEApplication.h>

class TDEApplicationJBridge : public TDEApplication
{
public:
	TDEApplicationJBridge(bool arg1,bool arg2) : TDEApplication(arg1,arg2) {};
	TDEApplicationJBridge(bool arg1) : TDEApplication(arg1) {};
	TDEApplicationJBridge() : TDEApplication() {};
	TDEApplicationJBridge(bool arg1,bool arg2,TDEInstance* arg3) : TDEApplication(arg1,arg2,arg3) {};
	void protected_invokeEditSlot(const char* arg1) {
		TDEApplication::invokeEditSlot(arg1);
		return;
	}
	~TDEApplicationJBridge() {QtSupport::qtKeyDeleted(this);}
	void protected_setConfigName(const TQString& arg1) {
		TDEInstance::setConfigName(arg1);
		return;
	}
	void processOneEvent() {
		if (!QtSupport::voidDelegate(this,"org.trinitydesktop.koala.TDEApplication","processOneEvent")) {
			TQApplication::processOneEvent();
		}
		return;
	}
	void removeChild(TQObject* arg1) {
		if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.trinitydesktop.qt.TQObject")) {
			TQObject::removeChild(arg1);
		}
		return;
	}
	void polish(TQWidget* arg1) {
		if (!QtSupport::eventDelegate(this,"polish",(void*)arg1,"org.trinitydesktop.qt.TQWidget")) {
			TQApplication::polish(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 setMainWidget(TQWidget* arg1) {
		if (!QtSupport::eventDelegate(this,"setMainWidget",(void*)arg1,"org.trinitydesktop.qt.TQWidget")) {
			TQApplication::setMainWidget(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.TDEApplication",object,event)) {
			return TQObject::eventFilter(object,event);
		} else {
			return true;
		}
	}
};

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_TDEApplication_aboutData(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEInstance*)(TDEApplication*) QtSupport::getQt(env, obj))->aboutData(), "org.trinitydesktop.koala.TDEAboutData");
	return xret;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_TDEApplication_addCmdLineOptions(JNIEnv* env, jclass cls)
{
	(void) cls;
	(void) env;
	TDEApplicationJBridge::addCmdLineOptions();
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_TDEApplication_addKipcEventMask(JNIEnv* env, jobject obj, jint id)
{
	((TDEApplication*) QtSupport::getQt(env, obj))->addKipcEventMask((int) id);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_TDEApplication_allowURLAction(JNIEnv* env, jobject obj, jstring action, jobject _baseURL, jobject _destURL)
{
static TQString* _qstring_action = 0;
	((TDEApplication*) QtSupport::getQt(env, obj))->allowURLAction((const TQString&)*(TQString*) QtSupport::toTQString(env, action, &_qstring_action), (const KURL&)*(const KURL*) QtSupport::getQt(env, _baseURL), (const KURL&)*(const KURL*) QtSupport::getQt(env, _destURL));
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_koala_TDEApplication_authorizeControlModule(JNIEnv* env, jobject obj, jstring menuId)
{
static TQString* _qstring_menuId = 0;
	jboolean xret = (jboolean) ((TDEApplication*) QtSupport::getQt(env, obj))->authorizeControlModule((const TQString&)*(TQString*) QtSupport::toTQString(env, menuId, &_qstring_menuId));
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_TDEApplication_authorizeControlModules(JNIEnv* env, jobject obj, jobjectArray menuIds)
{
	TQStringList  _qlist;
static TQStringList* _qlist_menuIds = 0;
	_qlist = ((TDEApplication*) QtSupport::getQt(env, obj))->authorizeControlModules((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, menuIds, &_qlist_menuIds));
	return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist);
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_koala_TDEApplication_authorizeTDEAction(JNIEnv* env, jobject obj, jstring action)
{
static TQCString* _qstring_action = 0;
	jboolean xret = (jboolean) ((TDEApplication*) QtSupport::getQt(env, obj))->authorizeTDEAction((const char*) QtSupport::toCharString(env, action, &_qstring_action));
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_koala_TDEApplication_authorizeURLAction(JNIEnv* env, jobject obj, jstring action, jobject baseURL, jobject destURL)
{
static TQString* _qstring_action = 0;
	jboolean xret = (jboolean) ((TDEApplication*) QtSupport::getQt(env, obj))->authorizeURLAction((const TQString&)*(TQString*) QtSupport::toTQString(env, action, &_qstring_action), (const KURL&)*(const KURL*) QtSupport::getQt(env, baseURL), (const KURL&)*(const KURL*) QtSupport::getQt(env, destURL));
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_koala_TDEApplication_authorize(JNIEnv* env, jobject obj, jstring genericAction)
{
static TQString* _qstring_genericAction = 0;
	jboolean xret = (jboolean) ((TDEApplication*) QtSupport::getQt(env, obj))->authorize((const TQString&)*(TQString*) QtSupport::toTQString(env, genericAction, &_qstring_genericAction));
	return xret;
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_koala_TDEApplication_caption(JNIEnv* env, jobject obj)
{
	TQString  _qstring;
	_qstring = ((TDEApplication*) QtSupport::getQt(env, obj))->caption();
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_koala_TDEApplication_checkRecoverFile(JNIEnv* env, jobject obj, jstring pFilename, jboolean bRecover)
{
	TQString  _qstring;
static TQString* _qstring_pFilename = 0;
	_qstring = ((TDEApplication*) QtSupport::getQt(env, obj))->checkRecoverFile((const TQString&)*(TQString*) QtSupport::toTQString(env, pFilename, &_qstring_pFilename), (bool&) bRecover);
	return QtSupport::fromTQString(env, &_qstring);
}

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

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_TDEApplication_clear(JNIEnv* env, jobject obj)
{
	((TDEApplication*) QtSupport::getQt(env, obj))->clear();
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_TDEApplication_commitData(JNIEnv* env, jobject obj, jobject sm)
{
	((TDEApplication*) QtSupport::getQt(env, obj))->commitData((TQSessionManager&)*(TQSessionManager*) QtSupport::getQt(env, sm));
	return;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_TDEApplication_config(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEInstance*)(TDEApplication*) QtSupport::getQt(env, obj))->config(), "org.trinitydesktop.koala.TDEConfig");
	return xret;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_TDEApplication_copy(JNIEnv* env, jobject obj)
{
	((TDEApplication*) QtSupport::getQt(env, obj))->copy();
	return;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_TDEApplication_createApplicationPalette__(JNIEnv* env, jclass cls)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPalette(TDEApplicationJBridge::createApplicationPalette()), "org.trinitydesktop.qt.TQPalette", true);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_TDEApplication_createApplicationPalette__Lorg_trinitydesktop_koala_TDEConfig_2I(JNIEnv* env, jclass cls, jobject config, jint contrast)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPalette(TDEApplicationJBridge::createApplicationPalette((TDEConfig*) QtSupport::getQt(env, config), (int) contrast)), "org.trinitydesktop.qt.TQPalette", true);
	return xret;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_TDEApplication_cut(JNIEnv* env, jobject obj)
{
	((TDEApplication*) QtSupport::getQt(env, obj))->cut();
	return;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_TDEApplication_dcopClient(JNIEnv* env, jclass cls)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)TDEApplicationJBridge::dcopClient(), "org.trinitydesktop.koala.DCOPClient");
	return xret;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_TDEApplication_deref(JNIEnv* env, jobject obj)
{
	((TDEApplication*) QtSupport::getQt(env, obj))->deref();
	return;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_TDEApplication_dirs(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEInstance*)(TDEApplication*) QtSupport::getQt(env, obj))->dirs(), "org.trinitydesktop.koala.TDEStandardDirs");
	return xret;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_TDEApplication_disableAutoDcopRegistration(JNIEnv* env, jclass cls)
{
	(void) cls;
	(void) env;
	TDEApplicationJBridge::disableAutoDcopRegistration();
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_TDEApplication_disableSessionManagement(JNIEnv* env, jobject obj)
{
	((TDEApplication*) QtSupport::getQt(env, obj))->disableSessionManagement();
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_TDEApplication_disableStyles(JNIEnv* env, jobject obj)
{
	((TDEApplication*) QtSupport::getQt(env, obj))->disableStyles();
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_TDEApplication_dispose(JNIEnv* env, jobject obj)
{
	Java_org_trinitydesktop_koala_TDEApplication_finalize(env, obj);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_TDEApplication_enableSessionManagement(JNIEnv* env, jobject obj)
{
	((TDEApplication*) QtSupport::getQt(env, obj))->enableSessionManagement();
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_TDEApplication_enableStyles(JNIEnv* env, jobject obj)
{
	((TDEApplication*) QtSupport::getQt(env, obj))->enableStyles();
	return;
}

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

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_koala_TDEApplication_geometryArgument(JNIEnv* env, jobject obj)
{
	TQString  _qstring;
	_qstring = ((TDEApplication*) QtSupport::getQt(env, obj))->geometryArgument();
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_koala_TDEApplication_guiEnabled(JNIEnv* env, jclass cls)
{
	(void) cls;
	(void) env;
	jboolean xret = (jboolean) TDEApplicationJBridge::guiEnabled();
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_TDEApplication_iconLoader(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEInstance*)(TDEApplication*) QtSupport::getQt(env, obj))->iconLoader(), "org.trinitydesktop.koala.TDEIconLoader");
	return xret;
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_koala_TDEApplication_iconName(JNIEnv* env, jobject obj)
{
	TQString  _qstring;
	_qstring = ((TDEApplication*) QtSupport::getQt(env, obj))->iconName();
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_TDEApplication_icon(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((TDEApplication*) QtSupport::getQt(env, obj))->icon()), "org.trinitydesktop.qt.TQPixmap", true);
	return xret;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_TDEApplication_installKDEPropertyMap(JNIEnv* env, jobject obj)
{
	((TDEApplication*) QtSupport::getQt(env, obj))->installKDEPropertyMap();
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_TDEApplication_installSigpipeHandler(JNIEnv* env, jclass cls)
{
	(void) cls;
	(void) env;
	TDEApplicationJBridge::installSigpipeHandler();
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_TDEApplication_installX11EventFilter(JNIEnv* env, jobject obj, jobject filter)
{
	((TDEApplication*) QtSupport::getQt(env, obj))->installX11EventFilter((TQWidget*) QtSupport::getQt(env, filter));
	return;
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_koala_TDEApplication_instanceName(JNIEnv* env, jobject obj)
{
	TQCString  _qstring;
	_qstring = ((TDEInstance*)(TDEApplication*) QtSupport::getQt(env, obj))->instanceName();
	return QtSupport::fromTQCString(env, &_qstring);
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_TDEApplication_invokeBrowser__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring url)
{
static TQString* _qstring_url = 0;
	((TDEApplication*) QtSupport::getQt(env, obj))->invokeBrowser((const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_TDEApplication_invokeBrowser__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring url, jstring startup_id)
{
static TQString* _qstring_url = 0;
static TQCString* _qcstring_startup_id = 0;
	((TDEApplication*) QtSupport::getQt(env, obj))->invokeBrowser((const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, startup_id, &_qcstring_startup_id));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_TDEApplication_invokeEditSlot(JNIEnv* env, jobject obj, jstring slot)
{
static TQCString* _qstring_slot = 0;
	((TDEApplicationJBridge*) QtSupport::getQt(env, obj))->protected_invokeEditSlot((const char*) QtSupport::toCharString(env, slot, &_qstring_slot));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_TDEApplication_invokeHelp__(JNIEnv* env, jobject obj)
{
	((TDEApplication*) QtSupport::getQt(env, obj))->invokeHelp();
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_TDEApplication_invokeHelp__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring anchor)
{
static TQString* _qstring_anchor = 0;
	((TDEApplication*) QtSupport::getQt(env, obj))->invokeHelp((const TQString&)*(TQString*) QtSupport::toTQString(env, anchor, &_qstring_anchor));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_TDEApplication_invokeHelp__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring anchor, jstring appname)
{
static TQString* _qstring_anchor = 0;
static TQString* _qstring_appname = 0;
	((TDEApplication*) QtSupport::getQt(env, obj))->invokeHelp((const TQString&)*(TQString*) QtSupport::toTQString(env, anchor, &_qstring_anchor), (const TQString&)*(TQString*) QtSupport::toTQString(env, appname, &_qstring_appname));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_TDEApplication_invokeHelp__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring anchor, jstring appname, jstring startup_id)
{
static TQString* _qstring_anchor = 0;
static TQString* _qstring_appname = 0;
static TQCString* _qcstring_startup_id = 0;
	((TDEApplication*) QtSupport::getQt(env, obj))->invokeHelp((const TQString&)*(TQString*) QtSupport::toTQString(env, anchor, &_qstring_anchor), (const TQString&)*(TQString*) QtSupport::toTQString(env, appname, &_qstring_appname), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, startup_id, &_qcstring_startup_id));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_TDEApplication_invokeMailer__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring address, jstring subject)
{
static TQString* _qstring_address = 0;
static TQString* _qstring_subject = 0;
	((TDEApplication*) QtSupport::getQt(env, obj))->invokeMailer((const TQString&)*(TQString*) QtSupport::toTQString(env, address, &_qstring_address), (const TQString&)*(TQString*) QtSupport::toTQString(env, subject, &_qstring_subject));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_TDEApplication_invokeMailer__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring address, jstring subject, jstring startup_id)
{
static TQString* _qstring_address = 0;
static TQString* _qstring_subject = 0;
static TQCString* _qcstring_startup_id = 0;
	((TDEApplication*) QtSupport::getQt(env, obj))->invokeMailer((const TQString&)*(TQString*) QtSupport::toTQString(env, address, &_qstring_address), (const TQString&)*(TQString*) QtSupport::toTQString(env, subject, &_qstring_subject), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, startup_id, &_qcstring_startup_id));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_TDEApplication_invokeMailer__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring to, jstring cc, jstring bcc, jstring subject, jstring body)
{
static TQString* _qstring_to = 0;
static TQString* _qstring_cc = 0;
static TQString* _qstring_bcc = 0;
static TQString* _qstring_subject = 0;
static TQString* _qstring_body = 0;
	((TDEApplication*) QtSupport::getQt(env, obj))->invokeMailer((const TQString&)*(TQString*) QtSupport::toTQString(env, to, &_qstring_to), (const TQString&)*(TQString*) QtSupport::toTQString(env, cc, &_qstring_cc), (const TQString&)*(TQString*) QtSupport::toTQString(env, bcc, &_qstring_bcc), (const TQString&)*(TQString*) QtSupport::toTQString(env, subject, &_qstring_subject), (const TQString&)*(TQString*) QtSupport::toTQString(env, body, &_qstring_body));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_TDEApplication_invokeMailer__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring to, jstring cc, jstring bcc, jstring subject, jstring body, jstring messageFile)
{
static TQString* _qstring_to = 0;
static TQString* _qstring_cc = 0;
static TQString* _qstring_bcc = 0;
static TQString* _qstring_subject = 0;
static TQString* _qstring_body = 0;
static TQString* _qstring_messageFile = 0;
	((TDEApplication*) QtSupport::getQt(env, obj))->invokeMailer((const TQString&)*(TQString*) QtSupport::toTQString(env, to, &_qstring_to), (const TQString&)*(TQString*) QtSupport::toTQString(env, cc, &_qstring_cc), (const TQString&)*(TQString*) QtSupport::toTQString(env, bcc, &_qstring_bcc), (const TQString&)*(TQString*) QtSupport::toTQString(env, subject, &_qstring_subject), (const TQString&)*(TQString*) QtSupport::toTQString(env, body, &_qstring_body), (const TQString&)*(TQString*) QtSupport::toTQString(env, messageFile, &_qstring_messageFile));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_TDEApplication_invokeMailer__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2_3Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring to, jstring cc, jstring bcc, jstring subject, jstring body, jstring messageFile, jobjectArray attachURLs)
{
static TQString* _qstring_to = 0;
static TQString* _qstring_cc = 0;
static TQString* _qstring_bcc = 0;
static TQString* _qstring_subject = 0;
static TQString* _qstring_body = 0;
static TQString* _qstring_messageFile = 0;
static TQStringList* _qlist_attachURLs = 0;
	((TDEApplication*) QtSupport::getQt(env, obj))->invokeMailer((const TQString&)*(TQString*) QtSupport::toTQString(env, to, &_qstring_to), (const TQString&)*(TQString*) QtSupport::toTQString(env, cc, &_qstring_cc), (const TQString&)*(TQString*) QtSupport::toTQString(env, bcc, &_qstring_bcc), (const TQString&)*(TQString*) QtSupport::toTQString(env, subject, &_qstring_subject), (const TQString&)*(TQString*) QtSupport::toTQString(env, body, &_qstring_body), (const TQString&)*(TQString*) QtSupport::toTQString(env, messageFile, &_qstring_messageFile), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, attachURLs, &_qlist_attachURLs));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_TDEApplication_invokeMailer__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring to, jstring cc, jstring bcc, jstring subject, jstring body, jstring messageFile, jobjectArray attachURLs, jstring startup_id)
{
static TQString* _qstring_to = 0;
static TQString* _qstring_cc = 0;
static TQString* _qstring_bcc = 0;
static TQString* _qstring_subject = 0;
static TQString* _qstring_body = 0;
static TQString* _qstring_messageFile = 0;
static TQStringList* _qlist_attachURLs = 0;
static TQCString* _qcstring_startup_id = 0;
	((TDEApplication*) QtSupport::getQt(env, obj))->invokeMailer((const TQString&)*(TQString*) QtSupport::toTQString(env, to, &_qstring_to), (const TQString&)*(TQString*) QtSupport::toTQString(env, cc, &_qstring_cc), (const TQString&)*(TQString*) QtSupport::toTQString(env, bcc, &_qstring_bcc), (const TQString&)*(TQString*) QtSupport::toTQString(env, subject, &_qstring_subject), (const TQString&)*(TQString*) QtSupport::toTQString(env, body, &_qstring_body), (const TQString&)*(TQString*) QtSupport::toTQString(env, messageFile, &_qstring_messageFile), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, attachURLs, &_qlist_attachURLs), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, startup_id, &_qcstring_startup_id));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_TDEApplication_invokeMailer__Lorg_trinitydesktop_koala_KURL_2(JNIEnv* env, jobject obj, jobject mailtoURL)
{
	((TDEApplication*) QtSupport::getQt(env, obj))->invokeMailer((const KURL&)*(const KURL*) QtSupport::getQt(env, mailtoURL));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_TDEApplication_invokeMailer__Lorg_trinitydesktop_koala_KURL_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject mailtoURL, jstring startup_id)
{
static TQCString* _qcstring_startup_id = 0;
	((TDEApplication*) QtSupport::getQt(env, obj))->invokeMailer((const KURL&)*(const KURL*) QtSupport::getQt(env, mailtoURL), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, startup_id, &_qcstring_startup_id));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_TDEApplication_invokeMailer__Lorg_trinitydesktop_koala_KURL_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject mailtoURL, jstring startup_id, jboolean allowAttachments)
{
static TQCString* _qcstring_startup_id = 0;
	((TDEApplication*) QtSupport::getQt(env, obj))->invokeMailer((const KURL&)*(const KURL*) QtSupport::getQt(env, mailtoURL), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, startup_id, &_qcstring_startup_id), (bool) allowAttachments);
	return;
}

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

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_koala_TDEApplication_isRestored(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TDEApplication*) QtSupport::getQt(env, obj))->isRestored();
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_TDEApplication_tdeApplication(JNIEnv* env, jclass cls)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)TDEApplicationJBridge::tdeApplication(), "org.trinitydesktop.koala.TDEApplication");
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_koala_TDEApplication_tdeinitExecWait__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring name)
{
	(void) cls;
static TQString* _qstring_name = 0;
	jint xret = (jint) TDEApplicationJBridge::tdeinitExecWait((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name));
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_koala_TDEApplication_tdeinitExecWait__Ljava_lang_String_2_3Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring name, jobjectArray args)
{
	(void) cls;
static TQString* _qstring_name = 0;
static TQStringList* _qlist_args = 0;
	jint xret = (jint) TDEApplicationJBridge::tdeinitExecWait((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, args, &_qlist_args));
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_koala_TDEApplication_tdeinitExecWait__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2(JNIEnv* env, jclass cls, jstring name, jobjectArray args, jobject error)
{
	(void) cls;
static TQString* _qstring_name = 0;
static TQStringList* _qlist_args = 0;
static TQString* _qstring_error = 0;
	jint xret = (jint) TDEApplicationJBridge::tdeinitExecWait((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, args, &_qlist_args), (TQString*) QtSupport::toTQStringFromStringBuffer(env, error, &_qstring_error));
	QtSupport::fromTQStringToStringBuffer(env, _qstring_error, error);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_koala_TDEApplication_tdeinitExecWait__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2_3I(JNIEnv* env, jclass cls, jstring name, jobjectArray args, jobject error, jintArray pid)
{
	(void) cls;
static TQString* _qstring_name = 0;
static TQStringList* _qlist_args = 0;
static TQString* _qstring_error = 0;
	int* _int_pid = QtSupport::toIntPtr(env, pid);
	jint xret = (jint) TDEApplicationJBridge::tdeinitExecWait((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, args, &_qlist_args), (TQString*) QtSupport::toTQStringFromStringBuffer(env, error, &_qstring_error),  (int*) _int_pid);
	QtSupport::fromTQStringToStringBuffer(env, _qstring_error, error);
	env->SetIntArrayRegion(pid, 0, 1, (jint *) _int_pid);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_koala_TDEApplication_tdeinitExecWait__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2_3ILjava_lang_String_2(JNIEnv* env, jclass cls, jstring name, jobjectArray args, jobject error, jintArray pid, jstring startup_id)
{
	(void) cls;
static TQString* _qstring_name = 0;
static TQStringList* _qlist_args = 0;
static TQString* _qstring_error = 0;
	int* _int_pid = QtSupport::toIntPtr(env, pid);
static TQCString* _qcstring_startup_id = 0;
	jint xret = (jint) TDEApplicationJBridge::tdeinitExecWait((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, args, &_qlist_args), (TQString*) QtSupport::toTQStringFromStringBuffer(env, error, &_qstring_error),  (int*) _int_pid, (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, startup_id, &_qcstring_startup_id));
	QtSupport::fromTQStringToStringBuffer(env, _qstring_error, error);
	env->SetIntArrayRegion(pid, 0, 1, (jint *) _int_pid);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_koala_TDEApplication_tdeinitExec__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring name)
{
	(void) cls;
static TQString* _qstring_name = 0;
	jint xret = (jint) TDEApplicationJBridge::tdeinitExec((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name));
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_koala_TDEApplication_tdeinitExec__Ljava_lang_String_2_3Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring name, jobjectArray args)
{
	(void) cls;
static TQString* _qstring_name = 0;
static TQStringList* _qlist_args = 0;
	jint xret = (jint) TDEApplicationJBridge::tdeinitExec((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, args, &_qlist_args));
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_koala_TDEApplication_tdeinitExec__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2(JNIEnv* env, jclass cls, jstring name, jobjectArray args, jobject error)
{
	(void) cls;
static TQString* _qstring_name = 0;
static TQStringList* _qlist_args = 0;
static TQString* _qstring_error = 0;
	jint xret = (jint) TDEApplicationJBridge::tdeinitExec((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, args, &_qlist_args), (TQString*) QtSupport::toTQStringFromStringBuffer(env, error, &_qstring_error));
	QtSupport::fromTQStringToStringBuffer(env, _qstring_error, error);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_koala_TDEApplication_tdeinitExec__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2_3I(JNIEnv* env, jclass cls, jstring name, jobjectArray args, jobject error, jintArray pid)
{
	(void) cls;
static TQString* _qstring_name = 0;
static TQStringList* _qlist_args = 0;
static TQString* _qstring_error = 0;
	int* _int_pid = QtSupport::toIntPtr(env, pid);
	jint xret = (jint) TDEApplicationJBridge::tdeinitExec((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, args, &_qlist_args), (TQString*) QtSupport::toTQStringFromStringBuffer(env, error, &_qstring_error),  (int*) _int_pid);
	QtSupport::fromTQStringToStringBuffer(env, _qstring_error, error);
	env->SetIntArrayRegion(pid, 0, 1, (jint *) _int_pid);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_koala_TDEApplication_tdeinitExec__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2_3ILjava_lang_String_2(JNIEnv* env, jclass cls, jstring name, jobjectArray args, jobject error, jintArray pid, jstring startup_id)
{
	(void) cls;
static TQString* _qstring_name = 0;
static TQStringList* _qlist_args = 0;
static TQString* _qstring_error = 0;
	int* _int_pid = QtSupport::toIntPtr(env, pid);
static TQCString* _qcstring_startup_id = 0;
	jint xret = (jint) TDEApplicationJBridge::tdeinitExec((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, args, &_qlist_args), (TQString*) QtSupport::toTQStringFromStringBuffer(env, error, &_qstring_error),  (int*) _int_pid, (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, startup_id, &_qcstring_startup_id));
	QtSupport::fromTQStringToStringBuffer(env, _qstring_error, error);
	env->SetIntArrayRegion(pid, 0, 1, (jint *) _int_pid);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_koala_TDEApplication_keyboardMouseState(JNIEnv* env, jclass cls)
{
	(void) cls;
	(void) env;
	jint xret = (jint) TDEApplicationJBridge::keyboardMouseState();
	return xret;
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_koala_TDEApplication_launcher(JNIEnv* env, jclass cls)
{
	TQCString  _qstring;
	(void) cls;
	_qstring = TDEApplicationJBridge::launcher();
	return QtSupport::fromTQCString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_koala_TDEApplication_makeStdCaption__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring userCaption)
{
	TQString  _qstring;
static TQString* _qstring_userCaption = 0;
	_qstring = ((TDEApplication*) QtSupport::getQt(env, obj))->makeStdCaption((const TQString&)*(TQString*) QtSupport::toTQString(env, userCaption, &_qstring_userCaption));
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_koala_TDEApplication_makeStdCaption__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring userCaption, jboolean withAppName)
{
	TQString  _qstring;
static TQString* _qstring_userCaption = 0;
	_qstring = ((TDEApplication*) QtSupport::getQt(env, obj))->makeStdCaption((const TQString&)*(TQString*) QtSupport::toTQString(env, userCaption, &_qstring_userCaption), (bool) withAppName);
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_koala_TDEApplication_makeStdCaption__Ljava_lang_String_2ZZ(JNIEnv* env, jobject obj, jstring userCaption, jboolean withAppName, jboolean modified)
{
	TQString  _qstring;
static TQString* _qstring_userCaption = 0;
	_qstring = ((TDEApplication*) QtSupport::getQt(env, obj))->makeStdCaption((const TQString&)*(TQString*) QtSupport::toTQString(env, userCaption, &_qstring_userCaption), (bool) withAppName, (bool) modified);
	return QtSupport::fromTQString(env, &_qstring);
}

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

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_TDEApplication_mimeSourceFactory(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEInstance*)(TDEApplication*) QtSupport::getQt(env, obj))->mimeSourceFactory(), "org.trinitydesktop.koala.KMimeSourceFactory");
	return xret;
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_koala_TDEApplication_miniIconName(JNIEnv* env, jobject obj)
{
	TQString  _qstring;
	_qstring = ((TDEApplication*) QtSupport::getQt(env, obj))->miniIconName();
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_TDEApplication_miniIcon(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((TDEApplication*) QtSupport::getQt(env, obj))->miniIcon()), "org.trinitydesktop.qt.TQPixmap", true);
	return xret;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_TDEApplication_newIconLoader(JNIEnv* env, jobject obj)
{
	((TDEInstance*)(TDEApplication*) QtSupport::getQt(env, obj))->newIconLoader();
	return;
}

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

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_TDEApplication_newTDEApplication__Z(JNIEnv* env, jobject obj, jboolean allowStyles)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new TDEApplicationJBridge((bool) allowStyles));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_TDEApplication_newTDEApplication__ZZ(JNIEnv* env, jobject obj, jboolean allowStyles, jboolean GUIenabled)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new TDEApplicationJBridge((bool) allowStyles, (bool) GUIenabled));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_TDEApplication_newTDEApplication__ZZLorg_trinitydesktop_koala_TDEInstanceInterface_2(JNIEnv* env, jobject obj, jboolean allowStyles, jboolean GUIenabled, jobject _instance)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new TDEApplicationJBridge((bool) allowStyles, (bool) GUIenabled, (TDEInstance*) QtSupport::getQt(env, _instance)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_koala_TDEApplication_notify(JNIEnv* env, jobject obj, jobject receiver, jobject event)
{
	jboolean xret = (jboolean) ((TDEApplication*) QtSupport::getQt(env, obj))->notify((TQObject*) QtSupport::getQt(env, receiver), (TQEvent*) QtSupport::getQt(env, event));
	return xret;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_TDEApplication_paste(JNIEnv* env, jobject obj)
{
	((TDEApplication*) QtSupport::getQt(env, obj))->paste();
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_TDEApplication_propagateSessionManager(JNIEnv* env, jobject obj)
{
	((TDEApplication*) QtSupport::getQt(env, obj))->propagateSessionManager();
	return;
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_koala_TDEApplication_randomString(JNIEnv* env, jclass cls, jint length)
{
	TQString  _qstring;
	(void) cls;
	_qstring = TDEApplicationJBridge::randomString((int) length);
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_koala_TDEApplication_random(JNIEnv* env, jclass cls)
{
	(void) cls;
	(void) env;
	jint xret = (jint) TDEApplicationJBridge::random();
	return xret;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_TDEApplication_ref(JNIEnv* env, jobject obj)
{
	((TDEApplication*) QtSupport::getQt(env, obj))->ref();
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_TDEApplication_removeKipcEventMask(JNIEnv* env, jobject obj, jint id)
{
	((TDEApplication*) QtSupport::getQt(env, obj))->removeKipcEventMask((int) id);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_TDEApplication_removeX11EventFilter(JNIEnv* env, jobject obj, jobject filter)
{
	((TDEApplication*) QtSupport::getQt(env, obj))->removeX11EventFilter((const TQWidget*) QtSupport::getQt(env, filter));
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_koala_TDEApplication_requestShutDown__(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TDEApplication*) QtSupport::getQt(env, obj))->requestShutDown();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_koala_TDEApplication_requestShutDown__I(JNIEnv* env, jobject obj, jint confirm)
{
	jboolean xret = (jboolean) ((TDEApplication*) QtSupport::getQt(env, obj))->requestShutDown((TDEApplication::ShutdownConfirm) confirm);
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_koala_TDEApplication_requestShutDown__II(JNIEnv* env, jobject obj, jint confirm, jint sdtype)
{
	jboolean xret = (jboolean) ((TDEApplication*) QtSupport::getQt(env, obj))->requestShutDown((TDEApplication::ShutdownConfirm) confirm, (TDEApplication::ShutdownType) sdtype);
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_koala_TDEApplication_requestShutDown__III(JNIEnv* env, jobject obj, jint confirm, jint sdtype, jint sdmode)
{
	jboolean xret = (jboolean) ((TDEApplication*) QtSupport::getQt(env, obj))->requestShutDown((TDEApplication::ShutdownConfirm) confirm, (TDEApplication::ShutdownType) sdtype, (TDEApplication::ShutdownMode) sdmode);
	return xret;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_TDEApplication_saveState(JNIEnv* env, jobject obj, jobject sm)
{
	((TDEApplication*) QtSupport::getQt(env, obj))->saveState((TQSessionManager&)*(TQSessionManager*) QtSupport::getQt(env, sm));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_TDEApplication_selectAll(JNIEnv* env, jobject obj)
{
	((TDEApplication*) QtSupport::getQt(env, obj))->selectAll();
	return;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_TDEApplication_sessionConfig(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEApplication*) QtSupport::getQt(env, obj))->sessionConfig(), "org.trinitydesktop.koala.TDEConfig");
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_koala_TDEApplication_sessionSaving(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TDEApplication*) QtSupport::getQt(env, obj))->sessionSaving();
	return xret;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_TDEApplication_setConfigName(JNIEnv* env, jobject obj, jstring name)
{
static TQString* _qstring_name = 0;
	((TDEApplicationJBridge*) QtSupport::getQt(env, obj))->protected_setConfigName((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_TDEApplication_setStartupId(JNIEnv* env, jobject obj, jstring startup_id)
{
static TQCString* _qcstring_startup_id = 0;
	((TDEApplication*) QtSupport::getQt(env, obj))->setStartupId((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, startup_id, &_qcstring_startup_id));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_TDEApplication_setTopWidget(JNIEnv* env, jobject obj, jobject topWidget)
{
	((TDEApplication*) QtSupport::getQt(env, obj))->setTopWidget((TQWidget*) QtSupport::getQt(env, topWidget));
	return;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_TDEApplication_sharedConfig(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEInstance*)(TDEApplication*) QtSupport::getQt(env, obj))->sharedConfig(), "org.trinitydesktop.koala.TDESharedConfig");
	return xret;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_TDEApplication_startKdeinit(JNIEnv* env, jclass cls)
{
	(void) cls;
	(void) env;
	TDEApplicationJBridge::startKdeinit();
	return;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_koala_TDEApplication_startServiceByDesktopName__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring _name)
{
	(void) cls;
static TQString* _qstring__name = 0;
	jint xret = (jint) TDEApplicationJBridge::startServiceByDesktopName((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name));
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_koala_TDEApplication_startServiceByDesktopName__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring _name, jstring URL)
{
	(void) cls;
static TQString* _qstring__name = 0;
static TQString* _qstring_URL = 0;
	jint xret = (jint) TDEApplicationJBridge::startServiceByDesktopName((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (const TQString&)*(TQString*) QtSupport::toTQString(env, URL, &_qstring_URL));
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_koala_TDEApplication_startServiceByDesktopName__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2(JNIEnv* env, jclass cls, jstring _name, jstring URL, jobject error)
{
	(void) cls;
static TQString* _qstring__name = 0;
static TQString* _qstring_URL = 0;
static TQString* _qstring_error = 0;
	jint xret = (jint) TDEApplicationJBridge::startServiceByDesktopName((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (const TQString&)*(TQString*) QtSupport::toTQString(env, URL, &_qstring_URL), (TQString*) QtSupport::toTQStringFromStringBuffer(env, error, &_qstring_error));
	QtSupport::fromTQStringToStringBuffer(env, _qstring_error, error);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_koala_TDEApplication_startServiceByDesktopName__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2(JNIEnv* env, jclass cls, jstring _name, jstring URL, jobject error, jobject dcopService)
{
	(void) cls;
static TQString* _qstring__name = 0;
static TQString* _qstring_URL = 0;
static TQString* _qstring_error = 0;
static TQCString* _qcstring_dcopService = 0;
	if (_qcstring_dcopService == 0) {
		_qcstring_dcopService = new TQCString();
	}
	jint xret = (jint) TDEApplicationJBridge::startServiceByDesktopName((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (const TQString&)*(TQString*) QtSupport::toTQString(env, URL, &_qstring_URL), (TQString*) QtSupport::toTQStringFromStringBuffer(env, error, &_qstring_error), (TQCString*) _qcstring_dcopService);
	QtSupport::fromTQStringToStringBuffer(env, _qstring_error, error);
	QtSupport::fromTQCStringToStringBuffer(env, _qcstring_dcopService, dcopService);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_koala_TDEApplication_startServiceByDesktopName__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3I(JNIEnv* env, jclass cls, jstring _name, jstring URL, jobject error, jobject dcopService, jintArray pid)
{
	(void) cls;
static TQString* _qstring__name = 0;
static TQString* _qstring_URL = 0;
static TQString* _qstring_error = 0;
static TQCString* _qcstring_dcopService = 0;
	if (_qcstring_dcopService == 0) {
		_qcstring_dcopService = new TQCString();
	}
	int* _int_pid = QtSupport::toIntPtr(env, pid);
	jint xret = (jint) TDEApplicationJBridge::startServiceByDesktopName((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (const TQString&)*(TQString*) QtSupport::toTQString(env, URL, &_qstring_URL), (TQString*) QtSupport::toTQStringFromStringBuffer(env, error, &_qstring_error), (TQCString*) _qcstring_dcopService,  (int*) _int_pid);
	QtSupport::fromTQStringToStringBuffer(env, _qstring_error, error);
	QtSupport::fromTQCStringToStringBuffer(env, _qcstring_dcopService, dcopService);
	env->SetIntArrayRegion(pid, 0, 1, (jint *) _int_pid);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_koala_TDEApplication_startServiceByDesktopName__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3ILjava_lang_String_2(JNIEnv* env, jclass cls, jstring _name, jstring URL, jobject error, jobject dcopService, jintArray pid, jstring startup_id)
{
	(void) cls;
static TQString* _qstring__name = 0;
static TQString* _qstring_URL = 0;
static TQString* _qstring_error = 0;
static TQCString* _qcstring_dcopService = 0;
	if (_qcstring_dcopService == 0) {
		_qcstring_dcopService = new TQCString();
	}
	int* _int_pid = QtSupport::toIntPtr(env, pid);
static TQCString* _qcstring_startup_id = 0;
	jint xret = (jint) TDEApplicationJBridge::startServiceByDesktopName((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (const TQString&)*(TQString*) QtSupport::toTQString(env, URL, &_qstring_URL), (TQString*) QtSupport::toTQStringFromStringBuffer(env, error, &_qstring_error), (TQCString*) _qcstring_dcopService,  (int*) _int_pid, (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, startup_id, &_qcstring_startup_id));
	QtSupport::fromTQStringToStringBuffer(env, _qstring_error, error);
	QtSupport::fromTQCStringToStringBuffer(env, _qcstring_dcopService, dcopService);
	env->SetIntArrayRegion(pid, 0, 1, (jint *) _int_pid);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_koala_TDEApplication_startServiceByDesktopName__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3ILjava_lang_String_2Z(JNIEnv* env, jclass cls, jstring _name, jstring URL, jobject error, jobject dcopService, jintArray pid, jstring startup_id, jboolean noWait)
{
	(void) cls;
static TQString* _qstring__name = 0;
static TQString* _qstring_URL = 0;
static TQString* _qstring_error = 0;
static TQCString* _qcstring_dcopService = 0;
	if (_qcstring_dcopService == 0) {
		_qcstring_dcopService = new TQCString();
	}
	int* _int_pid = QtSupport::toIntPtr(env, pid);
static TQCString* _qcstring_startup_id = 0;
	jint xret = (jint) TDEApplicationJBridge::startServiceByDesktopName((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (const TQString&)*(TQString*) QtSupport::toTQString(env, URL, &_qstring_URL), (TQString*) QtSupport::toTQStringFromStringBuffer(env, error, &_qstring_error), (TQCString*) _qcstring_dcopService,  (int*) _int_pid, (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, startup_id, &_qcstring_startup_id), (bool) noWait);
	QtSupport::fromTQStringToStringBuffer(env, _qstring_error, error);
	QtSupport::fromTQCStringToStringBuffer(env, _qcstring_dcopService, dcopService);
	env->SetIntArrayRegion(pid, 0, 1, (jint *) _int_pid);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_koala_TDEApplication_startServiceByDesktopName__Ljava_lang_String_2_3Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring _name, jobjectArray URLs)
{
	(void) cls;
static TQString* _qstring__name = 0;
static TQStringList* _qlist_URLs = 0;
	jint xret = (jint) TDEApplicationJBridge::startServiceByDesktopName((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, URLs, &_qlist_URLs));
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_koala_TDEApplication_startServiceByDesktopName__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2(JNIEnv* env, jclass cls, jstring _name, jobjectArray URLs, jobject error)
{
	(void) cls;
static TQString* _qstring__name = 0;
static TQStringList* _qlist_URLs = 0;
static TQString* _qstring_error = 0;
	jint xret = (jint) TDEApplicationJBridge::startServiceByDesktopName((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, URLs, &_qlist_URLs), (TQString*) QtSupport::toTQStringFromStringBuffer(env, error, &_qstring_error));
	QtSupport::fromTQStringToStringBuffer(env, _qstring_error, error);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_koala_TDEApplication_startServiceByDesktopName__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2(JNIEnv* env, jclass cls, jstring _name, jobjectArray URLs, jobject error, jobject dcopService)
{
	(void) cls;
static TQString* _qstring__name = 0;
static TQStringList* _qlist_URLs = 0;
static TQString* _qstring_error = 0;
static TQCString* _qcstring_dcopService = 0;
	if (_qcstring_dcopService == 0) {
		_qcstring_dcopService = new TQCString();
	}
	jint xret = (jint) TDEApplicationJBridge::startServiceByDesktopName((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, URLs, &_qlist_URLs), (TQString*) QtSupport::toTQStringFromStringBuffer(env, error, &_qstring_error), (TQCString*) _qcstring_dcopService);
	QtSupport::fromTQStringToStringBuffer(env, _qstring_error, error);
	QtSupport::fromTQCStringToStringBuffer(env, _qcstring_dcopService, dcopService);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_koala_TDEApplication_startServiceByDesktopName__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3I(JNIEnv* env, jclass cls, jstring _name, jobjectArray URLs, jobject error, jobject dcopService, jintArray pid)
{
	(void) cls;
static TQString* _qstring__name = 0;
static TQStringList* _qlist_URLs = 0;
static TQString* _qstring_error = 0;
static TQCString* _qcstring_dcopService = 0;
	if (_qcstring_dcopService == 0) {
		_qcstring_dcopService = new TQCString();
	}
	int* _int_pid = QtSupport::toIntPtr(env, pid);
	jint xret = (jint) TDEApplicationJBridge::startServiceByDesktopName((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, URLs, &_qlist_URLs), (TQString*) QtSupport::toTQStringFromStringBuffer(env, error, &_qstring_error), (TQCString*) _qcstring_dcopService,  (int*) _int_pid);
	QtSupport::fromTQStringToStringBuffer(env, _qstring_error, error);
	QtSupport::fromTQCStringToStringBuffer(env, _qcstring_dcopService, dcopService);
	env->SetIntArrayRegion(pid, 0, 1, (jint *) _int_pid);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_koala_TDEApplication_startServiceByDesktopName__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3ILjava_lang_String_2(JNIEnv* env, jclass cls, jstring _name, jobjectArray URLs, jobject error, jobject dcopService, jintArray pid, jstring startup_id)
{
	(void) cls;
static TQString* _qstring__name = 0;
static TQStringList* _qlist_URLs = 0;
static TQString* _qstring_error = 0;
static TQCString* _qcstring_dcopService = 0;
	if (_qcstring_dcopService == 0) {
		_qcstring_dcopService = new TQCString();
	}
	int* _int_pid = QtSupport::toIntPtr(env, pid);
static TQCString* _qcstring_startup_id = 0;
	jint xret = (jint) TDEApplicationJBridge::startServiceByDesktopName((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, URLs, &_qlist_URLs), (TQString*) QtSupport::toTQStringFromStringBuffer(env, error, &_qstring_error), (TQCString*) _qcstring_dcopService,  (int*) _int_pid, (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, startup_id, &_qcstring_startup_id));
	QtSupport::fromTQStringToStringBuffer(env, _qstring_error, error);
	QtSupport::fromTQCStringToStringBuffer(env, _qcstring_dcopService, dcopService);
	env->SetIntArrayRegion(pid, 0, 1, (jint *) _int_pid);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_koala_TDEApplication_startServiceByDesktopName__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3ILjava_lang_String_2Z(JNIEnv* env, jclass cls, jstring _name, jobjectArray URLs, jobject error, jobject dcopService, jintArray pid, jstring startup_id, jboolean noWait)
{
	(void) cls;
static TQString* _qstring__name = 0;
static TQStringList* _qlist_URLs = 0;
static TQString* _qstring_error = 0;
static TQCString* _qcstring_dcopService = 0;
	if (_qcstring_dcopService == 0) {
		_qcstring_dcopService = new TQCString();
	}
	int* _int_pid = QtSupport::toIntPtr(env, pid);
static TQCString* _qcstring_startup_id = 0;
	jint xret = (jint) TDEApplicationJBridge::startServiceByDesktopName((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, URLs, &_qlist_URLs), (TQString*) QtSupport::toTQStringFromStringBuffer(env, error, &_qstring_error), (TQCString*) _qcstring_dcopService,  (int*) _int_pid, (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, startup_id, &_qcstring_startup_id), (bool) noWait);
	QtSupport::fromTQStringToStringBuffer(env, _qstring_error, error);
	QtSupport::fromTQCStringToStringBuffer(env, _qcstring_dcopService, dcopService);
	env->SetIntArrayRegion(pid, 0, 1, (jint *) _int_pid);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_koala_TDEApplication_startServiceByDesktopPath__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring _name)
{
	(void) cls;
static TQString* _qstring__name = 0;
	jint xret = (jint) TDEApplicationJBridge::startServiceByDesktopPath((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name));
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_koala_TDEApplication_startServiceByDesktopPath__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring _name, jstring URL)
{
	(void) cls;
static TQString* _qstring__name = 0;
static TQString* _qstring_URL = 0;
	jint xret = (jint) TDEApplicationJBridge::startServiceByDesktopPath((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (const TQString&)*(TQString*) QtSupport::toTQString(env, URL, &_qstring_URL));
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_koala_TDEApplication_startServiceByDesktopPath__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2(JNIEnv* env, jclass cls, jstring _name, jstring URL, jobject error)
{
	(void) cls;
static TQString* _qstring__name = 0;
static TQString* _qstring_URL = 0;
static TQString* _qstring_error = 0;
	jint xret = (jint) TDEApplicationJBridge::startServiceByDesktopPath((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (const TQString&)*(TQString*) QtSupport::toTQString(env, URL, &_qstring_URL), (TQString*) QtSupport::toTQStringFromStringBuffer(env, error, &_qstring_error));
	QtSupport::fromTQStringToStringBuffer(env, _qstring_error, error);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_koala_TDEApplication_startServiceByDesktopPath__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2(JNIEnv* env, jclass cls, jstring _name, jstring URL, jobject error, jobject dcopService)
{
	(void) cls;
static TQString* _qstring__name = 0;
static TQString* _qstring_URL = 0;
static TQString* _qstring_error = 0;
static TQCString* _qcstring_dcopService = 0;
	if (_qcstring_dcopService == 0) {
		_qcstring_dcopService = new TQCString();
	}
	jint xret = (jint) TDEApplicationJBridge::startServiceByDesktopPath((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (const TQString&)*(TQString*) QtSupport::toTQString(env, URL, &_qstring_URL), (TQString*) QtSupport::toTQStringFromStringBuffer(env, error, &_qstring_error), (TQCString*) _qcstring_dcopService);
	QtSupport::fromTQStringToStringBuffer(env, _qstring_error, error);
	QtSupport::fromTQCStringToStringBuffer(env, _qcstring_dcopService, dcopService);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_koala_TDEApplication_startServiceByDesktopPath__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3I(JNIEnv* env, jclass cls, jstring _name, jstring URL, jobject error, jobject dcopService, jintArray pid)
{
	(void) cls;
static TQString* _qstring__name = 0;
static TQString* _qstring_URL = 0;
static TQString* _qstring_error = 0;
static TQCString* _qcstring_dcopService = 0;
	if (_qcstring_dcopService == 0) {
		_qcstring_dcopService = new TQCString();
	}
	int* _int_pid = QtSupport::toIntPtr(env, pid);
	jint xret = (jint) TDEApplicationJBridge::startServiceByDesktopPath((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (const TQString&)*(TQString*) QtSupport::toTQString(env, URL, &_qstring_URL), (TQString*) QtSupport::toTQStringFromStringBuffer(env, error, &_qstring_error), (TQCString*) _qcstring_dcopService,  (int*) _int_pid);
	QtSupport::fromTQStringToStringBuffer(env, _qstring_error, error);
	QtSupport::fromTQCStringToStringBuffer(env, _qcstring_dcopService, dcopService);
	env->SetIntArrayRegion(pid, 0, 1, (jint *) _int_pid);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_koala_TDEApplication_startServiceByDesktopPath__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3ILjava_lang_String_2(JNIEnv* env, jclass cls, jstring _name, jstring URL, jobject error, jobject dcopService, jintArray pid, jstring startup_id)
{
	(void) cls;
static TQString* _qstring__name = 0;
static TQString* _qstring_URL = 0;
static TQString* _qstring_error = 0;
static TQCString* _qcstring_dcopService = 0;
	if (_qcstring_dcopService == 0) {
		_qcstring_dcopService = new TQCString();
	}
	int* _int_pid = QtSupport::toIntPtr(env, pid);
static TQCString* _qcstring_startup_id = 0;
	jint xret = (jint) TDEApplicationJBridge::startServiceByDesktopPath((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (const TQString&)*(TQString*) QtSupport::toTQString(env, URL, &_qstring_URL), (TQString*) QtSupport::toTQStringFromStringBuffer(env, error, &_qstring_error), (TQCString*) _qcstring_dcopService,  (int*) _int_pid, (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, startup_id, &_qcstring_startup_id));
	QtSupport::fromTQStringToStringBuffer(env, _qstring_error, error);
	QtSupport::fromTQCStringToStringBuffer(env, _qcstring_dcopService, dcopService);
	env->SetIntArrayRegion(pid, 0, 1, (jint *) _int_pid);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_koala_TDEApplication_startServiceByDesktopPath__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3ILjava_lang_String_2Z(JNIEnv* env, jclass cls, jstring _name, jstring URL, jobject error, jobject dcopService, jintArray pid, jstring startup_id, jboolean noWait)
{
	(void) cls;
static TQString* _qstring__name = 0;
static TQString* _qstring_URL = 0;
static TQString* _qstring_error = 0;
static TQCString* _qcstring_dcopService = 0;
	if (_qcstring_dcopService == 0) {
		_qcstring_dcopService = new TQCString();
	}
	int* _int_pid = QtSupport::toIntPtr(env, pid);
static TQCString* _qcstring_startup_id = 0;
	jint xret = (jint) TDEApplicationJBridge::startServiceByDesktopPath((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (const TQString&)*(TQString*) QtSupport::toTQString(env, URL, &_qstring_URL), (TQString*) QtSupport::toTQStringFromStringBuffer(env, error, &_qstring_error), (TQCString*) _qcstring_dcopService,  (int*) _int_pid, (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, startup_id, &_qcstring_startup_id), (bool) noWait);
	QtSupport::fromTQStringToStringBuffer(env, _qstring_error, error);
	QtSupport::fromTQCStringToStringBuffer(env, _qcstring_dcopService, dcopService);
	env->SetIntArrayRegion(pid, 0, 1, (jint *) _int_pid);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_koala_TDEApplication_startServiceByDesktopPath__Ljava_lang_String_2_3Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring _name, jobjectArray URLs)
{
	(void) cls;
static TQString* _qstring__name = 0;
static TQStringList* _qlist_URLs = 0;
	jint xret = (jint) TDEApplicationJBridge::startServiceByDesktopPath((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, URLs, &_qlist_URLs));
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_koala_TDEApplication_startServiceByDesktopPath__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2(JNIEnv* env, jclass cls, jstring _name, jobjectArray URLs, jobject error)
{
	(void) cls;
static TQString* _qstring__name = 0;
static TQStringList* _qlist_URLs = 0;
static TQString* _qstring_error = 0;
	jint xret = (jint) TDEApplicationJBridge::startServiceByDesktopPath((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, URLs, &_qlist_URLs), (TQString*) QtSupport::toTQStringFromStringBuffer(env, error, &_qstring_error));
	QtSupport::fromTQStringToStringBuffer(env, _qstring_error, error);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_koala_TDEApplication_startServiceByDesktopPath__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2(JNIEnv* env, jclass cls, jstring _name, jobjectArray URLs, jobject error, jobject dcopService)
{
	(void) cls;
static TQString* _qstring__name = 0;
static TQStringList* _qlist_URLs = 0;
static TQString* _qstring_error = 0;
static TQCString* _qcstring_dcopService = 0;
	if (_qcstring_dcopService == 0) {
		_qcstring_dcopService = new TQCString();
	}
	jint xret = (jint) TDEApplicationJBridge::startServiceByDesktopPath((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, URLs, &_qlist_URLs), (TQString*) QtSupport::toTQStringFromStringBuffer(env, error, &_qstring_error), (TQCString*) _qcstring_dcopService);
	QtSupport::fromTQStringToStringBuffer(env, _qstring_error, error);
	QtSupport::fromTQCStringToStringBuffer(env, _qcstring_dcopService, dcopService);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_koala_TDEApplication_startServiceByDesktopPath__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3I(JNIEnv* env, jclass cls, jstring _name, jobjectArray URLs, jobject error, jobject dcopService, jintArray pid)
{
	(void) cls;
static TQString* _qstring__name = 0;
static TQStringList* _qlist_URLs = 0;
static TQString* _qstring_error = 0;
static TQCString* _qcstring_dcopService = 0;
	if (_qcstring_dcopService == 0) {
		_qcstring_dcopService = new TQCString();
	}
	int* _int_pid = QtSupport::toIntPtr(env, pid);
	jint xret = (jint) TDEApplicationJBridge::startServiceByDesktopPath((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, URLs, &_qlist_URLs), (TQString*) QtSupport::toTQStringFromStringBuffer(env, error, &_qstring_error), (TQCString*) _qcstring_dcopService,  (int*) _int_pid);
	QtSupport::fromTQStringToStringBuffer(env, _qstring_error, error);
	QtSupport::fromTQCStringToStringBuffer(env, _qcstring_dcopService, dcopService);
	env->SetIntArrayRegion(pid, 0, 1, (jint *) _int_pid);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_koala_TDEApplication_startServiceByDesktopPath__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3ILjava_lang_String_2(JNIEnv* env, jclass cls, jstring _name, jobjectArray URLs, jobject error, jobject dcopService, jintArray pid, jstring startup_id)
{
	(void) cls;
static TQString* _qstring__name = 0;
static TQStringList* _qlist_URLs = 0;
static TQString* _qstring_error = 0;
static TQCString* _qcstring_dcopService = 0;
	if (_qcstring_dcopService == 0) {
		_qcstring_dcopService = new TQCString();
	}
	int* _int_pid = QtSupport::toIntPtr(env, pid);
static TQCString* _qcstring_startup_id = 0;
	jint xret = (jint) TDEApplicationJBridge::startServiceByDesktopPath((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, URLs, &_qlist_URLs), (TQString*) QtSupport::toTQStringFromStringBuffer(env, error, &_qstring_error), (TQCString*) _qcstring_dcopService,  (int*) _int_pid, (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, startup_id, &_qcstring_startup_id));
	QtSupport::fromTQStringToStringBuffer(env, _qstring_error, error);
	QtSupport::fromTQCStringToStringBuffer(env, _qcstring_dcopService, dcopService);
	env->SetIntArrayRegion(pid, 0, 1, (jint *) _int_pid);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_koala_TDEApplication_startServiceByDesktopPath__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3ILjava_lang_String_2Z(JNIEnv* env, jclass cls, jstring _name, jobjectArray URLs, jobject error, jobject dcopService, jintArray pid, jstring startup_id, jboolean noWait)
{
	(void) cls;
static TQString* _qstring__name = 0;
static TQStringList* _qlist_URLs = 0;
static TQString* _qstring_error = 0;
static TQCString* _qcstring_dcopService = 0;
	if (_qcstring_dcopService == 0) {
		_qcstring_dcopService = new TQCString();
	}
	int* _int_pid = QtSupport::toIntPtr(env, pid);
static TQCString* _qcstring_startup_id = 0;
	jint xret = (jint) TDEApplicationJBridge::startServiceByDesktopPath((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, URLs, &_qlist_URLs), (TQString*) QtSupport::toTQStringFromStringBuffer(env, error, &_qstring_error), (TQCString*) _qcstring_dcopService,  (int*) _int_pid, (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, startup_id, &_qcstring_startup_id), (bool) noWait);
	QtSupport::fromTQStringToStringBuffer(env, _qstring_error, error);
	QtSupport::fromTQCStringToStringBuffer(env, _qcstring_dcopService, dcopService);
	env->SetIntArrayRegion(pid, 0, 1, (jint *) _int_pid);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_koala_TDEApplication_startServiceByName__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring _name)
{
	(void) cls;
static TQString* _qstring__name = 0;
	jint xret = (jint) TDEApplicationJBridge::startServiceByName((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name));
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_koala_TDEApplication_startServiceByName__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring _name, jstring URL)
{
	(void) cls;
static TQString* _qstring__name = 0;
static TQString* _qstring_URL = 0;
	jint xret = (jint) TDEApplicationJBridge::startServiceByName((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (const TQString&)*(TQString*) QtSupport::toTQString(env, URL, &_qstring_URL));
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_koala_TDEApplication_startServiceByName__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2(JNIEnv* env, jclass cls, jstring _name, jstring URL, jobject error)
{
	(void) cls;
static TQString* _qstring__name = 0;
static TQString* _qstring_URL = 0;
static TQString* _qstring_error = 0;
	jint xret = (jint) TDEApplicationJBridge::startServiceByName((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (const TQString&)*(TQString*) QtSupport::toTQString(env, URL, &_qstring_URL), (TQString*) QtSupport::toTQStringFromStringBuffer(env, error, &_qstring_error));
	QtSupport::fromTQStringToStringBuffer(env, _qstring_error, error);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_koala_TDEApplication_startServiceByName__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2(JNIEnv* env, jclass cls, jstring _name, jstring URL, jobject error, jobject dcopService)
{
	(void) cls;
static TQString* _qstring__name = 0;
static TQString* _qstring_URL = 0;
static TQString* _qstring_error = 0;
static TQCString* _qcstring_dcopService = 0;
	if (_qcstring_dcopService == 0) {
		_qcstring_dcopService = new TQCString();
	}
	jint xret = (jint) TDEApplicationJBridge::startServiceByName((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (const TQString&)*(TQString*) QtSupport::toTQString(env, URL, &_qstring_URL), (TQString*) QtSupport::toTQStringFromStringBuffer(env, error, &_qstring_error), (TQCString*) _qcstring_dcopService);
	QtSupport::fromTQStringToStringBuffer(env, _qstring_error, error);
	QtSupport::fromTQCStringToStringBuffer(env, _qcstring_dcopService, dcopService);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_koala_TDEApplication_startServiceByName__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3I(JNIEnv* env, jclass cls, jstring _name, jstring URL, jobject error, jobject dcopService, jintArray pid)
{
	(void) cls;
static TQString* _qstring__name = 0;
static TQString* _qstring_URL = 0;
static TQString* _qstring_error = 0;
static TQCString* _qcstring_dcopService = 0;
	if (_qcstring_dcopService == 0) {
		_qcstring_dcopService = new TQCString();
	}
	int* _int_pid = QtSupport::toIntPtr(env, pid);
	jint xret = (jint) TDEApplicationJBridge::startServiceByName((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (const TQString&)*(TQString*) QtSupport::toTQString(env, URL, &_qstring_URL), (TQString*) QtSupport::toTQStringFromStringBuffer(env, error, &_qstring_error), (TQCString*) _qcstring_dcopService,  (int*) _int_pid);
	QtSupport::fromTQStringToStringBuffer(env, _qstring_error, error);
	QtSupport::fromTQCStringToStringBuffer(env, _qcstring_dcopService, dcopService);
	env->SetIntArrayRegion(pid, 0, 1, (jint *) _int_pid);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_koala_TDEApplication_startServiceByName__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3ILjava_lang_String_2(JNIEnv* env, jclass cls, jstring _name, jstring URL, jobject error, jobject dcopService, jintArray pid, jstring startup_id)
{
	(void) cls;
static TQString* _qstring__name = 0;
static TQString* _qstring_URL = 0;
static TQString* _qstring_error = 0;
static TQCString* _qcstring_dcopService = 0;
	if (_qcstring_dcopService == 0) {
		_qcstring_dcopService = new TQCString();
	}
	int* _int_pid = QtSupport::toIntPtr(env, pid);
static TQCString* _qcstring_startup_id = 0;
	jint xret = (jint) TDEApplicationJBridge::startServiceByName((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (const TQString&)*(TQString*) QtSupport::toTQString(env, URL, &_qstring_URL), (TQString*) QtSupport::toTQStringFromStringBuffer(env, error, &_qstring_error), (TQCString*) _qcstring_dcopService,  (int*) _int_pid, (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, startup_id, &_qcstring_startup_id));
	QtSupport::fromTQStringToStringBuffer(env, _qstring_error, error);
	QtSupport::fromTQCStringToStringBuffer(env, _qcstring_dcopService, dcopService);
	env->SetIntArrayRegion(pid, 0, 1, (jint *) _int_pid);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_koala_TDEApplication_startServiceByName__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3ILjava_lang_String_2Z(JNIEnv* env, jclass cls, jstring _name, jstring URL, jobject error, jobject dcopService, jintArray pid, jstring startup_id, jboolean noWait)
{
	(void) cls;
static TQString* _qstring__name = 0;
static TQString* _qstring_URL = 0;
static TQString* _qstring_error = 0;
static TQCString* _qcstring_dcopService = 0;
	if (_qcstring_dcopService == 0) {
		_qcstring_dcopService = new TQCString();
	}
	int* _int_pid = QtSupport::toIntPtr(env, pid);
static TQCString* _qcstring_startup_id = 0;
	jint xret = (jint) TDEApplicationJBridge::startServiceByName((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (const TQString&)*(TQString*) QtSupport::toTQString(env, URL, &_qstring_URL), (TQString*) QtSupport::toTQStringFromStringBuffer(env, error, &_qstring_error), (TQCString*) _qcstring_dcopService,  (int*) _int_pid, (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, startup_id, &_qcstring_startup_id), (bool) noWait);
	QtSupport::fromTQStringToStringBuffer(env, _qstring_error, error);
	QtSupport::fromTQCStringToStringBuffer(env, _qcstring_dcopService, dcopService);
	env->SetIntArrayRegion(pid, 0, 1, (jint *) _int_pid);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_koala_TDEApplication_startServiceByName__Ljava_lang_String_2_3Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring _name, jobjectArray URLs)
{
	(void) cls;
static TQString* _qstring__name = 0;
static TQStringList* _qlist_URLs = 0;
	jint xret = (jint) TDEApplicationJBridge::startServiceByName((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, URLs, &_qlist_URLs));
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_koala_TDEApplication_startServiceByName__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2(JNIEnv* env, jclass cls, jstring _name, jobjectArray URLs, jobject error)
{
	(void) cls;
static TQString* _qstring__name = 0;
static TQStringList* _qlist_URLs = 0;
static TQString* _qstring_error = 0;
	jint xret = (jint) TDEApplicationJBridge::startServiceByName((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, URLs, &_qlist_URLs), (TQString*) QtSupport::toTQStringFromStringBuffer(env, error, &_qstring_error));
	QtSupport::fromTQStringToStringBuffer(env, _qstring_error, error);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_koala_TDEApplication_startServiceByName__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2(JNIEnv* env, jclass cls, jstring _name, jobjectArray URLs, jobject error, jobject dcopService)
{
	(void) cls;
static TQString* _qstring__name = 0;
static TQStringList* _qlist_URLs = 0;
static TQString* _qstring_error = 0;
static TQCString* _qcstring_dcopService = 0;
	if (_qcstring_dcopService == 0) {
		_qcstring_dcopService = new TQCString();
	}
	jint xret = (jint) TDEApplicationJBridge::startServiceByName((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, URLs, &_qlist_URLs), (TQString*) QtSupport::toTQStringFromStringBuffer(env, error, &_qstring_error), (TQCString*) _qcstring_dcopService);
	QtSupport::fromTQStringToStringBuffer(env, _qstring_error, error);
	QtSupport::fromTQCStringToStringBuffer(env, _qcstring_dcopService, dcopService);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_koala_TDEApplication_startServiceByName__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3I(JNIEnv* env, jclass cls, jstring _name, jobjectArray URLs, jobject error, jobject dcopService, jintArray pid)
{
	(void) cls;
static TQString* _qstring__name = 0;
static TQStringList* _qlist_URLs = 0;
static TQString* _qstring_error = 0;
static TQCString* _qcstring_dcopService = 0;
	if (_qcstring_dcopService == 0) {
		_qcstring_dcopService = new TQCString();
	}
	int* _int_pid = QtSupport::toIntPtr(env, pid);
	jint xret = (jint) TDEApplicationJBridge::startServiceByName((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, URLs, &_qlist_URLs), (TQString*) QtSupport::toTQStringFromStringBuffer(env, error, &_qstring_error), (TQCString*) _qcstring_dcopService,  (int*) _int_pid);
	QtSupport::fromTQStringToStringBuffer(env, _qstring_error, error);
	QtSupport::fromTQCStringToStringBuffer(env, _qcstring_dcopService, dcopService);
	env->SetIntArrayRegion(pid, 0, 1, (jint *) _int_pid);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_koala_TDEApplication_startServiceByName__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3ILjava_lang_String_2(JNIEnv* env, jclass cls, jstring _name, jobjectArray URLs, jobject error, jobject dcopService, jintArray pid, jstring startup_id)
{
	(void) cls;
static TQString* _qstring__name = 0;
static TQStringList* _qlist_URLs = 0;
static TQString* _qstring_error = 0;
static TQCString* _qcstring_dcopService = 0;
	if (_qcstring_dcopService == 0) {
		_qcstring_dcopService = new TQCString();
	}
	int* _int_pid = QtSupport::toIntPtr(env, pid);
static TQCString* _qcstring_startup_id = 0;
	jint xret = (jint) TDEApplicationJBridge::startServiceByName((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, URLs, &_qlist_URLs), (TQString*) QtSupport::toTQStringFromStringBuffer(env, error, &_qstring_error), (TQCString*) _qcstring_dcopService,  (int*) _int_pid, (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, startup_id, &_qcstring_startup_id));
	QtSupport::fromTQStringToStringBuffer(env, _qstring_error, error);
	QtSupport::fromTQCStringToStringBuffer(env, _qcstring_dcopService, dcopService);
	env->SetIntArrayRegion(pid, 0, 1, (jint *) _int_pid);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_koala_TDEApplication_startServiceByName__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3ILjava_lang_String_2Z(JNIEnv* env, jclass cls, jstring _name, jobjectArray URLs, jobject error, jobject dcopService, jintArray pid, jstring startup_id, jboolean noWait)
{
	(void) cls;
static TQString* _qstring__name = 0;
static TQStringList* _qlist_URLs = 0;
static TQString* _qstring_error = 0;
static TQCString* _qcstring_dcopService = 0;
	if (_qcstring_dcopService == 0) {
		_qcstring_dcopService = new TQCString();
	}
	int* _int_pid = QtSupport::toIntPtr(env, pid);
static TQCString* _qcstring_startup_id = 0;
	jint xret = (jint) TDEApplicationJBridge::startServiceByName((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, URLs, &_qlist_URLs), (TQString*) QtSupport::toTQStringFromStringBuffer(env, error, &_qstring_error), (TQCString*) _qcstring_dcopService,  (int*) _int_pid, (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, startup_id, &_qcstring_startup_id), (bool) noWait);
	QtSupport::fromTQStringToStringBuffer(env, _qstring_error, error);
	QtSupport::fromTQCStringToStringBuffer(env, _qcstring_dcopService, dcopService);
	env->SetIntArrayRegion(pid, 0, 1, (jint *) _int_pid);
	return xret;
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_koala_TDEApplication_startupId(JNIEnv* env, jobject obj)
{
	TQCString  _qstring;
	_qstring = ((TDEApplication*) QtSupport::getQt(env, obj))->startupId();
	return QtSupport::fromTQCString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_koala_TDEApplication_tempSaveName(JNIEnv* env, jobject obj, jstring pFilename)
{
	TQString  _qstring;
static TQString* _qstring_pFilename = 0;
	_qstring = ((TDEApplication*) QtSupport::getQt(env, obj))->tempSaveName((const TQString&)*(TQString*) QtSupport::toTQString(env, pFilename, &_qstring_pFilename));
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_TDEApplication_updateRemoteUserTimestamp__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring dcopId)
{
static TQCString* _qcstring_dcopId = 0;
	((TDEApplication*) QtSupport::getQt(env, obj))->updateRemoteUserTimestamp((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, dcopId, &_qcstring_dcopId));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_TDEApplication_updateRemoteUserTimestamp__Ljava_lang_String_2J(JNIEnv* env, jobject obj, jstring dcopId, jlong time)
{
static TQCString* _qcstring_dcopId = 0;
	((TDEApplication*) QtSupport::getQt(env, obj))->updateRemoteUserTimestamp((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, dcopId, &_qcstring_dcopId), (unsigned long) time);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_TDEApplication_updateUserTimestamp__(JNIEnv* env, jobject obj)
{
	((TDEApplication*) QtSupport::getQt(env, obj))->updateUserTimestamp();
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_TDEApplication_updateUserTimestamp__J(JNIEnv* env, jobject obj, jlong time)
{
	((TDEApplication*) QtSupport::getQt(env, obj))->updateUserTimestamp((unsigned long) time);
	return;
}

JNIEXPORT jlong JNICALL
Java_org_trinitydesktop_koala_TDEApplication_userTimestamp(JNIEnv* env, jobject obj)
{
	jlong xret = (jlong) ((TDEApplication*) QtSupport::getQt(env, obj))->userTimestamp();
	return xret;
}

#include <tdejava/TDEJavaSlot.h>

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_TDEApplication_setJavaSlotFactory(JNIEnv* env, jclass cls)
{
	(void) env;
	(void) cls;
	JavaSlot::setJavaSlotFactory(new TDEJavaSlotFactory());
	return;
}

