//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/HTMLOListElement.h>

class HTMLOListElementJBridge : public DOM::HTMLOListElement
{
public:
	HTMLOListElementJBridge() : DOM::HTMLOListElement() {};
	HTMLOListElementJBridge(const DOM::HTMLOListElement& arg1) : DOM::HTMLOListElement(arg1) {};
	HTMLOListElementJBridge(const DOM::Node& arg1) : DOM::HTMLOListElement(arg1) {};
};

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

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

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

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

JNIEXPORT void JNICALL
Java_org_kde_koala_HTMLOListElement_setStart(JNIEnv* env, jobject obj, jlong arg1)
{
	((DOM::HTMLOListElement*) QtSupport::getQt(env, obj))->setStart((long) arg1);
	return;
}

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

JNIEXPORT jlong JNICALL
Java_org_kde_koala_HTMLOListElement_start(JNIEnv* env, jobject obj)
{
	jlong xret = (jlong) ((DOM::HTMLOListElement*) QtSupport::getQt(env, obj))->start();
	return xret;
}

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

