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
|
//Auto-generated by kalyptus. DO NOT EDIT.
#include <tqstring.h>
#include <kglobal.h>
#include <qtjava/QtSupport.h>
#include <kdejava/KDESupport.h>
#include <kdejava/KGlobal.h>
class KGlobalJBridge : public KGlobal
{
public:
KGlobalJBridge() : KGlobal() {};
~KGlobalJBridge() {QtSupport::qtKeyDeleted(this);}
};
JNIEXPORT jobject JNICALL
Java_org_kde_koala_KGlobal_activeInstance(JNIEnv* env, jclass cls)
{
(void) cls;
jobject xret = QtSupport::objectForQtKey(env, (void*)KGlobalJBridge::activeInstance(), "org.kde.koala.KInstanceInterface");
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_koala_KGlobal_charsets(JNIEnv* env, jclass cls)
{
(void) cls;
jobject xret = QtSupport::objectForQtKey(env, (void*)KGlobalJBridge::charsets(), "org.kde.koala.KCharsets");
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_koala_KGlobal_config(JNIEnv* env, jclass cls)
{
(void) cls;
jobject xret = QtSupport::objectForQtKey(env, (void*)KGlobalJBridge::config(), "org.kde.koala.KConfig");
return xret;
}
JNIEXPORT void JNICALL
Java_org_kde_koala_KGlobal_deleteStaticDeleters(JNIEnv* env, jclass cls)
{
(void) cls;
(void) env;
KGlobalJBridge::deleteStaticDeleters();
return;
}
JNIEXPORT jobject JNICALL
Java_org_kde_koala_KGlobal_dirs(JNIEnv* env, jclass cls)
{
(void) cls;
jobject xret = QtSupport::objectForQtKey(env, (void*)KGlobalJBridge::dirs(), "org.kde.koala.KStandardDirs");
return xret;
}
JNIEXPORT void JNICALL
Java_org_kde_koala_KGlobal_dispose(JNIEnv* env, jobject obj)
{
Java_org_kde_koala_KGlobal_finalize(env, obj);
return;
}
JNIEXPORT void JNICALL
Java_org_kde_koala_KGlobal_finalize(JNIEnv* env, jobject obj)
{
if (QtSupport::allocatedInJavaWorld(env, obj)) {
delete (KGlobal*)QtSupport::getQt(env, obj);
QtSupport::setQt(env, obj, 0);
}
return;
}
JNIEXPORT jobject JNICALL
Java_org_kde_koala_KGlobal_iconLoader(JNIEnv* env, jclass cls)
{
(void) cls;
jobject xret = QtSupport::objectForQtKey(env, (void*)KGlobalJBridge::iconLoader(), "org.kde.koala.KIconLoader");
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_koala_KGlobal_instance(JNIEnv* env, jclass cls)
{
(void) cls;
jobject xret = QtSupport::objectForQtKey(env, (void*)KGlobalJBridge::instance(), "org.kde.koala.KInstanceInterface");
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KGlobal_isDisposed(JNIEnv* env, jobject obj)
{
return (QtSupport::getQt(env, obj) == 0);
}
JNIEXPORT jobject JNICALL
Java_org_kde_koala_KGlobal_locale(JNIEnv* env, jclass cls)
{
(void) cls;
jobject xret = QtSupport::objectForQtKey(env, (void*)KGlobalJBridge::locale(), "org.kde.koala.KLocale");
return xret;
}
JNIEXPORT void JNICALL
Java_org_kde_koala_KGlobal_newKGlobal(JNIEnv* env, jobject obj)
{
if (QtSupport::getQt(env, obj) == 0) {
QtSupport::setQt(env, obj, new KGlobalJBridge());
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
}
JNIEXPORT void JNICALL
Java_org_kde_koala_KGlobal_registerStaticDeleter(JNIEnv* env, jclass cls, jobject d)
{
(void) cls;
KGlobalJBridge::registerStaticDeleter((KStaticDeleterBase*) QtSupport::getQt(env, d));
return;
}
JNIEXPORT void JNICALL
Java_org_kde_koala_KGlobal_setActiveInstance(JNIEnv* env, jclass cls, jobject d)
{
(void) cls;
KGlobalJBridge::setActiveInstance((KInstance*) QtSupport::getQt(env, d));
return;
}
JNIEXPORT jobject JNICALL
Java_org_kde_koala_KGlobal_sharedConfig(JNIEnv* env, jclass cls)
{
(void) cls;
jobject xret = QtSupport::objectForQtKey(env, (void*)KGlobalJBridge::sharedConfig(), "org.kde.koala.KSharedConfig");
return xret;
}
JNIEXPORT jstring JNICALL
Java_org_kde_koala_KGlobal_staticTQString(JNIEnv* env, jclass cls, jstring str)
{
TTQString _qstring;
(void) cls;
static TTQCString* _qstring_str = 0;
_qstring = KGlobalJBridge::staticTQString((const char*) QtSupport::toCharString(env, str, &_qstring_str));
return QtSupport::fromTQString(env, &_qstring);
}
JNIEXPORT void JNICALL
Java_org_kde_koala_KGlobal_unregisterStaticDeleter(JNIEnv* env, jclass cls, jobject d)
{
(void) cls;
KGlobalJBridge::unregisterStaticDeleter((KStaticDeleterBase*) QtSupport::getQt(env, d));
return;
}
|