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
|
//Auto-generated by kalyptus. DO NOT EDIT.
#include <tqpixmap.h>
#include <tqstring.h>
#include <tqpoint.h>
#include <tqdragobject.h>
#include <tqcstring.h>
#include <tqmime.h>
#include <qtjava/QtSupport.h>
#include <qtjava/QDragObject.h>
JNIEXPORT jstring JNICALL
Java_org_kde_qt_QDragObject_className(JNIEnv* env, jobject obj)
{
const char* _qstring;
_qstring = ((TQDragObject*) QtSupport::getQt(env, obj))->className();
return QtSupport::fromCharString(env, (char *) _qstring);
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QDragObject_dragCopy(JNIEnv* env, jobject obj)
{
((TQDragObject*) QtSupport::getQt(env, obj))->dragCopy();
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QDragObject_dragLink(JNIEnv* env, jobject obj)
{
((TQDragObject*) QtSupport::getQt(env, obj))->dragLink();
return;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QDragObject_dragMove(JNIEnv* env, jobject obj)
{
jboolean xret = (jboolean) ((TQDragObject*) QtSupport::getQt(env, obj))->dragMove();
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QDragObject_drag(JNIEnv* env, jobject obj)
{
jboolean xret = (jboolean) ((TQDragObject*) QtSupport::getQt(env, obj))->drag();
return xret;
}
JNIEXPORT jbyteArray JNICALL
Java_org_kde_qt_QDragObject_encodedData(JNIEnv* env, jobject obj, jstring arg1)
{
TQByteArray _qbyteArray;
static TQCString* _qstring_arg1 = 0;
_qbyteArray = ((TQMimeSource*)(TQDragObject*) QtSupport::getQt(env, obj))->encodedData((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1));
return QtSupport::fromQByteArray(env, &_qbyteArray);
}
JNIEXPORT jstring JNICALL
Java_org_kde_qt_QDragObject_format__(JNIEnv* env, jobject obj)
{
const char* _qstring;
_qstring = ((TQMimeSource*)(TQDragObject*) QtSupport::getQt(env, obj))->format();
return QtSupport::fromCharString(env, (char *) _qstring);
}
JNIEXPORT jstring JNICALL
Java_org_kde_qt_QDragObject_format__I(JNIEnv* env, jobject obj, jint n)
{
const char* _qstring;
_qstring = ((TQMimeSource*)(TQDragObject*) QtSupport::getQt(env, obj))->format((int) n);
return QtSupport::fromCharString(env, (char *) _qstring);
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QDragObject_metaObject(JNIEnv* env, jobject obj)
{
jobject xret = QtSupport::objectForQtKey(env, (void*)((TQDragObject*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject");
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QDragObject_pixmapHotSpot(JNIEnv* env, jobject obj)
{
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPoint(((TQDragObject*) QtSupport::getQt(env, obj))->pixmapHotSpot()), "org.kde.qt.TQPoint", TRUE);
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QDragObject_pixmap(JNIEnv* env, jobject obj)
{
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((TQDragObject*) QtSupport::getQt(env, obj))->pixmap()), "org.kde.qt.TQPixmap", TRUE);
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QDragObject_provides(JNIEnv* env, jobject obj, jstring arg1)
{
static TQCString* _qstring_arg1 = 0;
jboolean xret = (jboolean) ((TQMimeSource*)(TQDragObject*) QtSupport::getQt(env, obj))->provides((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1));
return xret;
}
JNIEXPORT jint JNICALL
Java_org_kde_qt_QDragObject_serialNumber(JNIEnv* env, jobject obj)
{
jint xret = (jint) ((TQMimeSource*)(TQDragObject*) QtSupport::getQt(env, obj))->serialNumber();
return xret;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QDragObject_setPixmap__Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject arg1)
{
((TQDragObject*) QtSupport::getQt(env, obj))->setPixmap((TQPixmap)*(TQPixmap*) QtSupport::getQt(env, arg1));
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QDragObject_setPixmap__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject arg1, jobject hotspot)
{
((TQDragObject*) QtSupport::getQt(env, obj))->setPixmap((TQPixmap)*(TQPixmap*) QtSupport::getQt(env, arg1), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, hotspot));
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QDragObject_setTarget(JNIEnv* env, jclass cls, jobject arg1)
{
(void) cls;
TQDragObject::setTarget((TQWidget*) QtSupport::getQt(env, arg1));
return;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QDragObject_source(JNIEnv* env, jobject obj)
{
jobject xret = QtSupport::objectForQtKey(env, (void*)((TQDragObject*) QtSupport::getQt(env, obj))->source(), "org.kde.qt.TQWidget");
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QDragObject_target(JNIEnv* env, jclass cls)
{
(void) cls;
jobject xret = QtSupport::objectForQtKey(env, (void*)TQDragObject::target(), "org.kde.qt.TQWidget");
return xret;
}
JNIEXPORT jstring JNICALL
Java_org_kde_qt_QDragObject_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1)
{
TQString _qstring;
(void) cls;
static TQCString* _qstring_arg1 = 0;
_qstring = TQDragObject::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1));
return QtSupport::fromQString(env, &_qstring);
}
JNIEXPORT jstring JNICALL
Java_org_kde_qt_QDragObject_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2)
{
TQString _qstring;
(void) cls;
static TQCString* _qstring_arg1 = 0;
static TQCString* _qstring_arg2 = 0;
_qstring = TQDragObject::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2));
return QtSupport::fromQString(env, &_qstring);
}
JNIEXPORT jlong JNICALL
Java_org_kde_qt_QDragObject_mimeSource(JNIEnv* env, jobject obj)
{
return (jlong) (TQMimeSource*) (TQDragObject*) QtSupport::getQt(env, obj);
}
|