//Auto-generated by kalyptus. DO NOT EDIT.
#include <kapplication.h>
#include <tqstring.h>
#include <tqstringlist.h>
#include <tqsessionmanager.h>
#include <kinstance.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 <kdejava/KDESupport.h>
#include <kdejava/KApplication.h>

class KApplicationJBridge : public KApplication
{
public:
	KApplicationJBridge(bool arg1,bool arg2) : KApplication(arg1,arg2) {};
	KApplicationJBridge(bool arg1) : KApplication(arg1) {};
	KApplicationJBridge() : KApplication() {};
	KApplicationJBridge(bool arg1,bool arg2,KInstance* arg3) : KApplication(arg1,arg2,arg3) {};
	void protected_invokeEditSlot(const char* arg1) {
		KApplication::invokeEditSlot(arg1);
		return;
	}
	~KApplicationJBridge() {QtSupport::qtKeyDeleted(this);}
	void protected_setConfigName(const TQString& arg1) {
		KInstance::setConfigName(arg1);
		return;
	}
	void processOneEvent() {
		if (!QtSupport::voidDelegate(this,"org.kde.koala.KApplication","processOneEvent")) {
			TQApplication::processOneEvent();
		}
		return;
	}
	void removeChild(TQObject* arg1) {
		if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) {
			TQObject::removeChild(arg1);
		}
		return;
	}
	void polish(TQWidget* arg1) {
		if (!QtSupport::eventDelegate(this,"polish",(void*)arg1,"org.kde.qt.TQWidget")) {
			TQApplication::polish(arg1);
		}
		return;
	}
	void customEvent(TQCustomEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) {
			TQObject::customEvent(arg1);
		}
		return;
	}
	void timerEvent(TQTimerEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) {
			TQObject::timerEvent(arg1);
		}
		return;
	}
	void childEvent(TQChildEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) {
			TQObject::childEvent(arg1);
		}
		return;
	}
	void setMainWidget(TQWidget* arg1) {
		if (!QtSupport::eventDelegate(this,"setMainWidget",(void*)arg1,"org.kde.qt.TQWidget")) {
			TQApplication::setMainWidget(arg1);
		}
		return;
	}
	void insertChild(TQObject* arg1) {
		if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) {
			TQObject::insertChild(arg1);
		}
		return;
	}
	bool eventFilter(TQObject* object,TQEvent* event) {
		if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KApplication",object,event)) {
			return TQObject::eventFilter(object,event);
		} else {
			return TRUE;
		}
	}
};

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KApplication_aboutData(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((KInstance*)(KApplication*) QtSupport::getQt(env, obj))->aboutData(), "org.kde.koala.KAboutData");
	return xret;
}

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

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

JNIEXPORT void JNICALL
Java_org_kde_koala_KApplication_allowURLAction(JNIEnv* env, jobject obj, jstring action, jobject _baseURL, jobject _destURL)
{
static TQString* _qstring_action = 0;
	((KApplication*) QtSupport::getQt(env, obj))->allowURLAction((const TQString&)*(TQString*) QtSupport::toQString(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_kde_koala_KApplication_authorizeControlModule(JNIEnv* env, jobject obj, jstring menuId)
{
static TQString* _qstring_menuId = 0;
	jboolean xret = (jboolean) ((KApplication*) QtSupport::getQt(env, obj))->authorizeControlModule((const TQString&)*(TQString*) QtSupport::toQString(env, menuId, &_qstring_menuId));
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KApplication_authorizeControlModules(JNIEnv* env, jobject obj, jobjectArray menuIds)
{
	TQStringList  _qlist;
static TQStringList* _qlist_menuIds = 0;
	_qlist = ((KApplication*) QtSupport::getQt(env, obj))->authorizeControlModules((const TQStringList&)*(TQStringList*) QtSupport::toQStringList(env, menuIds, &_qlist_menuIds));
	return (jobject) QtSupport::arrayWithQStringList(env, (TQStringList*) &_qlist);
}

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

JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KApplication_authorizeURLAction(JNIEnv* env, jobject obj, jstring action, jobject baseURL, jobject destURL)
{
static TQString* _qstring_action = 0;
	jboolean xret = (jboolean) ((KApplication*) QtSupport::getQt(env, obj))->authorizeURLAction((const TQString&)*(TQString*) QtSupport::toQString(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_kde_koala_KApplication_authorize(JNIEnv* env, jobject obj, jstring genericAction)
{
static TQString* _qstring_genericAction = 0;
	jboolean xret = (jboolean) ((KApplication*) QtSupport::getQt(env, obj))->authorize((const TQString&)*(TQString*) QtSupport::toQString(env, genericAction, &_qstring_genericAction));
	return xret;
}

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

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

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

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

JNIEXPORT void JNICALL
Java_org_kde_koala_KApplication_commitData(JNIEnv* env, jobject obj, jobject sm)
{
	((KApplication*) QtSupport::getQt(env, obj))->commitData((QSessionManager&)*(QSessionManager*) QtSupport::getQt(env, sm));
	return;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KApplication_config(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((KInstance*)(KApplication*) QtSupport::getQt(env, obj))->config(), "org.kde.koala.KConfig");
	return xret;
}

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

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KApplication_createApplicationPalette__(JNIEnv* env, jclass cls)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPalette(KApplicationJBridge::createApplicationPalette()), "org.kde.qt.TQPalette", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KApplication_createApplicationPalette__Lorg_kde_koala_KConfig_2I(JNIEnv* env, jclass cls, jobject config, jint contrast)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPalette(KApplicationJBridge::createApplicationPalette((KConfig*) QtSupport::getQt(env, config), (int) contrast)), "org.kde.qt.TQPalette", TRUE);
	return xret;
}

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

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

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

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KApplication_dirs(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((KInstance*)(KApplication*) QtSupport::getQt(env, obj))->dirs(), "org.kde.koala.KStandardDirs");
	return xret;
}

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

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

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

JNIEXPORT void JNICALL
Java_org_kde_koala_KApplication_dispose(JNIEnv* env, jobject obj)
{
	Java_org_kde_koala_KApplication_finalize(env, obj);
	return;
}

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

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

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

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

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

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KApplication_iconLoader(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((KInstance*)(KApplication*) QtSupport::getQt(env, obj))->iconLoader(), "org.kde.koala.KIconLoader");
	return xret;
}

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

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KApplication_icon(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((KApplication*) QtSupport::getQt(env, obj))->icon()), "org.kde.qt.TQPixmap", TRUE);
	return xret;
}

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

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

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

JNIEXPORT jstring JNICALL
Java_org_kde_koala_KApplication_instanceName(JNIEnv* env, jobject obj)
{
	TQCString  _qstring;
	_qstring = ((KInstance*)(KApplication*) QtSupport::getQt(env, obj))->instanceName();
	return QtSupport::fromQCString(env, &_qstring);
}

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

JNIEXPORT void JNICALL
Java_org_kde_koala_KApplication_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;
	((KApplication*) QtSupport::getQt(env, obj))->invokeBrowser((const TQString&)*(TQString*) QtSupport::toQString(env, url, &_qstring_url), (const TQCString&)*(TQCString*) QtSupport::toQCString(env, startup_id, &_qcstring_startup_id));
	return;
}

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

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

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

