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

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

class HTMLBaseFontElementJBridge : public DOM::HTMLBaseFontElement
{
public:
	HTMLBaseFontElementJBridge() : DOM::HTMLBaseFontElement() {};
	HTMLBaseFontElementJBridge(const DOM::HTMLBaseFontElement& arg1) : DOM::HTMLBaseFontElement(arg1) {};
	HTMLBaseFontElementJBridge(const DOM::Node& arg1) : DOM::HTMLBaseFontElement(arg1) {};
};

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

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

JNIEXPORT jlong JNICALL
Java_org_trinitydesktop_koala_HTMLBaseFontElement_getSize(JNIEnv* env, jobject obj)
{
	jlong xret = (jlong) ((DOM::HTMLBaseFontElement*) QtSupport::getQt(env, obj))->getSize();
	return xret;
}

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

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

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

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

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

