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 <kcursor.h>
#include <qcursor.h>
#include <qtjava/QtSupport.h>
#include <kdejava/KDESupport.h>
#include <kdejava/KCursor.h>
class KCursorJBridge : public KCursor
{
public:
KCursorJBridge() : KCursor() {};
~KCursorJBridge() {QtSupport::qtKeyDeleted(this);}
};
JNIEXPORT jobject JNICALL
Java_org_kde_koala_KCursor_arrowCursor(JNIEnv* env, jclass cls)
{
(void) cls;
jobject xret = QtSupport::objectForQtKey(env, (void*)new QCursor(KCursorJBridge::arrowCursor()), "org.kde.qt.QCursor", TRUE);
return xret;
}
JNIEXPORT void JNICALL
Java_org_kde_koala_KCursor_autoHideEventFilter(JNIEnv* env, jclass cls, jobject arg1, jobject arg2)
{
(void) cls;
KCursorJBridge::autoHideEventFilter((QObject*) QtSupport::getQt(env, arg1), (QEvent*) QtSupport::getQt(env, arg2));
return;
}
JNIEXPORT jobject JNICALL
Java_org_kde_koala_KCursor_blankCursor(JNIEnv* env, jclass cls)
{
(void) cls;
jobject xret = QtSupport::objectForQtKey(env, (void*)new QCursor(KCursorJBridge::blankCursor()), "org.kde.qt.QCursor", TRUE);
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_koala_KCursor_crossCursor(JNIEnv* env, jclass cls)
{
(void) cls;
jobject xret = QtSupport::objectForQtKey(env, (void*)new QCursor(KCursorJBridge::crossCursor()), "org.kde.qt.QCursor", TRUE);
return xret;
}
JNIEXPORT void JNICALL
Java_org_kde_koala_KCursor_dispose(JNIEnv* env, jobject obj)
{
Java_org_kde_koala_KCursor_finalize(env, obj);
return;
}
JNIEXPORT void JNICALL
Java_org_kde_koala_KCursor_finalize(JNIEnv* env, jobject obj)
{
if (QtSupport::allocatedInJavaWorld(env, obj)) {
delete (KCursor*)QtSupport::getQt(env, obj);
QtSupport::setQt(env, obj, 0);
}
return;
}
JNIEXPORT jobject JNICALL
Java_org_kde_koala_KCursor_handCursor(JNIEnv* env, jclass cls)
{
(void) cls;
jobject xret = QtSupport::objectForQtKey(env, (void*)new QCursor(KCursorJBridge::handCursor()), "org.kde.qt.QCursor", TRUE);
return xret;
}
JNIEXPORT jint JNICALL
Java_org_kde_koala_KCursor_hideCursorDelay(JNIEnv* env, jclass cls)
{
(void) cls;
(void) env;
jint xret = (jint) KCursorJBridge::hideCursorDelay();
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_koala_KCursor_ibeamCursor(JNIEnv* env, jclass cls)
{
(void) cls;
jobject xret = QtSupport::objectForQtKey(env, (void*)new QCursor(KCursorJBridge::ibeamCursor()), "org.kde.qt.QCursor", TRUE);
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KCursor_isDisposed(JNIEnv* env, jobject obj)
{
return (QtSupport::getQt(env, obj) == 0);
}
JNIEXPORT void JNICALL
Java_org_kde_koala_KCursor_newKCursor(JNIEnv* env, jobject obj)
{
if (QtSupport::getQt(env, obj) == 0) {
QtSupport::setQt(env, obj, new KCursorJBridge());
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
}
JNIEXPORT void JNICALL
Java_org_kde_koala_KCursor_setAutoHideCursor__Lorg_kde_qt_QWidget_2Z(JNIEnv* env, jclass cls, jobject w, jboolean enable)
{
(void) cls;
KCursorJBridge::setAutoHideCursor((QWidget*) QtSupport::getQt(env, w), (bool) enable);
return;
}
JNIEXPORT void JNICALL
Java_org_kde_koala_KCursor_setAutoHideCursor__Lorg_kde_qt_QWidget_2ZZ(JNIEnv* env, jclass cls, jobject w, jboolean enable, jboolean customEventFilter)
{
(void) cls;
KCursorJBridge::setAutoHideCursor((QWidget*) QtSupport::getQt(env, w), (bool) enable, (bool) customEventFilter);
return;
}
JNIEXPORT void JNICALL
Java_org_kde_koala_KCursor_setHideCursorDelay(JNIEnv* env, jclass cls, jint ms)
{
(void) cls;
(void) env;
KCursorJBridge::setHideCursorDelay((int) ms);
return;
}
JNIEXPORT jobject JNICALL
Java_org_kde_koala_KCursor_sizeAllCursor(JNIEnv* env, jclass cls)
{
(void) cls;
jobject xret = QtSupport::objectForQtKey(env, (void*)new QCursor(KCursorJBridge::sizeAllCursor()), "org.kde.qt.QCursor", TRUE);
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_koala_KCursor_sizeBDiagCursor(JNIEnv* env, jclass cls)
{
(void) cls;
jobject xret = QtSupport::objectForQtKey(env, (void*)new QCursor(KCursorJBridge::sizeBDiagCursor()), "org.kde.qt.QCursor", TRUE);
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_koala_KCursor_sizeFDiagCursor(JNIEnv* env, jclass cls)
{
(void) cls;
jobject xret = QtSupport::objectForQtKey(env, (void*)new QCursor(KCursorJBridge::sizeFDiagCursor()), "org.kde.qt.QCursor", TRUE);
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_koala_KCursor_sizeHorCursor(JNIEnv* env, jclass cls)
{
(void) cls;
jobject xret = QtSupport::objectForQtKey(env, (void*)new QCursor(KCursorJBridge::sizeHorCursor()), "org.kde.qt.QCursor", TRUE);
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_koala_KCursor_sizeVerCursor(JNIEnv* env, jclass cls)
{
(void) cls;
jobject xret = QtSupport::objectForQtKey(env, (void*)new QCursor(KCursorJBridge::sizeVerCursor()), "org.kde.qt.QCursor", TRUE);
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_koala_KCursor_upArrowCursor(JNIEnv* env, jclass cls)
{
(void) cls;
jobject xret = QtSupport::objectForQtKey(env, (void*)new QCursor(KCursorJBridge::upArrowCursor()), "org.kde.qt.QCursor", TRUE);
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_koala_KCursor_waitCursor(JNIEnv* env, jclass cls)
{
(void) cls;
jobject xret = QtSupport::objectForQtKey(env, (void*)new QCursor(KCursorJBridge::waitCursor()), "org.kde.qt.QCursor", TRUE);
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_koala_KCursor_whatsThisCursor(JNIEnv* env, jclass cls)
{
(void) cls;
jobject xret = QtSupport::objectForQtKey(env, (void*)new QCursor(KCursorJBridge::whatsThisCursor()), "org.kde.qt.QCursor", TRUE);
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_koala_KCursor_workingCursor(JNIEnv* env, jclass cls)
{
(void) cls;
jobject xret = QtSupport::objectForQtKey(env, (void*)new QCursor(KCursorJBridge::workingCursor()), "org.kde.qt.QCursor", TRUE);
return xret;
}
|