summaryrefslogtreecommitdiffstats
path: root/kdejava/koala/kdejava/HTMLPreElement.cpp
blob: df9c3b3708207ab30f1b65cd3d77f39ea7737c25 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
//Auto-generated by kalyptus. DO NOT EDIT.
#include <dom/html_block.h>
#include <dom/dom_node.h>

#include <qtjava/QtSupport.h>
#include <kdejava/KDESupport.h>
#include <kdejava/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_kde_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_kde_koala_HTMLPreElement_newHTMLPreElement__Lorg_kde_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_kde_koala_HTMLPreElement_newHTMLPreElement__Lorg_kde_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_kde_koala_HTMLPreElement_setWidth(JNIEnv* env, jobject obj, jlong arg1)
{
	((DOM::HTMLPreElement*) QtSupport::getQt(env, obj))->setWidth((long) arg1);
	return;
}

JNIEXPORT jlong JNICALL
Java_org_kde_koala_HTMLPreElement_width(JNIEnv* env, jobject obj)
{
	jlong xret = (jlong) ((DOM::HTMLPreElement*) QtSupport::getQt(env, obj))->width();
	return xret;
}