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
|
//Auto-generated by kalyptus. DO NOT EDIT.
#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/HTMLCollection.h>
class HTMLCollectionJBridge : public DOM::HTMLCollection
{
public:
HTMLCollectionJBridge() : DOM::HTMLCollection() {};
HTMLCollectionJBridge(const DOM::HTMLCollection& arg1) : DOM::HTMLCollection(arg1) {};
};
JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_HTMLCollection_base(JNIEnv* env, jobject obj)
{
jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Node(((DOM::HTMLCollection*) QtSupport::getQt(env, obj))->base()), "org.trinitydesktop.koala.Node", TRUE);
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_HTMLCollection_firstItem(JNIEnv* env, jobject obj)
{
jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Node(((DOM::HTMLCollection*) QtSupport::getQt(env, obj))->firstItem()), "org.trinitydesktop.koala.Node", TRUE);
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_koala_HTMLCollection_isNull(JNIEnv* env, jobject obj)
{
jboolean xret = (jboolean) ((DOM::HTMLCollection*) QtSupport::getQt(env, obj))->isNull();
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_HTMLCollection_item(JNIEnv* env, jobject obj, jlong index)
{
jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Node(((DOM::HTMLCollection*) QtSupport::getQt(env, obj))->item((unsigned long) index)), "org.trinitydesktop.koala.Node", TRUE);
return xret;
}
JNIEXPORT jlong JNICALL
Java_org_trinitydesktop_koala_HTMLCollection_length(JNIEnv* env, jobject obj)
{
jlong xret = (jlong) ((DOM::HTMLCollection*) QtSupport::getQt(env, obj))->length();
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_HTMLCollection_namedItem(JNIEnv* env, jobject obj, jstring name)
{
static DOM::DOMString* _domstring_name = 0;
jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Node(((DOM::HTMLCollection*) QtSupport::getQt(env, obj))->namedItem((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, name, &_domstring_name))), "org.trinitydesktop.koala.Node", TRUE);
return xret;
}
JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_HTMLCollection_newHTMLCollection__(JNIEnv* env, jobject obj)
{
if (QtSupport::getQt(env, obj) == 0) {
QtSupport::setQt(env, obj, new HTMLCollectionJBridge());
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
}
JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_HTMLCollection_newHTMLCollection__Lorg_trinitydesktop_koala_HTMLCollection_2(JNIEnv* env, jobject obj, jobject other)
{
if (QtSupport::getQt(env, obj) == 0) {
QtSupport::setQt(env, obj, new HTMLCollectionJBridge((const DOM::HTMLCollection&)*(const DOM::HTMLCollection*) QtSupport::getQt(env, other)));
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
}
JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_HTMLCollection_nextItem(JNIEnv* env, jobject obj)
{
jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Node(((DOM::HTMLCollection*) QtSupport::getQt(env, obj))->nextItem()), "org.trinitydesktop.koala.Node", TRUE);
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_HTMLCollection_nextNamedItem(JNIEnv* env, jobject obj, jstring name)
{
static DOM::DOMString* _domstring_name = 0;
jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Node(((DOM::HTMLCollection*) QtSupport::getQt(env, obj))->nextNamedItem((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, name, &_domstring_name))), "org.trinitydesktop.koala.Node", TRUE);
return xret;
}
|