JNIEXPORT void JNICALL
Java_org_kde_koala_KApplication_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;
	((KApplication*) QtSupport::getQt(env, obj))->invokeHelp((const TQString&)*(TQString*) QtSupport::toQString(env, anchor, &_qstring_anchor), (const TQString&)*(TQString*) QtSupport::toQString(env, appname, &_qstring_appname));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KApplication_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;
	((KApplication*) QtSupport::getQt(env, obj))->invokeHelp((const TQString&)*(TQString*) QtSupport::toQString(env, anchor, &_qstring_anchor), (const TQString&)*(TQString*) QtSupport::toQString(env, appname, &_qstring_appname), (const TQCString&)*(TQCString*) QtSupport::toQCString(env, startup_id, &_qcstring_startup_id));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KApplication_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;
	((KApplication*) QtSupport::getQt(env, obj))->invokeMailer((const TQString&)*(TQString*) QtSupport::toQString(env, address, &_qstring_address), (const TQString&)*(TQString*) QtSupport::toQString(env, subject, &_qstring_subject));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KApplication_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;
	((KApplication*) QtSupport::getQt(env, obj))->invokeMailer((const TQString&)*(TQString*) QtSupport::toQString(env, address, &_qstring_address), (const TQString&)*(TQString*) QtSupport::toQString(env, subject, &_qstring_subject), (const TQCString&)*(TQCString*) QtSupport::toQCString(env, startup_id, &_qcstring_startup_id));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KApplication_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;
	((KApplication*) QtSupport::getQt(env, obj))->invokeMailer((const TQString&)*(TQString*) QtSupport::toQString(env, to, &_qstring_to), (const TQString&)*(TQString*) QtSupport::toQString(env, cc, &_qstring_cc), (const TQString&)*(TQString*) QtSupport::toQString(env, bcc, &_qstring_bcc), (const TQString&)*(TQString*) QtSupport::toQString(env, subject, &_qstring_subject), (const TQString&)*(TQString*) QtSupport::toQString(env, body, &_qstring_body));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KApplication_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;
	((KApplication*) QtSupport::getQt(env, obj))->invokeMailer((const TQString&)*(TQString*) QtSupport::toQString(env, to, &_qstring_to), (const TQString&)*(TQString*) QtSupport::toQString(env, cc, &_qstring_cc), (const TQString&)*(TQString*) QtSupport::toQString(env, bcc, &_qstring_bcc), (const TQString&)*(TQString*) QtSupport::toQString(env, subject, &_qstring_subject), (const TQString&)*(TQString*) QtSupport::toQString(env, body, &_qstring_body), (const TQString&)*(TQString*) QtSupport::toQString(env, messageFile, &_qstring_messageFile));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KApplication_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;
	((KApplication*) QtSupport::getQt(env, obj))->invokeMailer((const TQString&)*(TQString*) QtSupport::toQString(env, to, &_qstring_to), (const TQString&)*(TQString*) QtSupport::toQString(env, cc, &_qstring_cc), (const TQString&)*(TQString*) QtSupport::toQString(env, bcc, &_qstring_bcc), (const TQString&)*(TQString*) QtSupport::toQString(env, subject, &_qstring_subject), (const TQString&)*(TQString*) QtSupport::toQString(env, body, &_qstring_body), (const TQString&)*(TQString*) QtSupport::toQString(env, messageFile, &_qstring_messageFile), (const TQStringList&)*(TQStringList*) QtSupport::toQStringList(env, attachURLs, &_qlist_attachURLs));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KApplication_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;
	((KApplication*) QtSupport::getQt(env, obj))->invokeMailer((const TQString&)*(TQString*) QtSupport::toQString(env, to, &_qstring_to), (const TQString&)*(TQString*) QtSupport::toQString(env, cc, &_qstring_cc), (const TQString&)*(TQString*) QtSupport::toQString(env, bcc, &_qstring_bcc), (const TQString&)*(TQString*) QtSupport::toQString(env, subject, &_qstring_subject), (const TQString&)*(TQString*) QtSupport::toQString(env, body, &_qstring_body), (const TQString&)*(TQString*) QtSupport::toQString(env, messageFile, &_qstring_messageFile), (const TQStringList&)*(TQStringList*) QtSupport::toQStringList(env, attachURLs, &_qlist_attachURLs), (const TQCString&)*(TQCString*) QtSupport::toQCString(env, startup_id, &_qcstring_startup_id));
	return;
}

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

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

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

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

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

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KApplication_kApplication(JNIEnv* env, jclass cls)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)KApplicationJBridge::kApplication(), "org.kde.koala.KApplication");
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_KApplication_kdeinitExecWait__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring name)
{
	(void) cls;
static TQString* _qstring_name = 0;
	jint xret = (jint) KApplicationJBridge::kdeinitExecWait((const TQString&)*(TQString*) QtSupport::toQString(env, name, &_qstring_name));
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_KApplication_kdeinitExecWait__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) KApplicationJBridge::kdeinitExecWait((const TQString&)*(TQString*) QtSupport::toQString(env, name, &_qstring_name), (const TQStringList&)*(TQStringList*) QtSupport::toQStringList(env, args, &_qlist_args));
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_KApplication_kdeinitExecWait__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) KApplicationJBridge::kdeinitExecWait((const TQString&)*(TQString*) QtSupport::toQString(env, name, &_qstring_name), (const TQStringList&)*(TQStringList*) QtSupport::toQStringList(env, args, &_qlist_args), (TQString*) QtSupport::toQStringFromStringBuffer(env, error, &_qstring_error));
	QtSupport::fromQStringToStringBuffer(env, _qstring_error, error);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_KApplication_kdeinitExecWait__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) KApplicationJBridge::kdeinitExecWait((const TQString&)*(TQString*) QtSupport::toQString(env, name, &_qstring_name), (const TQStringList&)*(TQStringList*) QtSupport::toQStringList(env, args, &_qlist_args), (TQString*) QtSupport::toQStringFromStringBuffer(env, error, &_qstring_error),  (int*) _int_pid);
	QtSupport::fromQStringToStringBuffer(env, _qstring_error, error);
	env->SetIntArrayRegion(pid, 0, 1, (jint *) _int_pid);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_KApplication_kdeinitExecWait__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) KApplicationJBridge::kdeinitExecWait((const TQString&)*(TQString*) QtSupport::toQString(env, name, &_qstring_name), (const TQStringList&)*(TQStringList*) QtSupport::toQStringList(env, args, &_qlist_args), (TQString*) QtSupport::toQStringFromStringBuffer(env, error, &_qstring_error),  (int*) _int_pid, (const TQCString&)*(TQCString*) QtSupport::toQCString(env, startup_id, &_qcstring_startup_id));
	QtSupport::fromQStringToStringBuffer(env, _qstring_error, error);
	env->SetIntArrayRegion(pid, 0, 1, (jint *) _int_pid);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_KApplication_kdeinitExec__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring name)
{
	(void) cls;
static TQString* _qstring_name = 0;
	jint xret = (jint) KApplicationJBridge::kdeinitExec((const TQString&)*(TQString*) QtSupport::toQString(env, name, &_qstring_name));
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_KApplication_kdeinitExec__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) KApplicationJBridge::kdeinitExec((const TQString&)*(TQString*) QtSupport::toQString(env, name, &_qstring_name), (const TQStringList&)*(TQStringList*) QtSupport::toQStringList(env, args, &_qlist_args));
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_KApplication_kdeinitExec__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) KApplicationJBridge::kdeinitExec((const TQString&)*(TQString*) QtSupport::toQString(env, name, &_qstring_name), (const TQStringList&)*(TQStringList*) QtSupport::toQStringList(env, args, &_qlist_args), (TQString*) QtSupport::toQStringFromStringBuffer(env, error, &_qstring_error));
	QtSupport::fromQStringToStringBuffer(env, _qstring_error, error);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_KApplication_kdeinitExec__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) KApplicationJBridge::kdeinitExec((const TQString&)*(TQString*) QtSupport::toQString(env, name, &_qstring_name), (const TQStringList&)*(TQStringList*) QtSupport::toQStringList(env, args, &_qlist_args), (TQString*) QtSupport::toQStringFromStringBuffer(env, error, &_qstring_error),  (int*) _int_pid);
	QtSupport::fromQStringToStringBuffer(env, _qstring_error, error);
	env->SetIntArrayRegion(pid, 0, 1, (jint *) _int_pid);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_KApplication_kdeinitExec__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) KApplicationJBridge::kdeinitExec((const TQString&)*(TQString*) QtSupport::toQString(env, name, &_qstring_name), (const TQStringList&)*(TQStringList*) QtSupport::toQStringList(env, args, &_qlist_args), (TQString*) QtSupport::toQStringFromStringBuffer(env, error, &_qstring_error),  (int*) _int_pid, (const TQCString&)*(TQCString*) QtSupport::toQCString(env, startup_id, &_qcstring_startup_id));
	QtSupport::fromQStringToStringBuffer(env, _qstring_error, error);
	env->SetIntArrayRegion(pid, 0, 1, (jint *) _int_pid);
	return xret;
}

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

