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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
|
//Auto-generated by kalyptus. DO NOT EDIT.
#include <dom/html_element.h>
#include <dom/dom_string.h>
#include <dom/dom_node.h>
#include <dom/html_misc.h>
#include <qtjava/QtSupport.h>
#include <tdejava/TDESupport.h>
#include <tdejava/HTMLElement.h>
class HTMLElementJBridge : public DOM::HTMLElement
{
public:
HTMLElementJBridge() : DOM::HTMLElement() {};
HTMLElementJBridge(const DOM::HTMLElement& arg1) : DOM::HTMLElement(arg1) {};
HTMLElementJBridge(const DOM::Node& arg1) : DOM::HTMLElement(arg1) {};
void protected_assignOther(const DOM::Node& arg1,int arg2) {
DOM::HTMLElement::assignOther(arg1,arg2);
return;
}
};
JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_HTMLElement_addCSSProperty(JNIEnv* env, jobject obj, jstring property, jstring value)
{
static DOM::DOMString* _domstring_property = 0;
static DOM::DOMString* _domstring_value = 0;
((DOM::HTMLElement*) QtSupport::getQt(env, obj))->addCSSProperty((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, property, &_domstring_property), (DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, value, &_domstring_value));
return;
}
JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_HTMLElement_all(JNIEnv* env, jobject obj)
{
jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::HTMLCollection(((DOM::HTMLElement*) QtSupport::getQt(env, obj))->all()), "org.trinitydesktop.koala.HTMLCollection", TRUE);
return xret;
}
JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_HTMLElement_assignOther(JNIEnv* env, jobject obj, jobject other, jint elementId)
{
((HTMLElementJBridge*) QtSupport::getQt(env, obj))->protected_assignOther((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other), (int) elementId);
return;
}
JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_HTMLElement_children(JNIEnv* env, jobject obj)
{
jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::HTMLCollection(((DOM::HTMLElement*) QtSupport::getQt(env, obj))->children()), "org.trinitydesktop.koala.HTMLCollection", TRUE);
return xret;
}
JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_koala_HTMLElement_className(JNIEnv* env, jobject obj)
{
DOM::DOMString _qstring;
_qstring = ((DOM::HTMLElement*) QtSupport::getQt(env, obj))->className();
return KDESupport::fromDOMString(env, &_qstring);
}
JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_koala_HTMLElement_dir(JNIEnv* env, jobject obj)
{
DOM::DOMString _qstring;
_qstring = ((DOM::HTMLElement*) QtSupport::getQt(env, obj))->dir();
return KDESupport::fromDOMString(env, &_qstring);
}
JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_koala_HTMLElement_id(JNIEnv* env, jobject obj)
{
DOM::DOMString _qstring;
_qstring = ((DOM::HTMLElement*) QtSupport::getQt(env, obj))->id();
return KDESupport::fromDOMString(env, &_qstring);
}
JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_koala_HTMLElement_innerHTML(JNIEnv* env, jobject obj)
{
DOM::DOMString _qstring;
_qstring = ((DOM::HTMLElement*) QtSupport::getQt(env, obj))->innerHTML();
return KDESupport::fromDOMString(env, &_qstring);
}
JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_koala_HTMLElement_innerText(JNIEnv* env, jobject obj)
{
DOM::DOMString _qstring;
_qstring = ((DOM::HTMLElement*) QtSupport::getQt(env, obj))->innerText();
return KDESupport::fromDOMString(env, &_qstring);
}
JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_koala_HTMLElement_lang(JNIEnv* env, jobject obj)
{
DOM::DOMString _qstring;
_qstring = ((DOM::HTMLElement*) QtSupport::getQt(env, obj))->lang();
return KDESupport::fromDOMString(env, &_qstring);
}
JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_HTMLElement_newHTMLElement__(JNIEnv* env, jobject obj)
{
if (QtSupport::getQt(env, obj) == 0) {
QtSupport::setQt(env, obj, new HTMLElementJBridge());
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
}
JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_HTMLElement_newHTMLElement__Lorg_trinitydesktop_koala_HTMLElement_2(JNIEnv* env, jobject obj, jobject other)
{
if (QtSupport::getQt(env, obj) == 0) {
QtSupport::setQt(env, obj, new HTMLElementJBridge((const DOM::HTMLElement&)*(const DOM::HTMLElement*) QtSupport::getQt(env, other)));
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
}
JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_HTMLElement_newHTMLElement__Lorg_trinitydesktop_koala_Node_2(JNIEnv* env, jobject obj, jobject other)
{
if (QtSupport::getQt(env, obj) == 0) {
QtSupport::setQt(env, obj, new HTMLElementJBridge((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_HTMLElement_removeCSSProperty(JNIEnv* env, jobject obj, jstring property)
{
static DOM::DOMString* _domstring_property = 0;
((DOM::HTMLElement*) QtSupport::getQt(env, obj))->removeCSSProperty((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, property, &_domstring_property));
return;
}
JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_HTMLElement_setClassName(JNIEnv* env, jobject obj, jstring arg1)
{
static DOM::DOMString* _domstring_arg1 = 0;
((DOM::HTMLElement*) QtSupport::getQt(env, obj))->setClassName((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1));
return;
}
JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_HTMLElement_setDir(JNIEnv* env, jobject obj, jstring arg1)
{
static DOM::DOMString* _domstring_arg1 = 0;
((DOM::HTMLElement*) QtSupport::getQt(env, obj))->setDir((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1));
return;
}
JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_HTMLElement_setId(JNIEnv* env, jobject obj, jstring arg1)
{
static DOM::DOMString* _domstring_arg1 = 0;
((DOM::HTMLElement*) QtSupport::getQt(env, obj))->setId((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1));
return;
}
JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_HTMLElement_setInnerHTML(JNIEnv* env, jobject obj, jstring html)
{
static DOM::DOMString* _domstring_html = 0;
((DOM::HTMLElement*) QtSupport::getQt(env, obj))->setInnerHTML((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, html, &_domstring_html));
return;
}
JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_HTMLElement_setInnerText(JNIEnv* env, jobject obj, jstring text)
{
static DOM::DOMString* _domstring_text = 0;
((DOM::HTMLElement*) QtSupport::getQt(env, obj))->setInnerText((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, text, &_domstring_text));
return;
}
JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_HTMLElement_setLang(JNIEnv* env, jobject obj, jstring arg1)
{
static DOM::DOMString* _domstring_arg1 = 0;
((DOM::HTMLElement*) QtSupport::getQt(env, obj))->setLang((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1));
return;
}
JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_HTMLElement_setTitle(JNIEnv* env, jobject obj, jstring arg1)
{
static DOM::DOMString* _domstring_arg1 = 0;
((DOM::HTMLElement*) QtSupport::getQt(env, obj))->setTitle((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1));
return;
}
JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_koala_HTMLElement_title(JNIEnv* env, jobject obj)
{
DOM::DOMString _qstring;
_qstring = ((DOM::HTMLElement*) QtSupport::getQt(env, obj))->title();
return KDESupport::fromDOMString(env, &_qstring);
}
|