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

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

class HTMLLabelElementJBridge : public DOM::HTMLLabelElement
{
public:
	HTMLLabelElementJBridge() : DOM::HTMLLabelElement() {};
	HTMLLabelElementJBridge(const DOM::HTMLLabelElement& arg1) : DOM::HTMLLabelElement(arg1) {};
	HTMLLabelElementJBridge(const DOM::Node& arg1) : DOM::HTMLLabelElement(arg1) {};
};

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

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

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

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

JNIEXPORT void JNICALL
Java_org_kde_koala_HTMLLabelElement_newHTMLLabelElement__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new HTMLLabelElementJBridge((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_HTMLLabelElement_setAccessKey(JNIEnv* env, jobject obj, jstring arg1)
{
static DOM::DOMString* _domstring_arg1 = 0;
	((DOM::HTMLLabelElement*) QtSupport::getQt(env, obj))->setAccessKey((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1));
	return;
}

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

