summaryrefslogtreecommitdiffstats
path: root/kdejava/koala/kdejava/HTMLMenuElement.cpp
blob: 505e7d53eb7aaba9dfda25d5aac356dbdc0ebc9d (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/dom_node.h>
#include <dom/html_list.h>

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

class HTMLMenuElementJBridge : public DOM::HTMLMenuElement
{
public:
	HTMLMenuElementJBridge() : DOM::HTMLMenuElement() {};
	HTMLMenuElementJBridge(const DOM::HTMLMenuElement& arg1) : DOM::HTMLMenuElement(arg1) {};
	HTMLMenuElementJBridge(const DOM::Node& arg1) : DOM::HTMLMenuElement(arg1) {};
};

JNIEXPORT jboolean JNICALL
Java_org_kde_koala_HTMLMenuElement_compact(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((DOM::HTMLMenuElement*) QtSupport::getQt(env, obj))->compact();
	return xret;
}

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

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

JNIEXPORT void JNICALL
Java_org_kde_koala_HTMLMenuElement_newHTMLMenuElement__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new HTMLMenuElementJBridge((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_HTMLMenuElement_setCompact(JNIEnv* env, jobject obj, jboolean arg1)
{
	((DOM::HTMLMenuElement*) QtSupport::getQt(env, obj))->setCompact((bool) arg1);
	return;
}