diff options
Diffstat (limited to 'tdejava/koala/tdejava/EventException.cpp')
-rw-r--r-- | tdejava/koala/tdejava/EventException.cpp | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/tdejava/koala/tdejava/EventException.cpp b/tdejava/koala/tdejava/EventException.cpp new file mode 100644 index 00000000..c944282f --- /dev/null +++ b/tdejava/koala/tdejava/EventException.cpp @@ -0,0 +1,34 @@ +//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; +} + |