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

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

class HTMLFrameSetElementJBridge : public DOM::HTMLFrameSetElement
{
public:
	HTMLFrameSetElementJBridge() : DOM::HTMLFrameSetElement() {};
	HTMLFrameSetElementJBridge(const DOM::HTMLFrameSetElement& arg1) : DOM::HTMLFrameSetElement(arg1) {};
	HTMLFrameSetElementJBridge(const DOM::Node& arg1) : DOM::HTMLFrameSetElement(arg1) {};
};

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

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

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

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

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

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

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

