summaryrefslogtreecommitdiffstats
path: root/tdejava/koala/tdejava/Comment.cpp
blob: fd1cd7fd29bec5fff2c951b47c81627b3b3514c1 (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
//Auto-generated by kalyptus. DO NOT EDIT.
#include <dom/dom_text.h>
#include <dom/dom_node.h>

#include <qtjava/QtSupport.h>
#include <tdejava/TDESupport.h>
#include <tdejava/Comment.h>

class CommentJBridge : public DOM::Comment
{
public:
	CommentJBridge() : DOM::Comment() {};
	CommentJBridge(const DOM::Comment& arg1) : DOM::Comment(arg1) {};
	CommentJBridge(const DOM::Node& arg1) : DOM::Comment(arg1) {};
};

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

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

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