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
|
//Auto-generated by kalyptus. DO NOT EDIT.
#include <kparts/event.h>
#include <qtjava/QtSupport.h>
#include <kdejava/KDESupport.h>
#include <kdejava/PartActivateEvent.h>
class PartActivateEventJBridge : public KParts::PartActivateEvent
{
public:
PartActivateEventJBridge(bool arg1,KParts::Part* arg2,TQWidget* arg3) : KParts::PartActivateEvent(arg1,arg2,arg3) {};
};
JNIEXPORT jboolean JNICALL
Java_org_kde_koala_PartActivateEvent_activated(JNIEnv* env, jobject obj)
{
jboolean xret = (jboolean) ((KParts::PartActivateEvent*) QtSupport::getQt(env, obj))->activated();
return xret;
}
JNIEXPORT void JNICALL
Java_org_kde_koala_PartActivateEvent_newPartActivateEvent(JNIEnv* env, jobject obj, jboolean activated, jobject part, jobject widget)
{
if (QtSupport::getQt(env, obj) == 0) {
QtSupport::setQt(env, obj, new PartActivateEventJBridge((bool) activated, (KParts::Part*) QtSupport::getQt(env, part), (TQWidget*) QtSupport::getQt(env, widget)));
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
}
JNIEXPORT jobject JNICALL
Java_org_kde_koala_PartActivateEvent_part(JNIEnv* env, jobject obj)
{
jobject xret = QtSupport::objectForQtKey(env, (void*)((KParts::PartActivateEvent*) QtSupport::getQt(env, obj))->part(), "org.kde.koala.Part");
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_koala_PartActivateEvent_test(JNIEnv* env, jclass cls, jobject event)
{
(void) cls;
jboolean xret = (jboolean) PartActivateEventJBridge::test((const TQEvent*) QtSupport::getQt(env, event));
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_koala_PartActivateEvent_widget(JNIEnv* env, jobject obj)
{
jobject xret = QtSupport::objectForQtKey(env, (void*)((KParts::PartActivateEvent*) QtSupport::getQt(env, obj))->widget(), "org.kde.qt.TQWidget");
return xret;
}
|