JNIEXPORT jstring JNICALL
Java_org_kde_koala_KApplication_launcher(JNIEnv* env, jclass cls)
{
	TQCString  _qstring;
	(void) cls;
	_qstring = KApplicationJBridge::launcher();
	return QtSupport::fromQCString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_kde_koala_KApplication_makeStdCaption__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring userCaption)
{
	TQString  _qstring;
static TQString* _qstring_userCaption = 0;
	_qstring = ((KApplication*) QtSupport::getQt(env, obj))->makeStdCaption((const TQString&)*(TQString*) QtSupport::toQString(env, userCaption, &_qstring_userCaption));
	return QtSupport::fromQString(env, &_qstring);
}

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

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

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

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KApplication_mimeSourceFactory(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((KInstance*)(KApplication*) QtSupport::getQt(env, obj))->mimeSourceFactory(), "org.kde.koala.KMimeSourceFactory");
	return xret;
}

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

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KApplication_miniIcon(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((KApplication*) QtSupport::getQt(env, obj))->miniIcon()), "org.kde.qt.TQPixmap", TRUE);
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KApplication_newIconLoader(JNIEnv* env, jobject obj)
{
	((KInstance*)(KApplication*) QtSupport::getQt(env, obj))->newIconLoader();
	return;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

JNIEXPORT void JNICALL
Java_org_kde_koala_KApplication_saveState(JNIEnv* env, jobject obj, jobject sm)
{
	((KApplication*) QtSupport::getQt(env, obj))->saveState((QSessionManager&)*(QSessionManager*) QtSupport::getQt(env, sm));
	return;
}

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

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KApplication_sessionConfig(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((KApplication*) QtSupport::getQt(env, obj))->sessionConfig(), "org.kde.koala.KConfig");
	return xret;
}

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

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

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

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

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KApplication_sharedConfig(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((KInstance*)(KApplication*) QtSupport::getQt(env, obj))->sharedConfig(), "org.kde.koala.KSharedConfig");
	return xret;
}

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

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

