summaryrefslogtreecommitdiffstats
path: root/kdejava/koala/kdejava/HTMLHtmlElement.cpp
blob: 39e55c6dff67992491482afe8808241989786fa8 (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
61
62
63
//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/HTMLHtmlElement.h>

class HTMLHtmlElementJBridge : public DOM::HTMLHtmlElement
{
public:
	HTMLHtmlElementJBridge() : DOM::HTMLHtmlElement() {};
	HTMLHtmlElementJBridge(const DOM::HTMLHtmlElement& arg1) : DOM::HTMLHtmlElement(arg1) {};
	HTMLHtmlElementJBridge(const DOM::Node& arg1) : DOM::HTMLHtmlElement(arg1) {};
};

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

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

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

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