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

#include <qtjava/QtSupport.h>
#include <tdejava/TDESupport.h>
#include <tdejava/HTMLDirectoryElement.h>

class HTMLDirectoryElementJBridge : public DOM::HTMLDirectoryElement
{
public:
	HTMLDirectoryElementJBridge() : DOM::HTMLDirectoryElement() {};
	HTMLDirectoryElementJBridge(const DOM::HTMLDirectoryElement& arg1) : DOM::HTMLDirectoryElement(arg1) {};
	HTMLDirectoryElementJBridge(const DOM::Node& arg1) : DOM::HTMLDirectoryElement(arg1) {};
};

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

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

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

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

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