JNIEXPORT jint JNICALL
Java_org_kde_koala_KApplication_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) KApplicationJBridge::startServiceByDesktopName((const TQString&)*(TQString*) QtSupport::toQString(env, _name, &_qstring__name), (const TQString&)*(TQString*) QtSupport::toQString(env, URL, &_qstring_URL));
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_KApplication_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) KApplicationJBridge::startServiceByDesktopName((const TQString&)*(TQString*) QtSupport::toQString(env, _name, &_qstring__name), (const TQString&)*(TQString*) QtSupport::toQString(env, URL, &_qstring_URL), (TQString*) QtSupport::toQStringFromStringBuffer(env, error, &_qstring_error));
	QtSupport::fromQStringToStringBuffer(env, _qstring_error, error);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_KApplication_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) KApplicationJBridge::startServiceByDesktopName((const TQString&)*(TQString*) QtSupport::toQString(env, _name, &_qstring__name), (const TQString&)*(TQString*) QtSupport::toQString(env, URL, &_qstring_URL), (TQString*) QtSupport::toQStringFromStringBuffer(env, error, &_qstring_error), (TQCString*) _qcstring_dcopService);
	QtSupport::fromQStringToStringBuffer(env, _qstring_error, error);
	QtSupport::fromQCStringToStringBuffer(env, _qcstring_dcopService, dcopService);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_KApplication_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) KApplicationJBridge::startServiceByDesktopName((const TQString&)*(TQString*) QtSupport::toQString(env, _name, &_qstring__name), (const TQString&)*(TQString*) QtSupport::toQString(env, URL, &_qstring_URL), (TQString*) QtSupport::toQStringFromStringBuffer(env, error, &_qstring_error), (TQCString*) _qcstring_dcopService,  (int*) _int_pid);
	QtSupport::fromQStringToStringBuffer(env, _qstring_error, error);
	QtSupport::fromQCStringToStringBuffer(env, _qcstring_dcopService, dcopService);
	env->SetIntArrayRegion(pid, 0, 1, (jint *) _int_pid);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_KApplication_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) KApplicationJBridge::startServiceByDesktopName((const TQString&)*(TQString*) QtSupport::toQString(env, _name, &_qstring__name), (const TQString&)*(TQString*) QtSupport::toQString(env, URL, &_qstring_URL), (TQString*) QtSupport::toQStringFromStringBuffer(env, error, &_qstring_error), (TQCString*) _qcstring_dcopService,  (int*) _int_pid, (const TQCString&)*(TQCString*) QtSupport::toQCString(env, startup_id, &_qcstring_startup_id));
	QtSupport::fromQStringToStringBuffer(env, _qstring_error, error);
	QtSupport::fromQCStringToStringBuffer(env, _qcstring_dcopService, dcopService);
	env->SetIntArrayRegion(pid, 0, 1, (jint *) _int_pid);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_KApplication_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) KApplicationJBridge::startServiceByDesktopName((const TQString&)*(TQString*) QtSupport::toQString(env, _name, &_qstring__name), (const TQString&)*(TQString*) QtSupport::toQString(env, URL, &_qstring_URL), (TQString*) QtSupport::toQStringFromStringBuffer(env, error, &_qstring_error), (TQCString*) _qcstring_dcopService,  (int*) _int_pid, (const TQCString&)*(TQCString*) QtSupport::toQCString(env, startup_id, &_qcstring_startup_id), (bool) noWait);
	QtSupport::fromQStringToStringBuffer(env, _qstring_error, error);
	QtSupport::fromQCStringToStringBuffer(env, _qcstring_dcopService, dcopService);
	env->SetIntArrayRegion(pid, 0, 1, (jint *) _int_pid);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_KApplication_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) KApplicationJBridge::startServiceByDesktopName((const TQString&)*(TQString*) QtSupport::toQString(env, _name, &_qstring__name), (const TQStringList&)*(TQStringList*) QtSupport::toQStringList(env, URLs, &_qlist_URLs));
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_KApplication_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) KApplicationJBridge::startServiceByDesktopName((const TQString&)*(TQString*) QtSupport::toQString(env, _name, &_qstring__name), (const TQStringList&)*(TQStringList*) QtSupport::toQStringList(env, URLs, &_qlist_URLs), (TQString*) QtSupport::toQStringFromStringBuffer(env, error, &_qstring_error));
	QtSupport::fromQStringToStringBuffer(env, _qstring_error, error);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_KApplication_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) KApplicationJBridge::startServiceByDesktopName((const TQString&)*(TQString*) QtSupport::toQString(env, _name, &_qstring__name), (const TQStringList&)*(TQStringList*) QtSupport::toQStringList(env, URLs, &_qlist_URLs), (TQString*) QtSupport::toQStringFromStringBuffer(env, error, &_qstring_error), (TQCString*) _qcstring_dcopService);
	QtSupport::fromQStringToStringBuffer(env, _qstring_error, error);
	QtSupport::fromQCStringToStringBuffer(env, _qcstring_dcopService, dcopService);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_KApplication_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) KApplicationJBridge::startServiceByDesktopName((const TQString&)*(TQString*) QtSupport::toQString(env, _name, &_qstring__name), (const TQStringList&)*(TQStringList*) QtSupport::toQStringList(env, URLs, &_qlist_URLs), (TQString*) QtSupport::toQStringFromStringBuffer(env, error, &_qstring_error), (TQCString*) _qcstring_dcopService,  (int*) _int_pid);
	QtSupport::fromQStringToStringBuffer(env, _qstring_error, error);
	QtSupport::fromQCStringToStringBuffer(env, _qcstring_dcopService, dcopService);
	env->SetIntArrayRegion(pid, 0, 1, (jint *) _int_pid);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_KApplication_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) KApplicationJBridge::startServiceByDesktopName((const TQString&)*(TQString*) QtSupport::toQString(env, _name, &_qstring__name), (const TQStringList&)*(TQStringList*) QtSupport::toQStringList(env, URLs, &_qlist_URLs), (TQString*) QtSupport::toQStringFromStringBuffer(env, error, &_qstring_error), (TQCString*) _qcstring_dcopService,  (int*) _int_pid, (const TQCString&)*(TQCString*) QtSupport::toQCString(env, startup_id, &_qcstring_startup_id));
	QtSupport::fromQStringToStringBuffer(env, _qstring_error, error);
	QtSupport::fromQCStringToStringBuffer(env, _qcstring_dcopService, dcopService);
	env->SetIntArrayRegion(pid, 0, 1, (jint *) _int_pid);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_KApplication_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) KApplicationJBridge::startServiceByDesktopName((const TQString&)*(TQString*) QtSupport::toQString(env, _name, &_qstring__name), (const TQStringList&)*(TQStringList*) QtSupport::toQStringList(env, URLs, &_qlist_URLs), (TQString*) QtSupport::toQStringFromStringBuffer(env, error, &_qstring_error), (TQCString*) _qcstring_dcopService,  (int*) _int_pid, (const TQCString&)*(TQCString*) QtSupport::toQCString(env, startup_id, &_qcstring_startup_id), (bool) noWait);
	QtSupport::fromQStringToStringBuffer(env, _qstring_error, error);
	QtSupport::fromQCStringToStringBuffer(env, _qcstring_dcopService, dcopService);
	env->SetIntArrayRegion(pid, 0, 1, (jint *) _int_pid);
	return xret;
}

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

