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
|
//Auto-generated by kalyptus. DO NOT EDIT.
#include <dom/css_value.h>
#include <dom/dom_string.h>
#include <dom/css_rule.h>
#include <qtjava/QtSupport.h>
#include <tdejava/TDESupport.h>
#include <tdejava/CSSStyleDeclaration.h>
class CSSStyleDeclarationJBridge : public DOM::CSSStyleDeclaration
{
public:
CSSStyleDeclarationJBridge() : DOM::CSSStyleDeclaration() {};
CSSStyleDeclarationJBridge(const DOM::CSSStyleDeclaration& arg1) : DOM::CSSStyleDeclaration(arg1) {};
};
JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_koala_CSSStyleDeclaration_cssText(JNIEnv* env, jobject obj)
{
DOM::DOMString _qstring;
_qstring = ((DOM::CSSStyleDeclaration*) QtSupport::getQt(env, obj))->cssText();
return KDESupport::fromDOMString(env, &_qstring);
}
JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_CSSStyleDeclaration_getPropertyCSSValue(JNIEnv* env, jobject obj, jstring propertyName)
{
static DOM::DOMString* _domstring_propertyName = 0;
jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::CSSValue(((DOM::CSSStyleDeclaration*) QtSupport::getQt(env, obj))->getPropertyCSSValue((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, propertyName, &_domstring_propertyName))), "org.trinitydesktop.koala.CSSValue", TRUE);
return xret;
}
JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_koala_CSSStyleDeclaration_getPropertyPriority(JNIEnv* env, jobject obj, jstring propertyName)
{
DOM::DOMString _qstring;
static DOM::DOMString* _domstring_propertyName = 0;
_qstring = ((DOM::CSSStyleDeclaration*) QtSupport::getQt(env, obj))->getPropertyPriority((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, propertyName, &_domstring_propertyName));
return KDESupport::fromDOMString(env, &_qstring);
}
JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_koala_CSSStyleDeclaration_getPropertyValue(JNIEnv* env, jobject obj, jstring propertyName)
{
DOM::DOMString _qstring;
static DOM::DOMString* _domstring_propertyName = 0;
_qstring = ((DOM::CSSStyleDeclaration*) QtSupport::getQt(env, obj))->getPropertyValue((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, propertyName, &_domstring_propertyName));
return KDESupport::fromDOMString(env, &_qstring);
}
JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_koala_CSSStyleDeclaration_isNull(JNIEnv* env, jobject obj)
{
jboolean xret = (jboolean) ((DOM::CSSStyleDeclaration*) QtSupport::getQt(env, obj))->isNull();
return xret;
}
JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_koala_CSSStyleDeclaration_item(JNIEnv* env, jobject obj, jlong index)
{
DOM::DOMString _qstring;
_qstring = ((DOM::CSSStyleDeclaration*) QtSupport::getQt(env, obj))->item((unsigned long) index);
return KDESupport::fromDOMString(env, &_qstring);
}
JNIEXPORT jlong JNICALL
Java_org_trinitydesktop_koala_CSSStyleDeclaration_length(JNIEnv* env, jobject obj)
{
jlong xret = (jlong) ((DOM::CSSStyleDeclaration*) QtSupport::getQt(env, obj))->length();
return xret;
}
JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_CSSStyleDeclaration_newCSSStyleDeclaration__(JNIEnv* env, jobject obj)
{
if (QtSupport::getQt(env, obj) == 0) {
QtSupport::setQt(env, obj, new CSSStyleDeclarationJBridge());
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
}
JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_CSSStyleDeclaration_newCSSStyleDeclaration__Lorg_trinitydesktop_koala_CSSStyleDeclaration_2(JNIEnv* env, jobject obj, jobject other)
{
if (QtSupport::getQt(env, obj) == 0) {
QtSupport::setQt(env, obj, new CSSStyleDeclarationJBridge((const DOM::CSSStyleDeclaration&)*(const DOM::CSSStyleDeclaration*) QtSupport::getQt(env, other)));
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
}
JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_CSSStyleDeclaration_parentRule(JNIEnv* env, jobject obj)
{
jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::CSSRule(((DOM::CSSStyleDeclaration*) QtSupport::getQt(env, obj))->parentRule()), "org.trinitydesktop.koala.CSSRule", TRUE);
return xret;
}
JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_koala_CSSStyleDeclaration_removeProperty(JNIEnv* env, jobject obj, jstring propertyName)
{
DOM::DOMString _qstring;
static DOM::DOMString* _domstring_propertyName = 0;
_qstring = ((DOM::CSSStyleDeclaration*) QtSupport::getQt(env, obj))->removeProperty((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, propertyName, &_domstring_propertyName));
return KDESupport::fromDOMString(env, &_qstring);
}
JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_CSSStyleDeclaration_setCssText(JNIEnv* env, jobject obj, jstring arg1)
{
static DOM::DOMString* _domstring_arg1 = 0;
((DOM::CSSStyleDeclaration*) QtSupport::getQt(env, obj))->setCssText((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1));
return;
}
JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_CSSStyleDeclaration_setProperty(JNIEnv* env, jobject obj, jstring propertyName, jstring value, jstring priority)
{
static DOM::DOMString* _domstring_propertyName = 0;
static DOM::DOMString* _domstring_value = 0;
static DOM::DOMString* _domstring_priority = 0;
((DOM::CSSStyleDeclaration*) QtSupport::getQt(env, obj))->setProperty((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, propertyName, &_domstring_propertyName), (DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, value, &_domstring_value), (DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, priority, &_domstring_priority));
return;
}
|