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

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

class HTMLHRElementJBridge : public DOM::HTMLHRElement
{
public:
	HTMLHRElementJBridge() : DOM::HTMLHRElement() {};
	HTMLHRElementJBridge(const DOM::HTMLHRElement& arg1) : DOM::HTMLHRElement(arg1) {};
	HTMLHRElementJBridge(const DOM::Node& arg1) : DOM::HTMLHRElement(arg1) {};
};

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

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

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

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

JNIEXPORT jboolean JNICALL
Java_org_kde_koala_HTMLHRElement_noShade(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((DOM::HTMLHRElement*) QtSupport::getQt(env, obj))->noShade();
	return xret;
}

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

JNIEXPORT void JNICALL
Java_org_kde_koala_HTMLHRElement_setNoShade(JNIEnv* env, jobject obj, jboolean arg1)
{
	((DOM::HTMLHRElement*) QtSupport::getQt(env, obj))->setNoShade((bool) arg1);
	return;
}

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

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

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

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