JNIEXPORT jint JNICALL
Java_org_kde_koala_KApplication_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) KApplicationJBridge::startServiceByDesktopPath((const TQString&)*(TQString*) QtSupport::toQString(env, _name, &_qstring__name), (const TQString&)*(TQString*) QtSupport::toQString(env, URL, &_qstring_URL));
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_KApplication_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) KApplicationJBridge::startServiceByDesktopPath((const TQString&)*(TQString*) QtSupport::toQString(env, _name, &_qstring__name), (const TQString&)*(TQString*) QtSupport::toQString(env, URL, &_qstring_URL), (TQString*) QtSupport::toQStringFromStringBuffer(env, error, &_qstring_error));
	QtSupport::fromQStringToStringBuffer(env, _qstring_error, error);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_KApplication_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) KApplicationJBridge::startServiceByDesktopPath((const TQString&)*(TQString*) QtSupport::toQString(env, _name, &_qstring__name), (const TQString&)*(TQString*) QtSupport::toQString(env, URL, &_qstring_URL), (TQString*) QtSupport::toQStringFromStringBuffer(env, error, &_qstring_error), (TQCString*) _qcstring_dcopService);
	QtSupport::fromQStringToStringBuffer(env, _qstring_error, error);
	QtSupport::fromQCStringToStringBuffer(env, _qcstring_dcopService, dcopService);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_KApplication_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) KApplicationJBridge::startServiceByDesktopPath((const TQString&)*(TQString*) QtSupport::toQString(env, _name, &_qstring__name), (const TQString&)*(TQString*) QtSupport::toQString(env, URL, &_qstring_URL), (TQString*) QtSupport::toQStringFromStringBuffer(env, error, &_qstring_error), (TQCString*) _qcstring_dcopService,  (int*) _int_pid);
	QtSupport::fromQStringToStringBuffer(env, _qstring_error, error);
	QtSupport::fromQCStringToStringBuffer(env, _qcstring_dcopService, dcopService);
	env->SetIntArrayRegion(pid, 0, 1, (jint *) _int_pid);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_KApplication_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) KApplicationJBridge::startServiceByDesktopPath((const TQString&)*(TQString*) QtSupport::toQString(env, _name, &_qstring__name), (const TQString&)*(TQString*) QtSupport::toQString(env, URL, &_qstring_URL), (TQString*) QtSupport::toQStringFromStringBuffer(env, error, &_qstring_error), (TQCString*) _qcstring_dcopService,  (int*) _int_pid, (const TQCString&)*(TQCString*) QtSupport::toQCString(env, startup_id, &_qcstring_startup_id));
	QtSupport::fromQStringToStringBuffer(env, _qstring_error, error);
	QtSupport::fromQCStringToStringBuffer(env, _qcstring_dcopService, dcopService);
	env->SetIntArrayRegion(pid, 0, 1, (jint *) _int_pid);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_KApplication_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) KApplicationJBridge::startServiceByDesktopPath((const TQString&)*(TQString*) QtSupport::toQString(env, _name, &_qstring__name), (const TQString&)*(TQString*) QtSupport::toQString(env, URL, &_qstring_URL), (TQString*) QtSupport::toQStringFromStringBuffer(env, error, &_qstring_error), (TQCString*) _qcstring_dcopService,  (int*) _int_pid, (const TQCString&)*(TQCString*) QtSupport::toQCString(env, startup_id, &_qcstring_startup_id), (bool) noWait);
	QtSupport::fromQStringToStringBuffer(env, _qstring_error, error);
	QtSupport::fromQCStringToStringBuffer(env, _qcstring_dcopService, dcopService);
	env->SetIntArrayRegion(pid, 0, 1, (jint *) _int_pid);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_KApplication_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) KApplicationJBridge::startServiceByDesktopPath((const TQString&)*(TQString*) QtSupport::toQString(env, _name, &_qstring__name), (const TQStringList&)*(TQStringList*) QtSupport::toQStringList(env, URLs, &_qlist_URLs));
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_KApplication_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) KApplicationJBridge::startServiceByDesktopPath((const TQString&)*(TQString*) QtSupport::toQString(env, _name, &_qstring__name), (const TQStringList&)*(TQStringList*) QtSupport::toQStringList(env, URLs, &_qlist_URLs), (TQString*) QtSupport::toQStringFromStringBuffer(env, error, &_qstring_error));
	QtSupport::fromQStringToStringBuffer(env, _qstring_error, error);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_KApplication_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) KApplicationJBridge::startServiceByDesktopPath((const TQString&)*(TQString*) QtSupport::toQString(env, _name, &_qstring__name), (const TQStringList&)*(TQStringList*) QtSupport::toQStringList(env, URLs, &_qlist_URLs), (TQString*) QtSupport::toQStringFromStringBuffer(env, error, &_qstring_error), (TQCString*) _qcstring_dcopService);
	QtSupport::fromQStringToStringBuffer(env, _qstring_error, error);
	QtSupport::fromQCStringToStringBuffer(env, _qcstring_dcopService, dcopService);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_KApplication_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) KApplicationJBridge::startServiceByDesktopPath((const TQString&)*(TQString*) QtSupport::toQString(env, _name, &_qstring__name), (const TQStringList&)*(TQStringList*) QtSupport::toQStringList(env, URLs, &_qlist_URLs), (TQString*) QtSupport::toQStringFromStringBuffer(env, error, &_qstring_error), (TQCString*) _qcstring_dcopService,  (int*) _int_pid);
	QtSupport::fromQStringToStringBuffer(env, _qstring_error, error);
	QtSupport::fromQCStringToStringBuffer(env, _qcstring_dcopService, dcopService);
	env->SetIntArrayRegion(pid, 0, 1, (jint *) _int_pid);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_KApplication_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) KApplicationJBridge::startServiceByDesktopPath((const TQString&)*(TQString*) QtSupport::toQString(env, _name, &_qstring__name), (const TQStringList&)*(TQStringList*) QtSupport::toQStringList(env, URLs, &_qlist_URLs), (TQString*) QtSupport::toQStringFromStringBuffer(env, error, &_qstring_error), (TQCString*) _qcstring_dcopService,  (int*) _int_pid, (const TQCString&)*(TQCString*) QtSupport::toQCString(env, startup_id, &_qcstring_startup_id));
	QtSupport::fromQStringToStringBuffer(env, _qstring_error, error);
	QtSupport::fromQCStringToStringBuffer(env, _qcstring_dcopService, dcopService);
	env->SetIntArrayRegion(pid, 0, 1, (jint *) _int_pid);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_KApplication_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) KApplicationJBridge::startServiceByDesktopPath((const TQString&)*(TQString*) QtSupport::toQString(env, _name, &_qstring__name), (const TQStringList&)*(TQStringList*) QtSupport::toQStringList(env, URLs, &_qlist_URLs), (TQString*) QtSupport::toQStringFromStringBuffer(env, error, &_qstring_error), (TQCString*) _qcstring_dcopService,  (int*) _int_pid, (const TQCString&)*(TQCString*) QtSupport::toQCString(env, startup_id, &_qcstring_startup_id), (bool) noWait);
	QtSupport::fromQStringToStringBuffer(env, _qstring_error, error);
	QtSupport::fromQCStringToStringBuffer(env, _qcstring_dcopService, dcopService);
	env->SetIntArrayRegion(pid, 0, 1, (jint *) _int_pid);
	return xret;
}

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

