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

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

class HTMLFontElementJBridge : public DOM::HTMLFontElement
{
public:
	HTMLFontElementJBridge() : DOM::HTMLFontElement() {};
	HTMLFontElementJBridge(const DOM::HTMLFontElement& arg1) : DOM::HTMLFontElement(arg1) {};
	HTMLFontElementJBridge(const DOM::Node& arg1) : DOM::HTMLFontElement(arg1) {};
};

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

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

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

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

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

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

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

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

