//Auto-generated by kalyptus. DO NOT EDIT.
#include <qstring.h>
#include <knotifyclient.h>

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

JNIEXPORT void JNICALL
Java_org_kde_koala_KNotifyClient_beep__(JNIEnv* env, jclass cls)
{
	(void) cls;
	(void) env;
	KNotifyClient::beep();
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KNotifyClient_beep__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring reason)
{
	(void) cls;
static QString* _qstring_reason = 0;
	KNotifyClient::beep((const QString&)*(QString*) QtSupport::toQString(env, reason, &_qstring_reason));
	return;
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_KNotifyClient_event__II(JNIEnv* env, jclass cls, jint winId, jint event)
{
	(void) cls;
	(void) env;
	jint xret = (jint) KNotifyClient::event((int) winId, (KNotifyClient::StandardEvent) event);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_KNotifyClient_event__IILjava_lang_String_2(JNIEnv* env, jclass cls, jint winId, jint event, jstring text)
{
	(void) cls;
static QString* _qstring_text = 0;
	jint xret = (jint) KNotifyClient::event((int) winId, (KNotifyClient::StandardEvent) event, (const QString&)*(QString*) QtSupport::toQString(env, text, &_qstring_text));
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_KNotifyClient_event__ILjava_lang_String_2(JNIEnv* env, jclass cls, jint winId, jstring message)
{
	(void) cls;
static QString* _qstring_message = 0;
	jint xret = (jint) KNotifyClient::event((int) winId, (const QString&)*(QString*) QtSupport::toQString(env, message, &_qstring_message));
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_KNotifyClient_event__ILjava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jint winId, jstring message, jstring text)
{
	(void) cls;
static QString* _qstring_message = 0;
static QString* _qstring_text = 0;
	jint xret = (jint) KNotifyClient::event((int) winId, (const QString&)*(QString*) QtSupport::toQString(env, message, &_qstring_message), (const QString&)*(QString*) QtSupport::toQString(env, text, &_qstring_text));
	return xret;
}

JNIEXPORT jstring JNICALL
Java_org_kde_koala_KNotifyClient_getDefaultFile(JNIEnv* env, jclass cls, jstring eventname, jint present)
{
	QString  _qstring;
	(void) cls;
static QString* _qstring_eventname = 0;
	_qstring = KNotifyClient::getDefaultFile((const QString&)*(QString*) QtSupport::toQString(env, eventname, &_qstring_eventname), (int) present);
	return QtSupport::fromQString(env, &_qstring);
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_KNotifyClient_getDefaultPresentation(JNIEnv* env, jclass cls, jstring eventname)
{
	(void) cls;
static QString* _qstring_eventname = 0;
	jint xret = (jint) KNotifyClient::getDefaultPresentation((const QString&)*(QString*) QtSupport::toQString(env, eventname, &_qstring_eventname));
	return xret;
}

JNIEXPORT jstring JNICALL
Java_org_kde_koala_KNotifyClient_getFile(JNIEnv* env, jclass cls, jstring eventname, jint present)
{
	QString  _qstring;
	(void) cls;
static QString* _qstring_eventname = 0;
	_qstring = KNotifyClient::getFile((const QString&)*(QString*) QtSupport::toQString(env, eventname, &_qstring_eventname), (int) present);
	return QtSupport::fromQString(env, &_qstring);
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_KNotifyClient_getPresentation(JNIEnv* env, jclass cls, jstring eventname)
{
	(void) cls;
static QString* _qstring_eventname = 0;
	jint xret = (jint) KNotifyClient::getPresentation((const QString&)*(QString*) QtSupport::toQString(env, eventname, &_qstring_eventname));
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KNotifyClient_instance(JNIEnv* env, jclass cls)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)KNotifyClient::instance(), "org.kde.koala.KInstanceInterface");
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KNotifyClient_startDaemon(JNIEnv* env, jclass cls)
{
	(void) cls;
	(void) env;
	jboolean xret = (jboolean) KNotifyClient::startDaemon();
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_KNotifyClient_userEvent__I(JNIEnv* env, jclass cls, jint winId)
{
	(void) cls;
	(void) env;
	jint xret = (jint) KNotifyClient::userEvent((int) winId);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_KNotifyClient_userEvent__ILjava_lang_String_2(JNIEnv* env, jclass cls, jint winId, jstring text)
{
	(void) cls;
static QString* _qstring_text = 0;
	jint xret = (jint) KNotifyClient::userEvent((int) winId, (const QString&)*(QString*) QtSupport::toQString(env, text, &_qstring_text));
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_KNotifyClient_userEvent__ILjava_lang_String_2I(JNIEnv* env, jclass cls, jint winId, jstring text, jint present)
{
	(void) cls;
static QString* _qstring_text = 0;
	jint xret = (jint) KNotifyClient::userEvent((int) winId, (const QString&)*(QString*) QtSupport::toQString(env, text, &_qstring_text), (int) present);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_KNotifyClient_userEvent__ILjava_lang_String_2II(JNIEnv* env, jclass cls, jint winId, jstring text, jint present, jint level)
{
	(void) cls;
static QString* _qstring_text = 0;
	jint xret = (jint) KNotifyClient::userEvent((int) winId, (const QString&)*(QString*) QtSupport::toQString(env, text, &_qstring_text), (int) present, (int) level);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_KNotifyClient_userEvent__ILjava_lang_String_2IILjava_lang_String_2(JNIEnv* env, jclass cls, jint winId, jstring text, jint present, jint level, jstring sound)
{
	(void) cls;
static QString* _qstring_text = 0;
static QString* _qstring_sound = 0;
	jint xret = (jint) KNotifyClient::userEvent((int) winId, (const QString&)*(QString*) QtSupport::toQString(env, text, &_qstring_text), (int) present, (int) level, (const QString&)*(QString*) QtSupport::toQString(env, sound, &_qstring_sound));
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_KNotifyClient_userEvent__ILjava_lang_String_2IILjava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jint winId, jstring text, jint present, jint level, jstring sound, jstring file)
{
	(void) cls;
static QString* _qstring_text = 0;
static QString* _qstring_sound = 0;
static QString* _qstring_file = 0;
	jint xret = (jint) KNotifyClient::userEvent((int) winId, (const QString&)*(QString*) QtSupport::toQString(env, text, &_qstring_text), (int) present, (int) level, (const QString&)*(QString*) QtSupport::toQString(env, sound, &_qstring_sound), (const QString&)*(QString*) QtSupport::toQString(env, file, &_qstring_file));
	return xret;
}