JNIEXPORT jint JNICALL
Java_org_kde_koala_KApplication_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) KApplicationJBridge::startServiceByName((const TQString&)*(TQString*) QtSupport::toQString(env, _name, &_qstring__name), (const TQString&)*(TQString*) QtSupport::toQString(env, URL, &_qstring_URL));
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_KApplication_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) KApplicationJBridge::startServiceByName((const TQString&)*(TQString*) QtSupport::toQString(env, _name, &_qstring__name), (const TQString&)*(TQString*) QtSupport::toQString(env, URL, &_qstring_URL), (TQString*) QtSupport::toQStringFromStringBuffer(env, error, &_qstring_error));
	QtSupport::fromQStringToStringBuffer(env, _qstring_error, error);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_KApplication_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) KApplicationJBridge::startServiceByName((const TQString&)*(TQString*) QtSupport::toQString(env, _name, &_qstring__name), (const TQString&)*(TQString*) QtSupport::toQString(env, URL, &_qstring_URL), (TQString*) QtSupport::toQStringFromStringBuffer(env, error, &_qstring_error), (TQCString*) _qcstring_dcopService);
	QtSupport::fromQStringToStringBuffer(env, _qstring_error, error);
	QtSupport::fromQCStringToStringBuffer(env, _qcstring_dcopService, dcopService);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_KApplication_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) KApplicationJBridge::startServiceByName((const TQString&)*(TQString*) QtSupport::toQString(env, _name, &_qstring__name), (const TQString&)*(TQString*) QtSupport::toQString(env, URL, &_qstring_URL), (TQString*) QtSupport::toQStringFromStringBuffer(env, error, &_qstring_error), (TQCString*) _qcstring_dcopService,  (int*) _int_pid);
	QtSupport::fromQStringToStringBuffer(env, _qstring_error, error);
	QtSupport::fromQCStringToStringBuffer(env, _qcstring_dcopService, dcopService);
	env->SetIntArrayRegion(pid, 0, 1, (jint *) _int_pid);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_KApplication_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) KApplicationJBridge::startServiceByName((const TQString&)*(TQString*) QtSupport::toQString(env, _name, &_qstring__name), (const TQString&)*(TQString*) QtSupport::toQString(env, URL, &_qstring_URL), (TQString*) QtSupport::toQStringFromStringBuffer(env, error, &_qstring_error), (TQCString*) _qcstring_dcopService,  (int*) _int_pid, (const TQCString&)*(TQCString*) QtSupport::toQCString(env, startup_id, &_qcstring_startup_id));
	QtSupport::fromQStringToStringBuffer(env, _qstring_error, error);
	QtSupport::fromQCStringToStringBuffer(env, _qcstring_dcopService, dcopService);
	env->SetIntArrayRegion(pid, 0, 1, (jint *) _int_pid);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_KApplication_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) KApplicationJBridge::startServiceByName((const TQString&)*(TQString*) QtSupport::toQString(env, _name, &_qstring__name), (const TQString&)*(TQString*) QtSupport::toQString(env, URL, &_qstring_URL), (TQString*) QtSupport::toQStringFromStringBuffer(env, error, &_qstring_error), (TQCString*) _qcstring_dcopService,  (int*) _int_pid, (const TQCString&)*(TQCString*) QtSupport::toQCString(env, startup_id, &_qcstring_startup_id), (bool) noWait);
	QtSupport::fromQStringToStringBuffer(env, _qstring_error, error);
	QtSupport::fromQCStringToStringBuffer(env, _qcstring_dcopService, dcopService);
	env->SetIntArrayRegion(pid, 0, 1, (jint *) _int_pid);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_KApplication_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) KApplicationJBridge::startServiceByName((const TQString&)*(TQString*) QtSupport::toQString(env, _name, &_qstring__name), (const TQStringList&)*(TQStringList*) QtSupport::toQStringList(env, URLs, &_qlist_URLs));
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_KApplication_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) KApplicationJBridge::startServiceByName((const TQString&)*(TQString*) QtSupport::toQString(env, _name, &_qstring__name), (const TQStringList&)*(TQStringList*) QtSupport::toQStringList(env, URLs, &_qlist_URLs), (TQString*) QtSupport::toQStringFromStringBuffer(env, error, &_qstring_error));
	QtSupport::fromQStringToStringBuffer(env, _qstring_error, error);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_KApplication_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) KApplicationJBridge::startServiceByName((const TQString&)*(TQString*) QtSupport::toQString(env, _name, &_qstring__name), (const TQStringList&)*(TQStringList*) QtSupport::toQStringList(env, URLs, &_qlist_URLs), (TQString*) QtSupport::toQStringFromStringBuffer(env, error, &_qstring_error), (TQCString*) _qcstring_dcopService);
	QtSupport::fromQStringToStringBuffer(env, _qstring_error, error);
	QtSupport::fromQCStringToStringBuffer(env, _qcstring_dcopService, dcopService);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_KApplication_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) KApplicationJBridge::startServiceByName((const TQString&)*(TQString*) QtSupport::toQString(env, _name, &_qstring__name), (const TQStringList&)*(TQStringList*) QtSupport::toQStringList(env, URLs, &_qlist_URLs), (TQString*) QtSupport::toQStringFromStringBuffer(env, error, &_qstring_error), (TQCString*) _qcstring_dcopService,  (int*) _int_pid);
	QtSupport::fromQStringToStringBuffer(env, _qstring_error, error);
	QtSupport::fromQCStringToStringBuffer(env, _qcstring_dcopService, dcopService);
	env->SetIntArrayRegion(pid, 0, 1, (jint *) _int_pid);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_KApplication_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) KApplicationJBridge::startServiceByName((const TQString&)*(TQString*) QtSupport::toQString(env, _name, &_qstring__name), (const TQStringList&)*(TQStringList*) QtSupport::toQStringList(env, URLs, &_qlist_URLs), (TQString*) QtSupport::toQStringFromStringBuffer(env, error, &_qstring_error), (TQCString*) _qcstring_dcopService,  (int*) _int_pid, (const TQCString&)*(TQCString*) QtSupport::toQCString(env, startup_id, &_qcstring_startup_id));
	QtSupport::fromQStringToStringBuffer(env, _qstring_error, error);
	QtSupport::fromQCStringToStringBuffer(env, _qcstring_dcopService, dcopService);
	env->SetIntArrayRegion(pid, 0, 1, (jint *) _int_pid);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_KApplication_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) KApplicationJBridge::startServiceByName((const TQString&)*(TQString*) QtSupport::toQString(env, _name, &_qstring__name), (const TQStringList&)*(TQStringList*) QtSupport::toQStringList(env, URLs, &_qlist_URLs), (TQString*) QtSupport::toQStringFromStringBuffer(env, error, &_qstring_error), (TQCString*) _qcstring_dcopService,  (int*) _int_pid, (const TQCString&)*(TQCString*) QtSupport::toQCString(env, startup_id, &_qcstring_startup_id), (bool) noWait);
	QtSupport::fromQStringToStringBuffer(env, _qstring_error, error);
	QtSupport::fromQCStringToStringBuffer(env, _qcstring_dcopService, dcopService);
	env->SetIntArrayRegion(pid, 0, 1, (jint *) _int_pid);
	return xret;
}

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

JNIEXPORT jstring JNICALL
Java_org_kde_koala_KApplication_tempSaveName(JNIEnv* env, jobject obj, jstring pFilename)
{
	TQString  _qstring;
static TQString* _qstring_pFilename = 0;
	_qstring = ((KApplication*) QtSupport::getQt(env, obj))->tempSaveName((const TQString&)*(TQString*) QtSupport::toQString(env, pFilename, &_qstring_pFilename));
	return QtSupport::fromQString(env, &_qstring);
}

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

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

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

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

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

#include <kdejava/KDEJavaSlot.h>

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