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
|
//Auto-generated by kalyptus. DO NOT EDIT.
#include <tqbrush.h>
#include <tqrect.h>
#include <tqcanvas.h>
#include <tqpointarray.h>
#include <tqpen.h>
#include <qtjava/QtSupport.h>
#include <qtjava/TQCanvasPolygonalItem.h>
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QCanvasPolygonalItem_areaPointsAdvanced(JNIEnv* env, jobject obj)
{
jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQPointArray(((TTQCanvasPolygonalItem*) QtSupport::getQt(env, obj))->areaPointsAdvanced()), "org.kde.qt.TTQPointArray", TRUE);
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QCanvasPolygonalItem_areaPoints(JNIEnv* env, jobject obj)
{
jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQPointArray(((TTQCanvasPolygonalItem*) QtSupport::getQt(env, obj))->areaPoints()), "org.kde.qt.TTQPointArray", TRUE);
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QCanvasPolygonalItem_boundingRect(JNIEnv* env, jobject obj)
{
jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQRect(((TTQCanvasPolygonalItem*) QtSupport::getQt(env, obj))->boundingRect()), "org.kde.qt.TTQRect", TRUE);
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QCanvasPolygonalItem_brush(JNIEnv* env, jobject obj)
{
jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQBrush(((TTQCanvasPolygonalItem*) QtSupport::getQt(env, obj))->brush()), "org.kde.qt.TTQBrush", TRUE);
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QCanvasPolygonalItem_collidesWith(JNIEnv* env, jobject obj, jobject arg1)
{
jboolean xret = (jboolean) ((TTQCanvasPolygonalItem*) QtSupport::getQt(env, obj))->collidesWith((const TTQCanvasItem*) QtSupport::getQt(env, arg1));
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QCanvasPolygonalItem_pen(JNIEnv* env, jobject obj)
{
jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQPen(((TTQCanvasPolygonalItem*) QtSupport::getQt(env, obj))->pen()), "org.kde.qt.TTQPen", TRUE);
return xret;
}
JNIEXPORT jint JNICALL
Java_org_kde_qt_QCanvasPolygonalItem_rtti(JNIEnv* env, jobject obj)
{
jint xret = (jint) ((TTQCanvasPolygonalItem*) QtSupport::getQt(env, obj))->rtti();
return xret;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QCanvasPolygonalItem_setBrush(JNIEnv* env, jobject obj, jobject b)
{
((TTQCanvasPolygonalItem*) QtSupport::getQt(env, obj))->setBrush((TTQBrush)*(TTQBrush*) QtSupport::getQt(env, b));
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QCanvasPolygonalItem_setPen(JNIEnv* env, jobject obj, jobject p)
{
((TTQCanvasPolygonalItem*) QtSupport::getQt(env, obj))->setPen((TTQPen)*(TTQPen*) QtSupport::getQt(env, p));
return;
}
|