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

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

class HTMLHtmlElementJBridge : public DOM::HTMLHtmlElement
{
public:
	HTMLHtmlElementJBridge() : DOM::HTMLHtmlElement() {};
	HTMLHtmlElementJBridge(const DOM::HTMLHtmlElement& arg1) : DOM::HTMLHtmlElement(arg1) {};
	HTMLHtmlElementJBridge(const DOM::Node& arg1) : DOM::HTMLHtmlElement(arg1) {};
};

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

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

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

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_HTMLHtmlElement_setVersion(JNIEnv* env, jobject obj, jstring arg1)
{
static DOM::DOMString* _domstring_arg1 = 0;
	((DOM::HTMLHtmlElement*) QtSupport::getQt(env, obj))->setVersion((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1));
	return;
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_koala_HTMLHtmlElement_version(JNIEnv* env, jobject obj)
{
	DOM::DOMString  _qstring;
	_qstring = ((DOM::HTMLHtmlElement*) QtSupport::getQt(env, obj))->version();
	return KDESupport::fromDOMString(env, &_qstring);
}

