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
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
|
//Auto-generated by kalyptus. DO NOT EDIT.
#include <tqstrlist.h>
#include <tqstring.h>
#include <tqimage.h>
#include <qtjava/QtSupport.h>
#include <qtjava/QImageIO.h>
class TQImageIOJBridge : public TQImageIO
{
public:
TQImageIOJBridge() : TQImageIO() {};
TQImageIOJBridge(TQIODevice* arg1,const char* arg2) : TQImageIO(arg1,arg2) {};
TQImageIOJBridge(const TQString& arg1,const char* arg2) : TQImageIO(arg1,arg2) {};
~TQImageIOJBridge() {QtSupport::qtKeyDeleted(this);}
};
JNIEXPORT jstring JNICALL
Java_org_kde_qt_QImageIO_description(JNIEnv* env, jobject obj)
{
TQString _qstring;
_qstring = ((TQImageIO*) QtSupport::getQt(env, obj))->description();
return QtSupport::fromTQString(env, &_qstring);
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QImageIO_dispose(JNIEnv* env, jobject obj)
{
Java_org_kde_qt_QImageIO_finalize(env, obj);
return;
}
JNIEXPORT jstring JNICALL
Java_org_kde_qt_QImageIO_fileName(JNIEnv* env, jobject obj)
{
TQString _qstring;
_qstring = ((TQImageIO*) QtSupport::getQt(env, obj))->fileName();
return QtSupport::fromTQString(env, &_qstring);
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QImageIO_finalize(JNIEnv* env, jobject obj)
{
if (QtSupport::allocatedInJavaWorld(env, obj)) {
delete (TQImageIO*)QtSupport::getQt(env, obj);
QtSupport::setQt(env, obj, 0);
}
return;
}
JNIEXPORT jstring JNICALL
Java_org_kde_qt_QImageIO_format(JNIEnv* env, jobject obj)
{
const char* _qstring;
_qstring = ((TQImageIO*) QtSupport::getQt(env, obj))->format();
return QtSupport::fromCharString(env, (char *) _qstring);
}
JNIEXPORT jfloat JNICALL
Java_org_kde_qt_QImageIO_gamma(JNIEnv* env, jobject obj)
{
jfloat xret = (jfloat) ((TQImageIO*) QtSupport::getQt(env, obj))->gamma();
return xret;
}
JNIEXPORT jstring JNICALL
Java_org_kde_qt_QImageIO_imageFormat__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring fileName)
{
const char* _qstring;
(void) cls;
static TQString* _qstring_fileName = 0;
_qstring = TQImageIOJBridge::imageFormat((const TQString&)*(TQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName));
return QtSupport::fromCharString(env, (char *) _qstring);
}
JNIEXPORT jstring JNICALL
Java_org_kde_qt_QImageIO_imageFormat__Lorg_kde_qt_QIODeviceInterface_2(JNIEnv* env, jclass cls, jobject arg1)
{
const char* _qstring;
(void) cls;
_qstring = TQImageIOJBridge::imageFormat((TQIODevice*) QtSupport::getQt(env, arg1));
return QtSupport::fromCharString(env, (char *) _qstring);
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QImageIO_image(JNIEnv* env, jobject obj)
{
jobject xret = QtSupport::objectForQtKey(env, (void*)(TQImage *) &((TQImageIO*) QtSupport::getQt(env, obj))->image(), "org.kde.qt.TQImage");
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QImageIO_inputFormats(JNIEnv* env, jclass cls)
{
TQStrList _qlist;
(void) cls;
_qlist = TQImageIOJBridge::inputFormats();
return (jobject) QtSupport::arrayWithTQStrList(env, (TQStrList*) &_qlist);
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QImageIO_ioDevice(JNIEnv* env, jobject obj)
{
jobject xret = QtSupport::objectForQtKey(env, (void*)((TQImageIO*) QtSupport::getQt(env, obj))->ioDevice(), "org.kde.qt.TQIODeviceInterface");
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QImageIO_isDisposed(JNIEnv* env, jobject obj)
{
return (QtSupport::getQt(env, obj) == 0);
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QImageIO_newTQImageIO__(JNIEnv* env, jobject obj)
{
if (QtSupport::getQt(env, obj) == 0) {
QtSupport::setQt(env, obj, new TQImageIOJBridge());
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QImageIO_newTQImageIO__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring fileName, jstring format)
{
static TQString* _qstring_fileName = 0;
static TQCString* _qstring_format = 0;
if (QtSupport::getQt(env, obj) == 0) {
QtSupport::setQt(env, obj, new TQImageIOJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName), (const char*) QtSupport::toCharString(env, format, &_qstring_format)));
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QImageIO_newTQImageIO__Lorg_kde_qt_QIODeviceInterface_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject ioDevice, jstring format)
{
static TQCString* _qstring_format = 0;
if (QtSupport::getQt(env, obj) == 0) {
QtSupport::setQt(env, obj, new TQImageIOJBridge((TQIODevice*) QtSupport::getQt(env, ioDevice), (const char*) QtSupport::toCharString(env, format, &_qstring_format)));
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QImageIO_outputFormats(JNIEnv* env, jclass cls)
{
TQStrList _qlist;
(void) cls;
_qlist = TQImageIOJBridge::outputFormats();
return (jobject) QtSupport::arrayWithTQStrList(env, (TQStrList*) &_qlist);
}
JNIEXPORT jstring JNICALL
Java_org_kde_qt_QImageIO_parameters(JNIEnv* env, jobject obj)
{
const char* _qstring;
_qstring = ((TQImageIO*) QtSupport::getQt(env, obj))->parameters();
return QtSupport::fromCharString(env, (char *) _qstring);
}
JNIEXPORT jint JNICALL
Java_org_kde_qt_QImageIO_quality(JNIEnv* env, jobject obj)
{
jint xret = (jint) ((TQImageIO*) QtSupport::getQt(env, obj))->quality();
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QImageIO_read(JNIEnv* env, jobject obj)
{
jboolean xret = (jboolean) ((TQImageIO*) QtSupport::getQt(env, obj))->read();
return xret;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QImageIO_setDescription(JNIEnv* env, jobject obj, jstring arg1)
{
static TQString* _qstring_arg1 = 0;
((TQImageIO*) QtSupport::getQt(env, obj))->setDescription((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1));
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QImageIO_setFileName(JNIEnv* env, jobject obj, jstring arg1)
{
static TQString* _qstring_arg1 = 0;
((TQImageIO*) QtSupport::getQt(env, obj))->setFileName((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1));
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QImageIO_setFormat(JNIEnv* env, jobject obj, jstring arg1)
{
static TQCString* _qstring_arg1 = 0;
((TQImageIO*) QtSupport::getQt(env, obj))->setFormat((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1));
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QImageIO_setGamma(JNIEnv* env, jobject obj, jfloat arg1)
{
((TQImageIO*) QtSupport::getQt(env, obj))->setGamma((float) arg1);
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QImageIO_setIODevice(JNIEnv* env, jobject obj, jobject arg1)
{
((TQImageIO*) QtSupport::getQt(env, obj))->setIODevice((TQIODevice*) QtSupport::getQt(env, arg1));
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QImageIO_setImage(JNIEnv* env, jobject obj, jobject arg1)
{
((TQImageIO*) QtSupport::getQt(env, obj))->setImage((const TQImage&)*(const TQImage*) QtSupport::getQt(env, arg1));
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QImageIO_setParameters(JNIEnv* env, jobject obj, jstring arg1)
{
static TQCString* _qstring_arg1 = 0;
((TQImageIO*) QtSupport::getQt(env, obj))->setParameters((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1));
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QImageIO_setQuality(JNIEnv* env, jobject obj, jint arg1)
{
((TQImageIO*) QtSupport::getQt(env, obj))->setQuality((int) arg1);
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QImageIO_setStatus(JNIEnv* env, jobject obj, jint arg1)
{
((TQImageIO*) QtSupport::getQt(env, obj))->setStatus((int) arg1);
return;
}
JNIEXPORT jint JNICALL
Java_org_kde_qt_QImageIO_status(JNIEnv* env, jobject obj)
{
jint xret = (jint) ((TQImageIO*) QtSupport::getQt(env, obj))->status();
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QImageIO_write(JNIEnv* env, jobject obj)
{
jboolean xret = (jboolean) ((TQImageIO*) QtSupport::getQt(env, obj))->write();
return xret;
}
|