//Auto-generated by kalyptus. DO NOT EDIT.
#include <kapplication.h>
#include <qstring.h>
#include <qstringlist.h>
#include <qsessionmanager.h>
#include <kinstance.h>
#include <kurl.h>
#include <qpalette.h>
#include <qnamespace.h>
#include <qcstring.h>
#include <qpixmap.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 QString& arg1) {
		KInstance::setConfigName(arg1);
		return;
	}
	void processOneEvent() {
		if (!QtSupport::voidDelegate(this,"org.kde.koala.KApplication","processOneEvent")) {
			QApplication::processOneEvent();
		}
		return;
	}
	void removeChild(QObject* arg1) {
		if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.QObject")) {
			QObject::removeChild(arg1);
		}
		return;
	}
	void polish(QWidget* arg1) {
		if (!QtSupport::eventDelegate(this,"polish",(void*)arg1,"org.kde.qt.QWidget")) {
			QApplication::polish(arg1);
		}
		return;
	}
	void customEvent(QCustomEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.QCustomEvent")) {
			QObject::customEvent(arg1);
		}
		return;
	}
	void timerEvent(QTimerEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.QTimerEvent")) {
			QObject::timerEvent(arg1);
		}
		return;
	}
	void childEvent(QChildEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.QChildEvent")) {
			QObject::childEvent(arg1);
		}
		return;
	}
	void setMainWidget(QWidget* arg1) {
		if (!QtSupport::eventDelegate(this,"setMainWidget",(void*)arg1,"org.kde.qt.QWidget")) {
			QApplication::setMainWidget(arg1);
		}
		return;
	}
	void insertChild(QObject* arg1) {
		if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.QObject")) {
			QObject::insertChild(arg1);
		}
		return;
	}
	bool eventFilter(QObject* object,QEvent* event) {
		if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KApplication",object,event)) {
			return QObject::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 QString* _qstring_action = 0;
	((KApplication*) QtSupport::getQt(env, obj))->allowURLAction((const QString&)*(QString*) 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 QString* _qstring_menuId = 0;
	jboolean xret = (jboolean) ((KApplication*) QtSupport::getQt(env, obj))->authorizeControlModule((const QString&)*(QString*) QtSupport::toQString(env, menuId, &_qstring_menuId));
	return xret;
}

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

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

JNIEXPORT jstring JNICALL
Java_org_kde_koala_KApplication_caption(JNIEnv* env, jobject obj)
{
	QString  _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)
{
	QString  _qstring;
static QString* _qstring_pFilename = 0;
	_qstring = ((KApplication*) QtSupport::getQt(env, obj))->checkRecoverFile((const QString&)*(QString*) 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 QPalette(KApplicationJBridge::createApplicationPalette()), "org.kde.qt.QPalette", 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 QPalette(KApplicationJBridge::createApplicationPalette((KConfig*) QtSupport::getQt(env, config), (int) contrast)), "org.kde.qt.QPalette", 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)
{
	QString  _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)
{
	QString  _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 QPixmap(((KApplication*) QtSupport::getQt(env, obj))->icon()), "org.kde.qt.QPixmap", 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((QWidget*) QtSupport::getQt(env, filter));
	return;
}

JNIEXPORT jstring JNICALL
Java_org_kde_koala_KApplication_instanceName(JNIEnv* env, jobject obj)
{
	QCString  _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 QString* _qstring_url = 0;
	((KApplication*) QtSupport::getQt(env, obj))->invokeBrowser((const QString&)*(QString*) 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 QString* _qstring_url = 0;
static QCString* _qcstring_startup_id = 0;
	((KApplication*) QtSupport::getQt(env, obj))->invokeBrowser((const QString&)*(QString*) QtSupport::toQString(env, url, &_qstring_url), (const QCString&)*(QCString*) 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 QCString* _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 QString* _qstring_anchor = 0;
	((KApplication*) QtSupport::getQt(env, obj))->invokeHelp((const QString&)*(QString*) 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 QString* _qstring_anchor = 0;
static QString* _qstring_appname = 0;
	((KApplication*) QtSupport::getQt(env, obj))->invokeHelp((const QString&)*(QString*) QtSupport::toQString(env, anchor, &_qstring_anchor), (const QString&)*(QString*) 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 QString* _qstring_anchor = 0;
static QString* _qstring_appname = 0;
static QCString* _qcstring_startup_id = 0;
	((KApplication*) QtSupport::getQt(env, obj))->invokeHelp((const QString&)*(QString*) QtSupport::toQString(env, anchor, &_qstring_anchor), (const QString&)*(QString*) QtSupport::toQString(env, appname, &_qstring_appname), (const QCString&)*(QCString*) 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 QString* _qstring_address = 0;
static QString* _qstring_subject = 0;
	((KApplication*) QtSupport::getQt(env, obj))->invokeMailer((const QString&)*(QString*) QtSupport::toQString(env, address, &_qstring_address), (const QString&)*(QString*) 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 QString* _qstring_address = 0;
static QString* _qstring_subject = 0;
static QCString* _qcstring_startup_id = 0;
	((KApplication*) QtSupport::getQt(env, obj))->invokeMailer((const QString&)*(QString*) QtSupport::toQString(env, address, &_qstring_address), (const QString&)*(QString*) QtSupport::toQString(env, subject, &_qstring_subject), (const QCString&)*(QCString*) 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 QString* _qstring_to = 0;
static QString* _qstring_cc = 0;
static QString* _qstring_bcc = 0;
static QString* _qstring_subject = 0;
static QString* _qstring_body = 0;
	((KApplication*) QtSupport::getQt(env, obj))->invokeMailer((const QString&)*(QString*) QtSupport::toQString(env, to, &_qstring_to), (const QString&)*(QString*) QtSupport::toQString(env, cc, &_qstring_cc), (const QString&)*(QString*) QtSupport::toQString(env, bcc, &_qstring_bcc), (const QString&)*(QString*) QtSupport::toQString(env, subject, &_qstring_subject), (const QString&)*(QString*) 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 QString* _qstring_to = 0;
static QString* _qstring_cc = 0;
static QString* _qstring_bcc = 0;
static QString* _qstring_subject = 0;
static QString* _qstring_body = 0;
static QString* _qstring_messageFile = 0;
	((KApplication*) QtSupport::getQt(env, obj))->invokeMailer((const QString&)*(QString*) QtSupport::toQString(env, to, &_qstring_to), (const QString&)*(QString*) QtSupport::toQString(env, cc, &_qstring_cc), (const QString&)*(QString*) QtSupport::toQString(env, bcc, &_qstring_bcc), (const QString&)*(QString*) QtSupport::toQString(env, subject, &_qstring_subject), (const QString&)*(QString*) QtSupport::toQString(env, body, &_qstring_body), (const QString&)*(QString*) 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 QString* _qstring_to = 0;
static QString* _qstring_cc = 0;
static QString* _qstring_bcc = 0;
static QString* _qstring_subject = 0;
static QString* _qstring_body = 0;
static QString* _qstring_messageFile = 0;
static QStringList* _qlist_attachURLs = 0;
	((KApplication*) QtSupport::getQt(env, obj))->invokeMailer((const QString&)*(QString*) QtSupport::toQString(env, to, &_qstring_to), (const QString&)*(QString*) QtSupport::toQString(env, cc, &_qstring_cc), (const QString&)*(QString*) QtSupport::toQString(env, bcc, &_qstring_bcc), (const QString&)*(QString*) QtSupport::toQString(env, subject, &_qstring_subject), (const QString&)*(QString*) QtSupport::toQString(env, body, &_qstring_body), (const QString&)*(QString*) QtSupport::toQString(env, messageFile, &_qstring_messageFile), (const QStringList&)*(QStringList*) 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 QString* _qstring_to = 0;
static QString* _qstring_cc = 0;
static QString* _qstring_bcc = 0;
static QString* _qstring_subject = 0;
static QString* _qstring_body = 0;
static QString* _qstring_messageFile = 0;
static QStringList* _qlist_attachURLs = 0;
static QCString* _qcstring_startup_id = 0;
	((KApplication*) QtSupport::getQt(env, obj))->invokeMailer((const QString&)*(QString*) QtSupport::toQString(env, to, &_qstring_to), (const QString&)*(QString*) QtSupport::toQString(env, cc, &_qstring_cc), (const QString&)*(QString*) QtSupport::toQString(env, bcc, &_qstring_bcc), (const QString&)*(QString*) QtSupport::toQString(env, subject, &_qstring_subject), (const QString&)*(QString*) QtSupport::toQString(env, body, &_qstring_body), (const QString&)*(QString*) QtSupport::toQString(env, messageFile, &_qstring_messageFile), (const QStringList&)*(QStringList*) QtSupport::toQStringList(env, attachURLs, &_qlist_attachURLs), (const QCString&)*(QCString*) 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 QCString* _qcstring_startup_id = 0;
	((KApplication*) QtSupport::getQt(env, obj))->invokeMailer((const KURL&)*(const KURL*) QtSupport::getQt(env, mailtoURL), (const QCString&)*(QCString*) 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 QCString* _qcstring_startup_id = 0;
	((KApplication*) QtSupport::getQt(env, obj))->invokeMailer((const KURL&)*(const KURL*) QtSupport::getQt(env, mailtoURL), (const QCString&)*(QCString*) 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 QString* _qstring_name = 0;
	jint xret = (jint) KApplicationJBridge::kdeinitExecWait((const QString&)*(QString*) 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 QString* _qstring_name = 0;
static QStringList* _qlist_args = 0;
	jint xret = (jint) KApplicationJBridge::kdeinitExecWait((const QString&)*(QString*) QtSupport::toQString(env, name, &_qstring_name), (const QStringList&)*(QStringList*) 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 QString* _qstring_name = 0;
static QStringList* _qlist_args = 0;
static QString* _qstring_error = 0;
	jint xret = (jint) KApplicationJBridge::kdeinitExecWait((const QString&)*(QString*) QtSupport::toQString(env, name, &_qstring_name), (const QStringList&)*(QStringList*) QtSupport::toQStringList(env, args, &_qlist_args), (QString*) 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 QString* _qstring_name = 0;
static QStringList* _qlist_args = 0;
static QString* _qstring_error = 0;
	int* _int_pid = QtSupport::toIntPtr(env, pid);
	jint xret = (jint) KApplicationJBridge::kdeinitExecWait((const QString&)*(QString*) QtSupport::toQString(env, name, &_qstring_name), (const QStringList&)*(QStringList*) QtSupport::toQStringList(env, args, &_qlist_args), (QString*) 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 QString* _qstring_name = 0;
static QStringList* _qlist_args = 0;
static QString* _qstring_error = 0;
	int* _int_pid = QtSupport::toIntPtr(env, pid);
static QCString* _qcstring_startup_id = 0;
	jint xret = (jint) KApplicationJBridge::kdeinitExecWait((const QString&)*(QString*) QtSupport::toQString(env, name, &_qstring_name), (const QStringList&)*(QStringList*) QtSupport::toQStringList(env, args, &_qlist_args), (QString*) QtSupport::toQStringFromStringBuffer(env, error, &_qstring_error),  (int*) _int_pid, (const QCString&)*(QCString*) 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 QString* _qstring_name = 0;
	jint xret = (jint) KApplicationJBridge::kdeinitExec((const QString&)*(QString*) 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 QString* _qstring_name = 0;
static QStringList* _qlist_args = 0;
	jint xret = (jint) KApplicationJBridge::kdeinitExec((const QString&)*(QString*) QtSupport::toQString(env, name, &_qstring_name), (const QStringList&)*(QStringList*) 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 QString* _qstring_name = 0;
static QStringList* _qlist_args = 0;
static QString* _qstring_error = 0;
	jint xret = (jint) KApplicationJBridge::kdeinitExec((const QString&)*(QString*) QtSupport::toQString(env, name, &_qstring_name), (const QStringList&)*(QStringList*) QtSupport::toQStringList(env, args, &_qlist_args), (QString*) 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 QString* _qstring_name = 0;
static QStringList* _qlist_args = 0;
static QString* _qstring_error = 0;
	int* _int_pid = QtSupport::toIntPtr(env, pid);
	jint xret = (jint) KApplicationJBridge::kdeinitExec((const QString&)*(QString*) QtSupport::toQString(env, name, &_qstring_name), (const QStringList&)*(QStringList*) QtSupport::toQStringList(env, args, &_qlist_args), (QString*) 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 QString* _qstring_name = 0;
static QStringList* _qlist_args = 0;
static QString* _qstring_error = 0;
	int* _int_pid = QtSupport::toIntPtr(env, pid);
static QCString* _qcstring_startup_id = 0;
	jint xret = (jint) KApplicationJBridge::kdeinitExec((const QString&)*(QString*) QtSupport::toQString(env, name, &_qstring_name), (const QStringList&)*(QStringList*) QtSupport::toQStringList(env, args, &_qlist_args), (QString*) QtSupport::toQStringFromStringBuffer(env, error, &_qstring_error),  (int*) _int_pid, (const QCString&)*(QCString*) 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)
{
	QCString  _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)
{
	QString  _qstring;
static QString* _qstring_userCaption = 0;
	_qstring = ((KApplication*) QtSupport::getQt(env, obj))->makeStdCaption((const QString&)*(QString*) 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)
{
	QString  _qstring;
static QString* _qstring_userCaption = 0;
	_qstring = ((KApplication*) QtSupport::getQt(env, obj))->makeStdCaption((const QString&)*(QString*) 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)
{
	QString  _qstring;
static QString* _qstring_userCaption = 0;
	_qstring = ((KApplication*) QtSupport::getQt(env, obj))->makeStdCaption((const QString&)*(QString*) 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.QMetaObject");
	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)
{
	QString  _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 QPixmap(((KApplication*) QtSupport::getQt(env, obj))->miniIcon()), "org.kde.qt.QPixmap", 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((QObject*) QtSupport::getQt(env, receiver), (QEvent*) 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)
{
	QString  _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 QWidget*) 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 QString* _qstring_name = 0;
	((KApplicationJBridge*) QtSupport::getQt(env, obj))->protected_setConfigName((const QString&)*(QString*) QtSupport::toQString(env, name, &_qstring_name));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KApplication_setStartupId(JNIEnv* env, jobject obj, jstring startup_id)
{
static QCString* _qcstring_startup_id = 0;
	((KApplication*) QtSupport::getQt(env, obj))->setStartupId((const QCString&)*(QCString*) 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((QWidget*) 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 QString* _qstring__name = 0;
	jint xret = (jint) KApplicationJBridge::startServiceByDesktopName((const QString&)*(QString*) 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 QString* _qstring__name = 0;
static QString* _qstring_URL = 0;
	jint xret = (jint) KApplicationJBridge::startServiceByDesktopName((const QString&)*(QString*) QtSupport::toQString(env, _name, &_qstring__name), (const QString&)*(QString*) 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 QString* _qstring__name = 0;
static QString* _qstring_URL = 0;
static QString* _qstring_error = 0;
	jint xret = (jint) KApplicationJBridge::startServiceByDesktopName((const QString&)*(QString*) QtSupport::toQString(env, _name, &_qstring__name), (const QString&)*(QString*) QtSupport::toQString(env, URL, &_qstring_URL), (QString*) 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 QString* _qstring__name = 0;
static QString* _qstring_URL = 0;
static QString* _qstring_error = 0;
static QCString* _qcstring_dcopService = 0;
	if (_qcstring_dcopService == 0) {
		_qcstring_dcopService = new QCString();
	}
	jint xret = (jint) KApplicationJBridge::startServiceByDesktopName((const QString&)*(QString*) QtSupport::toQString(env, _name, &_qstring__name), (const QString&)*(QString*) QtSupport::toQString(env, URL, &_qstring_URL), (QString*) QtSupport::toQStringFromStringBuffer(env, error, &_qstring_error), (QCString*) _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 QString* _qstring__name = 0;
static QString* _qstring_URL = 0;
static QString* _qstring_error = 0;
static QCString* _qcstring_dcopService = 0;
	if (_qcstring_dcopService == 0) {
		_qcstring_dcopService = new QCString();
	}
	int* _int_pid = QtSupport::toIntPtr(env, pid);
	jint xret = (jint) KApplicationJBridge::startServiceByDesktopName((const QString&)*(QString*) QtSupport::toQString(env, _name, &_qstring__name), (const QString&)*(QString*) QtSupport::toQString(env, URL, &_qstring_URL), (QString*) QtSupport::toQStringFromStringBuffer(env, error, &_qstring_error), (QCString*) _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 QString* _qstring__name = 0;
static QString* _qstring_URL = 0;
static QString* _qstring_error = 0;
static QCString* _qcstring_dcopService = 0;
	if (_qcstring_dcopService == 0) {
		_qcstring_dcopService = new QCString();
	}
	int* _int_pid = QtSupport::toIntPtr(env, pid);
static QCString* _qcstring_startup_id = 0;
	jint xret = (jint) KApplicationJBridge::startServiceByDesktopName((const QString&)*(QString*) QtSupport::toQString(env, _name, &_qstring__name), (const QString&)*(QString*) QtSupport::toQString(env, URL, &_qstring_URL), (QString*) QtSupport::toQStringFromStringBuffer(env, error, &_qstring_error), (QCString*) _qcstring_dcopService,  (int*) _int_pid, (const QCString&)*(QCString*) 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 QString* _qstring__name = 0;
static QString* _qstring_URL = 0;
static QString* _qstring_error = 0;
static QCString* _qcstring_dcopService = 0;
	if (_qcstring_dcopService == 0) {
		_qcstring_dcopService = new QCString();
	}
	int* _int_pid = QtSupport::toIntPtr(env, pid);
static QCString* _qcstring_startup_id = 0;
	jint xret = (jint) KApplicationJBridge::startServiceByDesktopName((const QString&)*(QString*) QtSupport::toQString(env, _name, &_qstring__name), (const QString&)*(QString*) QtSupport::toQString(env, URL, &_qstring_URL), (QString*) QtSupport::toQStringFromStringBuffer(env, error, &_qstring_error), (QCString*) _qcstring_dcopService,  (int*) _int_pid, (const QCString&)*(QCString*) 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 QString* _qstring__name = 0;
static QStringList* _qlist_URLs = 0;
	jint xret = (jint) KApplicationJBridge::startServiceByDesktopName((const QString&)*(QString*) QtSupport::toQString(env, _name, &_qstring__name), (const QStringList&)*(QStringList*) 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 QString* _qstring__name = 0;
static QStringList* _qlist_URLs = 0;
static QString* _qstring_error = 0;
	jint xret = (jint) KApplicationJBridge::startServiceByDesktopName((const QString&)*(QString*) QtSupport::toQString(env, _name, &_qstring__name), (const QStringList&)*(QStringList*) QtSupport::toQStringList(env, URLs, &_qlist_URLs), (QString*) 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 QString* _qstring__name = 0;
static QStringList* _qlist_URLs = 0;
static QString* _qstring_error = 0;
static QCString* _qcstring_dcopService = 0;
	if (_qcstring_dcopService == 0) {
		_qcstring_dcopService = new QCString();
	}
	jint xret = (jint) KApplicationJBridge::startServiceByDesktopName((const QString&)*(QString*) QtSupport::toQString(env, _name, &_qstring__name), (const QStringList&)*(QStringList*) QtSupport::toQStringList(env, URLs, &_qlist_URLs), (QString*) QtSupport::toQStringFromStringBuffer(env, error, &_qstring_error), (QCString*) _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 QString* _qstring__name = 0;
static QStringList* _qlist_URLs = 0;
static QString* _qstring_error = 0;
static QCString* _qcstring_dcopService = 0;
	if (_qcstring_dcopService == 0) {
		_qcstring_dcopService = new QCString();
	}
	int* _int_pid = QtSupport::toIntPtr(env, pid);
	jint xret = (jint) KApplicationJBridge::startServiceByDesktopName((const QString&)*(QString*) QtSupport::toQString(env, _name, &_qstring__name), (const QStringList&)*(QStringList*) QtSupport::toQStringList(env, URLs, &_qlist_URLs), (QString*) QtSupport::toQStringFromStringBuffer(env, error, &_qstring_error), (QCString*) _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 QString* _qstring__name = 0;
static QStringList* _qlist_URLs = 0;
static QString* _qstring_error = 0;
static QCString* _qcstring_dcopService = 0;
	if (_qcstring_dcopService == 0) {
		_qcstring_dcopService = new QCString();
	}
	int* _int_pid = QtSupport::toIntPtr(env, pid);
static QCString* _qcstring_startup_id = 0;
	jint xret = (jint) KApplicationJBridge::startServiceByDesktopName((const QString&)*(QString*) QtSupport::toQString(env, _name, &_qstring__name), (const QStringList&)*(QStringList*) QtSupport::toQStringList(env, URLs, &_qlist_URLs), (QString*) QtSupport::toQStringFromStringBuffer(env, error, &_qstring_error), (QCString*) _qcstring_dcopService,  (int*) _int_pid, (const QCString&)*(QCString*) 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 QString* _qstring__name = 0;
static QStringList* _qlist_URLs = 0;
static QString* _qstring_error = 0;
static QCString* _qcstring_dcopService = 0;
	if (_qcstring_dcopService == 0) {
		_qcstring_dcopService = new QCString();
	}
	int* _int_pid = QtSupport::toIntPtr(env, pid);
static QCString* _qcstring_startup_id = 0;
	jint xret = (jint) KApplicationJBridge::startServiceByDesktopName((const QString&)*(QString*) QtSupport::toQString(env, _name, &_qstring__name), (const QStringList&)*(QStringList*) QtSupport::toQStringList(env, URLs, &_qlist_URLs), (QString*) QtSupport::toQStringFromStringBuffer(env, error, &_qstring_error), (QCString*) _qcstring_dcopService,  (int*) _int_pid, (const QCString&)*(QCString*) 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 QString* _qstring__name = 0;
	jint xret = (jint) KApplicationJBridge::startServiceByDesktopPath((const QString&)*(QString*) 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 QString* _qstring__name = 0;
static QString* _qstring_URL = 0;
	jint xret = (jint) KApplicationJBridge::startServiceByDesktopPath((const QString&)*(QString*) QtSupport::toQString(env, _name, &_qstring__name), (const QString&)*(QString*) 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 QString* _qstring__name = 0;
static QString* _qstring_URL = 0;
static QString* _qstring_error = 0;
	jint xret = (jint) KApplicationJBridge::startServiceByDesktopPath((const QString&)*(QString*) QtSupport::toQString(env, _name, &_qstring__name), (const QString&)*(QString*) QtSupport::toQString(env, URL, &_qstring_URL), (QString*) 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 QString* _qstring__name = 0;
static QString* _qstring_URL = 0;
static QString* _qstring_error = 0;
static QCString* _qcstring_dcopService = 0;
	if (_qcstring_dcopService == 0) {
		_qcstring_dcopService = new QCString();
	}
	jint xret = (jint) KApplicationJBridge::startServiceByDesktopPath((const QString&)*(QString*) QtSupport::toQString(env, _name, &_qstring__name), (const QString&)*(QString*) QtSupport::toQString(env, URL, &_qstring_URL), (QString*) QtSupport::toQStringFromStringBuffer(env, error, &_qstring_error), (QCString*) _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 QString* _qstring__name = 0;
static QString* _qstring_URL = 0;
static QString* _qstring_error = 0;
static QCString* _qcstring_dcopService = 0;
	if (_qcstring_dcopService == 0) {
		_qcstring_dcopService = new QCString();
	}
	int* _int_pid = QtSupport::toIntPtr(env, pid);
	jint xret = (jint) KApplicationJBridge::startServiceByDesktopPath((const QString&)*(QString*) QtSupport::toQString(env, _name, &_qstring__name), (const QString&)*(QString*) QtSupport::toQString(env, URL, &_qstring_URL), (QString*) QtSupport::toQStringFromStringBuffer(env, error, &_qstring_error), (QCString*) _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 QString* _qstring__name = 0;
static QString* _qstring_URL = 0;
static QString* _qstring_error = 0;
static QCString* _qcstring_dcopService = 0;
	if (_qcstring_dcopService == 0) {
		_qcstring_dcopService = new QCString();
	}
	int* _int_pid = QtSupport::toIntPtr(env, pid);
static QCString* _qcstring_startup_id = 0;
	jint xret = (jint) KApplicationJBridge::startServiceByDesktopPath((const QString&)*(QString*) QtSupport::toQString(env, _name, &_qstring__name), (const QString&)*(QString*) QtSupport::toQString(env, URL, &_qstring_URL), (QString*) QtSupport::toQStringFromStringBuffer(env, error, &_qstring_error), (QCString*) _qcstring_dcopService,  (int*) _int_pid, (const QCString&)*(QCString*) 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 QString* _qstring__name = 0;
static QString* _qstring_URL = 0;
static QString* _qstring_error = 0;
static QCString* _qcstring_dcopService = 0;
	if (_qcstring_dcopService == 0) {
		_qcstring_dcopService = new QCString();
	}
	int* _int_pid = QtSupport::toIntPtr(env, pid);
static QCString* _qcstring_startup_id = 0;
	jint xret = (jint) KApplicationJBridge::startServiceByDesktopPath((const QString&)*(QString*) QtSupport::toQString(env, _name, &_qstring__name), (const QString&)*(QString*) QtSupport::toQString(env, URL, &_qstring_URL), (QString*) QtSupport::toQStringFromStringBuffer(env, error, &_qstring_error), (QCString*) _qcstring_dcopService,  (int*) _int_pid, (const QCString&)*(QCString*) 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 QString* _qstring__name = 0;
static QStringList* _qlist_URLs = 0;
	jint xret = (jint) KApplicationJBridge::startServiceByDesktopPath((const QString&)*(QString*) QtSupport::toQString(env, _name, &_qstring__name), (const QStringList&)*(QStringList*) 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 QString* _qstring__name = 0;
static QStringList* _qlist_URLs = 0;
static QString* _qstring_error = 0;
	jint xret = (jint) KApplicationJBridge::startServiceByDesktopPath((const QString&)*(QString*) QtSupport::toQString(env, _name, &_qstring__name), (const QStringList&)*(QStringList*) QtSupport::toQStringList(env, URLs, &_qlist_URLs), (QString*) 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 QString* _qstring__name = 0;
static QStringList* _qlist_URLs = 0;
static QString* _qstring_error = 0;
static QCString* _qcstring_dcopService = 0;
	if (_qcstring_dcopService == 0) {
		_qcstring_dcopService = new QCString();
	}
	jint xret = (jint) KApplicationJBridge::startServiceByDesktopPath((const QString&)*(QString*) QtSupport::toQString(env, _name, &_qstring__name), (const QStringList&)*(QStringList*) QtSupport::toQStringList(env, URLs, &_qlist_URLs), (QString*) QtSupport::toQStringFromStringBuffer(env, error, &_qstring_error), (QCString*) _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 QString* _qstring__name = 0;
static QStringList* _qlist_URLs = 0;
static QString* _qstring_error = 0;
static QCString* _qcstring_dcopService = 0;
	if (_qcstring_dcopService == 0) {
		_qcstring_dcopService = new QCString();
	}
	int* _int_pid = QtSupport::toIntPtr(env, pid);
	jint xret = (jint) KApplicationJBridge::startServiceByDesktopPath((const QString&)*(QString*) QtSupport::toQString(env, _name, &_qstring__name), (const QStringList&)*(QStringList*) QtSupport::toQStringList(env, URLs, &_qlist_URLs), (QString*) QtSupport::toQStringFromStringBuffer(env, error, &_qstring_error), (QCString*) _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 QString* _qstring__name = 0;
static QStringList* _qlist_URLs = 0;
static QString* _qstring_error = 0;
static QCString* _qcstring_dcopService = 0;
	if (_qcstring_dcopService == 0) {
		_qcstring_dcopService = new QCString();
	}
	int* _int_pid = QtSupport::toIntPtr(env, pid);
static QCString* _qcstring_startup_id = 0;
	jint xret = (jint) KApplicationJBridge::startServiceByDesktopPath((const QString&)*(QString*) QtSupport::toQString(env, _name, &_qstring__name), (const QStringList&)*(QStringList*) QtSupport::toQStringList(env, URLs, &_qlist_URLs), (QString*) QtSupport::toQStringFromStringBuffer(env, error, &_qstring_error), (QCString*) _qcstring_dcopService,  (int*) _int_pid, (const QCString&)*(QCString*) 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 QString* _qstring__name = 0;
static QStringList* _qlist_URLs = 0;
static QString* _qstring_error = 0;
static QCString* _qcstring_dcopService = 0;
	if (_qcstring_dcopService == 0) {
		_qcstring_dcopService = new QCString();
	}
	int* _int_pid = QtSupport::toIntPtr(env, pid);
static QCString* _qcstring_startup_id = 0;
	jint xret = (jint) KApplicationJBridge::startServiceByDesktopPath((const QString&)*(QString*) QtSupport::toQString(env, _name, &_qstring__name), (const QStringList&)*(QStringList*) QtSupport::toQStringList(env, URLs, &_qlist_URLs), (QString*) QtSupport::toQStringFromStringBuffer(env, error, &_qstring_error), (QCString*) _qcstring_dcopService,  (int*) _int_pid, (const QCString&)*(QCString*) 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 QString* _qstring__name = 0;
	jint xret = (jint) KApplicationJBridge::startServiceByName((const QString&)*(QString*) 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 QString* _qstring__name = 0;
static QString* _qstring_URL = 0;
	jint xret = (jint) KApplicationJBridge::startServiceByName((const QString&)*(QString*) QtSupport::toQString(env, _name, &_qstring__name), (const QString&)*(QString*) 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 QString* _qstring__name = 0;
static QString* _qstring_URL = 0;
static QString* _qstring_error = 0;
	jint xret = (jint) KApplicationJBridge::startServiceByName((const QString&)*(QString*) QtSupport::toQString(env, _name, &_qstring__name), (const QString&)*(QString*) QtSupport::toQString(env, URL, &_qstring_URL), (QString*) 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 QString* _qstring__name = 0;
static QString* _qstring_URL = 0;
static QString* _qstring_error = 0;
static QCString* _qcstring_dcopService = 0;
	if (_qcstring_dcopService == 0) {
		_qcstring_dcopService = new QCString();
	}
	jint xret = (jint) KApplicationJBridge::startServiceByName((const QString&)*(QString*) QtSupport::toQString(env, _name, &_qstring__name), (const QString&)*(QString*) QtSupport::toQString(env, URL, &_qstring_URL), (QString*) QtSupport::toQStringFromStringBuffer(env, error, &_qstring_error), (QCString*) _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 QString* _qstring__name = 0;
static QString* _qstring_URL = 0;
static QString* _qstring_error = 0;
static QCString* _qcstring_dcopService = 0;
	if (_qcstring_dcopService == 0) {
		_qcstring_dcopService = new QCString();
	}
	int* _int_pid = QtSupport::toIntPtr(env, pid);
	jint xret = (jint) KApplicationJBridge::startServiceByName((const QString&)*(QString*) QtSupport::toQString(env, _name, &_qstring__name), (const QString&)*(QString*) QtSupport::toQString(env, URL, &_qstring_URL), (QString*) QtSupport::toQStringFromStringBuffer(env, error, &_qstring_error), (QCString*) _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 QString* _qstring__name = 0;
static QString* _qstring_URL = 0;
static QString* _qstring_error = 0;
static QCString* _qcstring_dcopService = 0;
	if (_qcstring_dcopService == 0) {
		_qcstring_dcopService = new QCString();
	}
	int* _int_pid = QtSupport::toIntPtr(env, pid);
static QCString* _qcstring_startup_id = 0;
	jint xret = (jint) KApplicationJBridge::startServiceByName((const QString&)*(QString*) QtSupport::toQString(env, _name, &_qstring__name), (const QString&)*(QString*) QtSupport::toQString(env, URL, &_qstring_URL), (QString*) QtSupport::toQStringFromStringBuffer(env, error, &_qstring_error), (QCString*) _qcstring_dcopService,  (int*) _int_pid, (const QCString&)*(QCString*) 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 QString* _qstring__name = 0;
static QString* _qstring_URL = 0;
static QString* _qstring_error = 0;
static QCString* _qcstring_dcopService = 0;
	if (_qcstring_dcopService == 0) {
		_qcstring_dcopService = new QCString();
	}
	int* _int_pid = QtSupport::toIntPtr(env, pid);
static QCString* _qcstring_startup_id = 0;
	jint xret = (jint) KApplicationJBridge::startServiceByName((const QString&)*(QString*) QtSupport::toQString(env, _name, &_qstring__name), (const QString&)*(QString*) QtSupport::toQString(env, URL, &_qstring_URL), (QString*) QtSupport::toQStringFromStringBuffer(env, error, &_qstring_error), (QCString*) _qcstring_dcopService,  (int*) _int_pid, (const QCString&)*(QCString*) 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 QString* _qstring__name = 0;
static QStringList* _qlist_URLs = 0;
	jint xret = (jint) KApplicationJBridge::startServiceByName((const QString&)*(QString*) QtSupport::toQString(env, _name, &_qstring__name), (const QStringList&)*(QStringList*) 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 QString* _qstring__name = 0;
static QStringList* _qlist_URLs = 0;
static QString* _qstring_error = 0;
	jint xret = (jint) KApplicationJBridge::startServiceByName((const QString&)*(QString*) QtSupport::toQString(env, _name, &_qstring__name), (const QStringList&)*(QStringList*) QtSupport::toQStringList(env, URLs, &_qlist_URLs), (QString*) 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 QString* _qstring__name = 0;
static QStringList* _qlist_URLs = 0;
static QString* _qstring_error = 0;
static QCString* _qcstring_dcopService = 0;
	if (_qcstring_dcopService == 0) {
		_qcstring_dcopService = new QCString();
	}
	jint xret = (jint) KApplicationJBridge::startServiceByName((const QString&)*(QString*) QtSupport::toQString(env, _name, &_qstring__name), (const QStringList&)*(QStringList*) QtSupport::toQStringList(env, URLs, &_qlist_URLs), (QString*) QtSupport::toQStringFromStringBuffer(env, error, &_qstring_error), (QCString*) _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 QString* _qstring__name = 0;
static QStringList* _qlist_URLs = 0;
static QString* _qstring_error = 0;
static QCString* _qcstring_dcopService = 0;
	if (_qcstring_dcopService == 0) {
		_qcstring_dcopService = new QCString();
	}
	int* _int_pid = QtSupport::toIntPtr(env, pid);
	jint xret = (jint) KApplicationJBridge::startServiceByName((const QString&)*(QString*) QtSupport::toQString(env, _name, &_qstring__name), (const QStringList&)*(QStringList*) QtSupport::toQStringList(env, URLs, &_qlist_URLs), (QString*) QtSupport::toQStringFromStringBuffer(env, error, &_qstring_error), (QCString*) _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 QString* _qstring__name = 0;
static QStringList* _qlist_URLs = 0;
static QString* _qstring_error = 0;
static QCString* _qcstring_dcopService = 0;
	if (_qcstring_dcopService == 0) {
		_qcstring_dcopService = new QCString();
	}
	int* _int_pid = QtSupport::toIntPtr(env, pid);
static QCString* _qcstring_startup_id = 0;
	jint xret = (jint) KApplicationJBridge::startServiceByName((const QString&)*(QString*) QtSupport::toQString(env, _name, &_qstring__name), (const QStringList&)*(QStringList*) QtSupport::toQStringList(env, URLs, &_qlist_URLs), (QString*) QtSupport::toQStringFromStringBuffer(env, error, &_qstring_error), (QCString*) _qcstring_dcopService,  (int*) _int_pid, (const QCString&)*(QCString*) 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 QString* _qstring__name = 0;
static QStringList* _qlist_URLs = 0;
static QString* _qstring_error = 0;
static QCString* _qcstring_dcopService = 0;
	if (_qcstring_dcopService == 0) {
		_qcstring_dcopService = new QCString();
	}
	int* _int_pid = QtSupport::toIntPtr(env, pid);
static QCString* _qcstring_startup_id = 0;
	jint xret = (jint) KApplicationJBridge::startServiceByName((const QString&)*(QString*) QtSupport::toQString(env, _name, &_qstring__name), (const QStringList&)*(QStringList*) QtSupport::toQStringList(env, URLs, &_qlist_URLs), (QString*) QtSupport::toQStringFromStringBuffer(env, error, &_qstring_error), (QCString*) _qcstring_dcopService,  (int*) _int_pid, (const QCString&)*(QCString*) 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)
{
	QCString  _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)
{
	QString  _qstring;
static QString* _qstring_pFilename = 0;
	_qstring = ((KApplication*) QtSupport::getQt(env, obj))->tempSaveName((const QString&)*(QString*) 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 QCString* _qcstring_dcopId = 0;
	((KApplication*) QtSupport::getQt(env, obj))->updateRemoteUserTimestamp((const QCString&)*(QCString*) 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 QCString* _qcstring_dcopId = 0;
	((KApplication*) QtSupport::getQt(env, obj))->updateRemoteUserTimestamp((const QCString&)*(QCString*) 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;
}
	
