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

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

class HTMLFieldSetElementJBridge : public DOM::HTMLFieldSetElement
{
public:
	HTMLFieldSetElementJBridge() : DOM::HTMLFieldSetElement() {};
	HTMLFieldSetElementJBridge(const DOM::HTMLFieldSetElement& arg1) : DOM::HTMLFieldSetElement(arg1) {};
	HTMLFieldSetElementJBridge(const DOM::Node& arg1) : DOM::HTMLFieldSetElement(arg1) {};
};

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_HTMLFieldSetElement_formElement(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::HTMLFormElement(((DOM::HTMLFieldSetElement*) QtSupport::getQt(env, obj))->form()), "org.trinitydesktop.koala.HTMLFormElement", true);
	return xret;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_HTMLFieldSetElement_newHTMLFieldSetElement__(JNIEnv* env, jobject obj)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new HTMLFieldSetElementJBridge());
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

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

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

