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
|
//Auto-generated by kalyptus. DO NOT EDIT.
#include <qcanvas.h>
#include <qpointarray.h>
#include <qtjava/QtSupport.h>
#include <qtjava/QCanvasSpline.h>
class QCanvasSplineJBridge : public QCanvasSpline
{
public:
QCanvasSplineJBridge(QCanvas* arg1) : QCanvasSpline(arg1) {};
~QCanvasSplineJBridge() {QtSupport::qtKeyDeleted(this);}
};
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QCanvasSpline_closed(JNIEnv* env, jobject obj)
{
jboolean xret = (jboolean) ((QCanvasSpline*) QtSupport::getQt(env, obj))->closed();
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QCanvasSpline_controlPoints(JNIEnv* env, jobject obj)
{
jobject xret = QtSupport::objectForQtKey(env, (void*)new QPointArray(((QCanvasSpline*) QtSupport::getQt(env, obj))->controlPoints()), "org.kde.qt.QPointArray", TRUE);
return xret;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QCanvasSpline_dispose(JNIEnv* env, jobject obj)
{
Java_org_kde_qt_QCanvasSpline_finalize(env, obj);
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QCanvasSpline_finalize(JNIEnv* env, jobject obj)
{
if (QtSupport::allocatedInJavaWorld(env, obj)) {
delete (QCanvasSpline*)QtSupport::getQt(env, obj);
QtSupport::setQt(env, obj, 0);
}
return;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QCanvasSpline_isDisposed(JNIEnv* env, jobject obj)
{
return (QtSupport::getQt(env, obj) == 0);
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QCanvasSpline_newQCanvasSpline(JNIEnv* env, jobject obj, jobject canvas)
{
if (QtSupport::getQt(env, obj) == 0) {
QtSupport::setQt(env, obj, new QCanvasSplineJBridge((QCanvas*) QtSupport::getQt(env, canvas)));
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
}
JNIEXPORT jint JNICALL
Java_org_kde_qt_QCanvasSpline_rtti(JNIEnv* env, jobject obj)
{
jint xret = (jint) ((QCanvasSpline*) QtSupport::getQt(env, obj))->rtti();
return xret;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QCanvasSpline_setControlPoints__Lorg_kde_qt_QPointArray_2(JNIEnv* env, jobject obj, jobject arg1)
{
((QCanvasSpline*) QtSupport::getQt(env, obj))->setControlPoints((QPointArray)*(QPointArray*) QtSupport::getQt(env, arg1));
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QCanvasSpline_setControlPoints__Lorg_kde_qt_QPointArray_2Z(JNIEnv* env, jobject obj, jobject arg1, jboolean closed)
{
((QCanvasSpline*) QtSupport::getQt(env, obj))->setControlPoints((QPointArray)*(QPointArray*) QtSupport::getQt(env, arg1), (bool) closed);
return;
}
|