//Auto-generated by kalyptus. DO NOT EDIT.
#include <dom/dom2_events.h>

#include <qtjava/QtSupport.h>
#include <tdejava/TDESupport.h>
#include <tdejava/EventException.h>

class EventExceptionJBridge : public DOM::EventException
{
public:
	EventExceptionJBridge(unsigned short arg1) : DOM::EventException(arg1) {};
	EventExceptionJBridge(const DOM::EventException& arg1) : DOM::EventException(arg1) {};
};

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_EventException_newEventException__Lorg_trinitydesktop_koala_EventException_2(JNIEnv* env, jobject obj, jobject other)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new EventExceptionJBridge((const DOM::EventException&)*(const DOM::EventException*) QtSupport::getQt(env, other)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_EventException_newEventException__S(JNIEnv* env, jobject obj, jshort _code)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new EventExceptionJBridge((unsigned short) _code));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

