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
|
//Auto-generated by kalyptus. DO NOT EDIT.
#include <krun.h>
#include <tqstring.h>
#include <qtjava/QtSupport.h>
#include <tdejava/TDESupport.h>
#include <tdejava/TDEProcessRunner.h>
JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_koala_TDEProcessRunner_className(JNIEnv* env, jobject obj)
{
const char* _qstring;
_qstring = ((TDEProcessRunner*) QtSupport::getQt(env, obj))->className();
return QtSupport::fromCharString(env, (char *) _qstring);
}
JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_TDEProcessRunner_metaObject(JNIEnv* env, jobject obj)
{
jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEProcessRunner*) QtSupport::getQt(env, obj))->metaObject(), "org.trinitydesktop.qt.TQMetaObject");
return xret;
}
JNIEXPORT jint JNICALL
Java_org_trinitydesktop_koala_TDEProcessRunner_pid(JNIEnv* env, jobject obj)
{
jint xret = (jint) ((TDEProcessRunner*) QtSupport::getQt(env, obj))->pid();
return xret;
}
JNIEXPORT jint JNICALL
Java_org_trinitydesktop_koala_TDEProcessRunner_run(JNIEnv* env, jclass cls, jobject arg1, jstring binName)
{
(void) cls;
static TQString* _qstring_binName = 0;
jint xret = (jint) TDEProcessRunner::run((TDEProcess*) QtSupport::getQt(env, arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, binName, &_qstring_binName));
return xret;
}
|