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

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

class HTMLUListElementJBridge : public DOM::HTMLUListElement
{
public:
	HTMLUListElementJBridge() : DOM::HTMLUListElement() {};
	HTMLUListElementJBridge(const DOM::HTMLUListElement& arg1) : DOM::HTMLUListElement(arg1) {};
	HTMLUListElementJBridge(const DOM::Node& arg1) : DOM::HTMLUListElement(arg1) {};
};

JNIEXPORT jboolean JNICALL
Java_org_kde_koala_HTMLUListElement_compact(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((DOM::HTMLUListElement*) QtSupport::getQt(env, obj))->compact();
	return xret;
}

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

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

JNIEXPORT void JNICALL
Java_org_kde_koala_HTMLUListElement_newHTMLUListElement__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new HTMLUListElementJBridge((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_HTMLUListElement_setCompact(JNIEnv* env, jobject obj, jboolean arg1)
{
	((DOM::HTMLUListElement*) QtSupport::getQt(env, obj))->setCompact((bool) arg1);
	return;
}

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

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

