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

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

class HTMLTitleElementJBridge : public DOM::HTMLTitleElement
{
public:
	HTMLTitleElementJBridge() : DOM::HTMLTitleElement() {};
	HTMLTitleElementJBridge(const DOM::HTMLTitleElement& arg1) : DOM::HTMLTitleElement(arg1) {};
	HTMLTitleElementJBridge(const DOM::Node& arg1) : DOM::HTMLTitleElement(arg1) {};
};

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

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

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

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

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

