You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tdebindings/tdejava/koala/tdejava/HTMLPreElement.cpp

61 lines
2.0 KiB

//Auto-generated by kalyptus. DO NOT EDIT.
#include <dom/html_block.h>
#include <dom/dom_node.h>
#include <qtjava/QtSupport.h>
#include <tdejava/TDESupport.h>
#include <tdejava/HTMLPreElement.h>
class HTMLPreElementJBridge : public DOM::HTMLPreElement
{
public:
HTMLPreElementJBridge() : DOM::HTMLPreElement() {};
HTMLPreElementJBridge(const DOM::HTMLPreElement& arg1) : DOM::HTMLPreElement(arg1) {};
HTMLPreElementJBridge(const DOM::Node& arg1) : DOM::HTMLPreElement(arg1) {};
};
JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_HTMLPreElement_newHTMLPreElement__(JNIEnv* env, jobject obj)
{
if (QtSupport::getQt(env, obj) == 0) {
QtSupport::setQt(env, obj, new HTMLPreElementJBridge());
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
}
JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_HTMLPreElement_newHTMLPreElement__Lorg_trinitydesktop_koala_HTMLPreElement_2(JNIEnv* env, jobject obj, jobject other)
{
if (QtSupport::getQt(env, obj) == 0) {
QtSupport::setQt(env, obj, new HTMLPreElementJBridge((const DOM::HTMLPreElement&)*(const DOM::HTMLPreElement*) QtSupport::getQt(env, other)));
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
}
JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_HTMLPreElement_newHTMLPreElement__Lorg_trinitydesktop_koala_Node_2(JNIEnv* env, jobject obj, jobject other)
{
if (QtSupport::getQt(env, obj) == 0) {
QtSupport::setQt(env, obj, new HTMLPreElementJBridge((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_HTMLPreElement_setWidth(JNIEnv* env, jobject obj, jlong arg1)
{
((DOM::HTMLPreElement*) QtSupport::getQt(env, obj))->setWidth((long) arg1);
return;
}
JNIEXPORT jlong JNICALL
Java_org_trinitydesktop_koala_HTMLPreElement_width(JNIEnv* env, jobject obj)
{
jlong xret = (jlong) ((DOM::HTMLPreElement*) QtSupport::getQt(env, obj))->width();
return xret;
}