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

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

class HTMLTableColElementJBridge : public DOM::HTMLTableColElement
{
public:
	HTMLTableColElementJBridge() : DOM::HTMLTableColElement() {};
	HTMLTableColElementJBridge(const DOM::HTMLTableColElement& arg1) : DOM::HTMLTableColElement(arg1) {};
	HTMLTableColElementJBridge(const DOM::Node& arg1) : DOM::HTMLTableColElement(arg1) {};
};

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

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

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

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

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

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

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

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

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

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

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

JNIEXPORT jlong JNICALL
Java_org_kde_koala_HTMLTableColElement_span(JNIEnv* env, jobject obj)
{
	jlong xret = (jlong) ((DOM::HTMLTableColElement*) QtSupport::getQt(env, obj))->span();
	return xret;
}

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

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

