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
|
//Auto-generated by kalyptus. DO NOT EDIT.
#include <kio/jobclasses.h>
#include <kio/global.h>
#include <kurl.h>
#include <tqcstring.h>
#include <qtjava/QtSupport.h>
#include <kdejava/KDESupport.h>
#include <kdejava/FileCopyJob.h>
JNIEXPORT jstring JNICALL
Java_org_kde_koala_FileCopyJob_className(JNIEnv* env, jobject obj)
{
const char* _qstring;
_qstring = ((KIO::FileCopyJob*) QtSupport::getQt(env, obj))->className();
return QtSupport::fromCharString(env, (char *) _qstring);
}
JNIEXPORT jobject JNICALL
Java_org_kde_koala_FileCopyJob_destURL(JNIEnv* env, jobject obj)
{
jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(((KIO::FileCopyJob*) QtSupport::getQt(env, obj))->destURL()), "org.kde.koala.KURL", TRUE);
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_koala_FileCopyJob_metaObject(JNIEnv* env, jobject obj)
{
jobject xret = QtSupport::objectForQtKey(env, (void*)((KIO::FileCopyJob*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject");
return xret;
}
JNIEXPORT void JNICALL
Java_org_kde_koala_FileCopyJob_setSourceSize64(JNIEnv* env, jobject obj, jlong size)
{
((KIO::FileCopyJob*) QtSupport::getQt(env, obj))->setSourceSize64((KIO::filesize_t) size);
return;
}
JNIEXPORT void JNICALL
Java_org_kde_koala_FileCopyJob_slotDataReq(JNIEnv* env, jobject obj, jobject arg1, jbyteArray data)
{
static TTQByteArray* _qbyteArray_data = 0;
((KIO::FileCopyJob*) QtSupport::getQt(env, obj))->slotDataReq((KIO::Job*) QtSupport::getQt(env, arg1), (TTQByteArray&)*(TTQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data));
return;
}
JNIEXPORT void JNICALL
Java_org_kde_koala_FileCopyJob_slotData(JNIEnv* env, jobject obj, jobject arg1, jbyteArray data)
{
static TTQByteArray* _qbyteArray_data = 0;
((KIO::FileCopyJob*) QtSupport::getQt(env, obj))->slotData((KIO::Job*) QtSupport::getQt(env, arg1), (const TTQByteArray&)*(TTQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data));
return;
}
JNIEXPORT void JNICALL
Java_org_kde_koala_FileCopyJob_slotStart(JNIEnv* env, jobject obj)
{
((KIO::FileCopyJob*) QtSupport::getQt(env, obj))->slotStart();
return;
}
JNIEXPORT jobject JNICALL
Java_org_kde_koala_FileCopyJob_srcURL(JNIEnv* env, jobject obj)
{
jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(((KIO::FileCopyJob*) QtSupport::getQt(env, obj))->srcURL()), "org.kde.koala.KURL", TRUE);
return xret;
}
|