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
|
//Auto-generated by kalyptus. DO NOT EDIT.
#include <tdefilemetainfo.h>
#include <tqstring.h>
#include <tqstringlist.h>
#include <tqvariant.h>
#include <qtjava/QtSupport.h>
#include <tdejava/TDESupport.h>
#include <tdejava/KFileMetaInfoGroup.h>
class KFileMetaInfoGroupJBridge : public KFileMetaInfoGroup
{
public:
KFileMetaInfoGroupJBridge(const KFileMetaInfoGroup& arg1) : KFileMetaInfoGroup(arg1) {};
KFileMetaInfoGroupJBridge() : KFileMetaInfoGroup() {};
void protected_setAdded() {
KFileMetaInfoGroup::setAdded();
return;
}
KFileMetaInfoItem protected_appendItem(const TQString& arg1,const TQVariant& arg2) {
return (KFileMetaInfoItem) KFileMetaInfoGroup::appendItem(arg1,arg2);
}
void protected_ref() {
KFileMetaInfoGroup::ref();
return;
}
void protected_deref() {
KFileMetaInfoGroup::deref();
return;
}
~KFileMetaInfoGroupJBridge() {QtSupport::qtKeyDeleted(this);}
};
JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_KFileMetaInfoGroup_addItem(JNIEnv* env, jobject obj, jstring key)
{
static TQString* _qstring_key = 0;
jobject xret = QtSupport::objectForQtKey(env, (void*)new KFileMetaInfoItem(((KFileMetaInfoGroup*) QtSupport::getQt(env, obj))->addItem((const TQString&)*(TQString*) QtSupport::toTQString(env, key, &_qstring_key))), "org.trinitydesktop.koala.KFileMetaInfoItem", TRUE);
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_KFileMetaInfoGroup_appendItem(JNIEnv* env, jobject obj, jstring key, jobject value)
{
static TQString* _qstring_key = 0;
jobject xret = QtSupport::objectForQtKey(env, (void*)new KFileMetaInfoItem(((KFileMetaInfoGroupJBridge*) QtSupport::getQt(env, obj))->protected_appendItem((const TQString&)*(TQString*) QtSupport::toTQString(env, key, &_qstring_key), (const TQVariant&)*(const TQVariant*) QtSupport::getQt(env, value))), "org.trinitydesktop.koala.KFileMetaInfoItem", TRUE);
return xret;
}
JNIEXPORT jint JNICALL
Java_org_trinitydesktop_koala_KFileMetaInfoGroup_attributes(JNIEnv* env, jobject obj)
{
jint xret = (jint) ((KFileMetaInfoGroup*) QtSupport::getQt(env, obj))->attributes();
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_koala_KFileMetaInfoGroup_contains(JNIEnv* env, jobject obj, jstring key)
{
static TQString* _qstring_key = 0;
jboolean xret = (jboolean) ((KFileMetaInfoGroup*) QtSupport::getQt(env, obj))->contains((const TQString&)*(TQString*) QtSupport::toTQString(env, key, &_qstring_key));
return xret;
}
JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KFileMetaInfoGroup_deref(JNIEnv* env, jobject obj)
{
((KFileMetaInfoGroupJBridge*) QtSupport::getQt(env, obj))->protected_deref();
return;
}
JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KFileMetaInfoGroup_dispose(JNIEnv* env, jobject obj)
{
Java_org_trinitydesktop_koala_KFileMetaInfoGroup_finalize(env, obj);
return;
}
JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KFileMetaInfoGroup_finalize(JNIEnv* env, jobject obj)
{
if (QtSupport::allocatedInJavaWorld(env, obj)) {
delete (KFileMetaInfoGroup*)QtSupport::getQt(env, obj);
QtSupport::setQt(env, obj, 0);
}
return;
}
JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_koala_KFileMetaInfoGroup_isDisposed(JNIEnv* env, jobject obj)
{
return (QtSupport::getQt(env, obj) == 0);
}
JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_koala_KFileMetaInfoGroup_isEmpty(JNIEnv* env, jobject obj)
{
jboolean xret = (jboolean) ((KFileMetaInfoGroup*) QtSupport::getQt(env, obj))->isEmpty();
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_koala_KFileMetaInfoGroup_isModified(JNIEnv* env, jobject obj)
{
jboolean xret = (jboolean) ((KFileMetaInfoGroup*) QtSupport::getQt(env, obj))->isModified();
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_koala_KFileMetaInfoGroup_isValid(JNIEnv* env, jobject obj)
{
jboolean xret = (jboolean) ((KFileMetaInfoGroup*) QtSupport::getQt(env, obj))->isValid();
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_KFileMetaInfoGroup_item__I(JNIEnv* env, jobject obj, jint hint)
{
jobject xret = QtSupport::objectForQtKey(env, (void*)new KFileMetaInfoItem(((KFileMetaInfoGroup*) QtSupport::getQt(env, obj))->item((uint) hint)), "org.trinitydesktop.koala.KFileMetaInfoItem", TRUE);
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_KFileMetaInfoGroup_item__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring key)
{
static TQString* _qstring_key = 0;
jobject xret = QtSupport::objectForQtKey(env, (void*)new KFileMetaInfoItem(((KFileMetaInfoGroup*) QtSupport::getQt(env, obj))->item((const TQString&)*(TQString*) QtSupport::toTQString(env, key, &_qstring_key))), "org.trinitydesktop.koala.KFileMetaInfoItem", TRUE);
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_KFileMetaInfoGroup_keys(JNIEnv* env, jobject obj)
{
TQStringList _qlist;
_qlist = ((KFileMetaInfoGroup*) QtSupport::getQt(env, obj))->keys();
return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist);
}
JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_koala_KFileMetaInfoGroup_name(JNIEnv* env, jobject obj)
{
TQString _qstring;
_qstring = ((KFileMetaInfoGroup*) QtSupport::getQt(env, obj))->name();
return QtSupport::fromTQString(env, &_qstring);
}
JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KFileMetaInfoGroup_newKFileMetaInfoGroup__(JNIEnv* env, jobject obj)
{
if (QtSupport::getQt(env, obj) == 0) {
QtSupport::setQt(env, obj, new KFileMetaInfoGroupJBridge());
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
}
JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KFileMetaInfoGroup_newKFileMetaInfoGroup__Lorg_trinitydesktop_koala_KFileMetaInfoGroup_2(JNIEnv* env, jobject obj, jobject original)
{
if (QtSupport::getQt(env, obj) == 0) {
QtSupport::setQt(env, obj, new KFileMetaInfoGroupJBridge((const KFileMetaInfoGroup&)*(const KFileMetaInfoGroup*) QtSupport::getQt(env, original)));
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
}
JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_KFileMetaInfoGroup_op_1at(JNIEnv* env, jobject obj, jstring key)
{
static TQString* _qstring_key = 0;
jobject xret = QtSupport::objectForQtKey(env, (void*)new KFileMetaInfoItem(((KFileMetaInfoGroup*) QtSupport::getQt(env, obj))->operator[]((const TQString&)*(TQString*) QtSupport::toTQString(env, key, &_qstring_key))), "org.trinitydesktop.koala.KFileMetaInfoItem", TRUE);
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_KFileMetaInfoGroup_preferredKeys(JNIEnv* env, jobject obj)
{
TQStringList _qlist;
_qlist = ((KFileMetaInfoGroup*) QtSupport::getQt(env, obj))->preferredKeys();
return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist);
}
JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KFileMetaInfoGroup_ref(JNIEnv* env, jobject obj)
{
((KFileMetaInfoGroupJBridge*) QtSupport::getQt(env, obj))->protected_ref();
return;
}
JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_koala_KFileMetaInfoGroup_removeItem(JNIEnv* env, jobject obj, jstring key)
{
static TQString* _qstring_key = 0;
jboolean xret = (jboolean) ((KFileMetaInfoGroup*) QtSupport::getQt(env, obj))->removeItem((const TQString&)*(TQString*) QtSupport::toTQString(env, key, &_qstring_key));
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_KFileMetaInfoGroup_removedItems(JNIEnv* env, jobject obj)
{
TQStringList _qlist;
_qlist = ((KFileMetaInfoGroup*) QtSupport::getQt(env, obj))->removedItems();
return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist);
}
JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KFileMetaInfoGroup_setAdded(JNIEnv* env, jobject obj)
{
((KFileMetaInfoGroupJBridge*) QtSupport::getQt(env, obj))->protected_setAdded();
return;
}
JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_KFileMetaInfoGroup_supportedKeys(JNIEnv* env, jobject obj)
{
TQStringList _qlist;
_qlist = ((KFileMetaInfoGroup*) QtSupport::getQt(env, obj))->supportedKeys();
return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist);
}
JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_koala_KFileMetaInfoGroup_supportsVariableKeys(JNIEnv* env, jobject obj)
{
jboolean xret = (jboolean) ((KFileMetaInfoGroup*) QtSupport::getQt(env, obj))->supportsVariableKeys();
return xret;
}
JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_koala_KFileMetaInfoGroup_translatedName(JNIEnv* env, jobject obj)
{
TQString _qstring;
_qstring = ((KFileMetaInfoGroup*) QtSupport::getQt(env, obj))->translatedName();
return QtSupport::fromTQString(env, &_qstring);
}
JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_KFileMetaInfoGroup_value(JNIEnv* env, jobject obj, jstring key)
{
static TQString* _qstring_key = 0;
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQVariant(((KFileMetaInfoGroup*) QtSupport::getQt(env, obj))->value((const TQString&)*(TQString*) QtSupport::toTQString(env, key, &_qstring_key))), "org.trinitydesktop.qt.TQVariant", TRUE);
return xret;
}
|