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

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

class HTMLTableRowElementJBridge : public DOM::HTMLTableRowElement
{
public:
	HTMLTableRowElementJBridge() : DOM::HTMLTableRowElement() {};
	HTMLTableRowElementJBridge(const DOM::HTMLTableRowElement& arg1) : DOM::HTMLTableRowElement(arg1) {};
	HTMLTableRowElementJBridge(const DOM::Node& arg1) : DOM::HTMLTableRowElement(arg1) {};
};

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

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

JNIEXPORT jobject JNICALL
Java_org_kde_koala_HTMLTableRowElement_cells(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::HTMLCollection(((DOM::HTMLTableRowElement*) QtSupport::getQt(env, obj))->cells()), "org.kde.koala.HTMLCollection", TRUE);
	return xret;
}

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

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

JNIEXPORT void JNICALL
Java_org_kde_koala_HTMLTableRowElement_deleteCell(JNIEnv* env, jobject obj, jlong index)
{
	((DOM::HTMLTableRowElement*) QtSupport::getQt(env, obj))->deleteCell((long) index);
	return;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_HTMLTableRowElement_insertCell(JNIEnv* env, jobject obj, jlong index)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::HTMLElement(((DOM::HTMLTableRowElement*) QtSupport::getQt(env, obj))->insertCell((long) index)), "org.kde.koala.HTMLElement", TRUE);
	return xret;
}

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

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

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

JNIEXPORT jlong JNICALL
Java_org_kde_koala_HTMLTableRowElement_rowIndex(JNIEnv* env, jobject obj)
{
	jlong xret = (jlong) ((DOM::HTMLTableRowElement*) QtSupport::getQt(env, obj))->rowIndex();
	return xret;
}

JNIEXPORT jlong JNICALL
Java_org_kde_koala_HTMLTableRowElement_sectionRowIndex(JNIEnv* env, jobject obj)
{
	jlong xret = (jlong) ((DOM::HTMLTableRowElement*) QtSupport::getQt(env, obj))->sectionRowIndex();
	return xret;
}

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

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

JNIEXPORT void JNICALL
Java_org_kde_koala_HTMLTableRowElement_setCells(JNIEnv* env, jobject obj, jobject arg1)
{
	((DOM::HTMLTableRowElement*) QtSupport::getQt(env, obj))->setCells((const DOM::HTMLCollection&)*(const DOM::HTMLCollection*) QtSupport::getQt(env, arg1));
	return;
}

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

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

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

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

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

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

