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
|
//Auto-generated by kalyptus. DO NOT EDIT.
#include <tqglobal.h>
#include <kzip.h>
#include <tqstring.h>
#include <tqcstring.h>
#include <qtjava/QtSupport.h>
#include <kdejava/KDESupport.h>
#include <kdejava/KZipFileEntry.h>
class KZipFileEntryJBridge : public KZipFileEntry
{
public:
KZipFileEntryJBridge(KZip* arg1,const TQString& arg2,int arg3,int arg4,const TQString& arg5,const TQString& arg6,const TQString& arg7,const TQString& arg8,Q_LONG arg9,Q_LONG arg10,int arg11,Q_LONG arg12) : KZipFileEntry(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12) {};
~KZipFileEntryJBridge() {QtSupport::qtKeyDeleted(this);}
};
JNIEXPORT jlong JNICALL
Java_org_kde_koala_KZipFileEntry_compressedSize(JNIEnv* env, jobject obj)
{
jlong xret = (jlong) ((KZipFileEntry*) QtSupport::getQt(env, obj))->compressedSize();
return xret;
}
JNIEXPORT jlong JNICALL
Java_org_kde_koala_KZipFileEntry_crc32(JNIEnv* env, jobject obj)
{
jlong xret = (jlong) ((KZipFileEntry*) QtSupport::getQt(env, obj))->crc32();
return xret;
}
JNIEXPORT jbyteArray JNICALL
Java_org_kde_koala_KZipFileEntry_data(JNIEnv* env, jobject obj)
{
TQByteArray _qbyteArray;
_qbyteArray = ((KZipFileEntry*) QtSupport::getQt(env, obj))->data();
return QtSupport::fromQByteArray(env, &_qbyteArray);
}
JNIEXPORT jobject JNICALL
Java_org_kde_koala_KZipFileEntry_device(JNIEnv* env, jobject obj)
{
jobject xret = QtSupport::objectForQtKey(env, (void*)((KZipFileEntry*) QtSupport::getQt(env, obj))->device(), "org.kde.qt.QIODeviceInterface");
return xret;
}
JNIEXPORT void JNICALL
Java_org_kde_koala_KZipFileEntry_dispose(JNIEnv* env, jobject obj)
{
Java_org_kde_koala_KZipFileEntry_finalize(env, obj);
return;
}
JNIEXPORT jint JNICALL
Java_org_kde_koala_KZipFileEntry_encoding(JNIEnv* env, jobject obj)
{
jint xret = (jint) ((KZipFileEntry*) QtSupport::getQt(env, obj))->encoding();
return xret;
}
JNIEXPORT void JNICALL
Java_org_kde_koala_KZipFileEntry_finalize(JNIEnv* env, jobject obj)
{
if (QtSupport::allocatedInJavaWorld(env, obj)) {
delete (KZipFileEntry*)QtSupport::getQt(env, obj);
QtSupport::setQt(env, obj, 0);
}
return;
}
JNIEXPORT jlong JNICALL
Java_org_kde_koala_KZipFileEntry_headerStart(JNIEnv* env, jobject obj)
{
jlong xret = (jlong) ((KZipFileEntry*) QtSupport::getQt(env, obj))->headerStart();
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KZipFileEntry_isDisposed(JNIEnv* env, jobject obj)
{
return (QtSupport::getQt(env, obj) == 0);
}
JNIEXPORT void JNICALL
Java_org_kde_koala_KZipFileEntry_newKZipFileEntry(JNIEnv* env, jobject obj, jobject zip, jstring name, jint access, jint date, jstring user, jstring group, jstring symlink, jstring path, jlong start, jlong uncompressedSize, jint encoding, jlong compressedSize)
{
static TQString* _qstring_name = 0;
static TQString* _qstring_user = 0;
static TQString* _qstring_group = 0;
static TQString* _qstring_symlink = 0;
static TQString* _qstring_path = 0;
if (QtSupport::getQt(env, obj) == 0) {
QtSupport::setQt(env, obj, new KZipFileEntryJBridge((KZip*) QtSupport::getQt(env, zip), (const TQString&)*(TQString*) QtSupport::toQString(env, name, &_qstring_name), (int) access, (int) date, (const TQString&)*(TQString*) QtSupport::toQString(env, user, &_qstring_user), (const TQString&)*(TQString*) QtSupport::toQString(env, group, &_qstring_group), (const TQString&)*(TQString*) QtSupport::toQString(env, symlink, &_qstring_symlink), (const TQString&)*(TQString*) QtSupport::toQString(env, path, &_qstring_path), (Q_LONG) start, (Q_LONG) uncompressedSize, (int) encoding, (Q_LONG) compressedSize));
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
}
JNIEXPORT jstring JNICALL
Java_org_kde_koala_KZipFileEntry_path(JNIEnv* env, jobject obj)
{
TQString _qstring;
_qstring = ((KZipFileEntry*) QtSupport::getQt(env, obj))->path();
return QtSupport::fromQString(env, &_qstring);
}
JNIEXPORT void JNICALL
Java_org_kde_koala_KZipFileEntry_setCRC32(JNIEnv* env, jobject obj, jlong crc32)
{
((KZipFileEntry*) QtSupport::getQt(env, obj))->setCRC32((unsigned long) crc32);
return;
}
JNIEXPORT void JNICALL
Java_org_kde_koala_KZipFileEntry_setCompressedSize(JNIEnv* env, jobject obj, jlong compressedSize)
{
((KZipFileEntry*) QtSupport::getQt(env, obj))->setCompressedSize((Q_LONG) compressedSize);
return;
}
JNIEXPORT void JNICALL
Java_org_kde_koala_KZipFileEntry_setHeaderStart(JNIEnv* env, jobject obj, jlong headerstart)
{
((KZipFileEntry*) QtSupport::getQt(env, obj))->setHeaderStart((Q_LONG) headerstart);
return;
}
|