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

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

class CSSExceptionJBridge : public DOM::CSSException
{
public:
	CSSExceptionJBridge(unsigned short arg1) : DOM::CSSException(arg1) {};
	CSSExceptionJBridge(const DOM::CSSException& arg1) : DOM::CSSException(arg1) {};
};

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

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

