You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
1.1 KiB
35 lines
1.1 KiB
//Auto-generated by kalyptus. DO NOT EDIT.
|
|
#include <dom/dom_exception.h>
|
|
|
|
#include <qtjava/QtSupport.h>
|
|
#include <kdejava/KDESupport.h>
|
|
#include <kdejava/DOMException.h>
|
|
|
|
class DOMExceptionJBridge : public DOM::DOMException
|
|
{
|
|
public:
|
|
DOMExceptionJBridge(unsigned short arg1) : DOM::DOMException(arg1) {};
|
|
DOMExceptionJBridge(const DOM::DOMException& arg1) : DOM::DOMException(arg1) {};
|
|
};
|
|
|
|
JNIEXPORT void JNICALL
|
|
Java_org_kde_koala_DOMException_newDOMException__Lorg_kde_koala_DOMException_2(JNIEnv* env, jobject obj, jobject other)
|
|
{
|
|
if (QtSupport::getQt(env, obj) == 0) {
|
|
QtSupport::setQt(env, obj, new DOMExceptionJBridge((const DOM::DOMException&)*(const DOM::DOMException*) QtSupport::getQt(env, other)));
|
|
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
|
|
}
|
|
return;
|
|
}
|
|
|
|
JNIEXPORT void JNICALL
|
|
Java_org_kde_koala_DOMException_newDOMException__S(JNIEnv* env, jobject obj, jshort _code)
|
|
{
|
|
if (QtSupport::getQt(env, obj) == 0) {
|
|
QtSupport::setQt(env, obj, new DOMExceptionJBridge((unsigned short) _code));
|
|
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
|
|
}
|
|
return;
|
|
}
|
|
|