summaryrefslogtreecommitdiffstats
path: root/kdejava/koala/kdejava/EventException.cpp
blob: 579faaf4643444a1970d35083ecf30db4285c8e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
//Auto-generated by kalyptus. DO NOT EDIT.
#include <dom/dom2_events.h>

#include <qtjava/QtSupport.h>
#include <kdejava/KDESupport.h>
#include <kdejava/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_kde_koala_EventException_newEventException__Lorg_kde_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_kde_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;
}