You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
1.2 KiB
40 lines
1.2 KiB
//Auto-generated by kalyptus. DO NOT EDIT.
|
|
#include <krun.h>
|
|
#include <tqstring.h>
|
|
|
|
#include <qtjava/QtSupport.h>
|
|
#include <kdejava/KDESupport.h>
|
|
#include <kdejava/KProcessRunner.h>
|
|
|
|
JNIEXPORT jstring JNICALL
|
|
Java_org_kde_koala_KProcessRunner_className(JNIEnv* env, jobject obj)
|
|
{
|
|
const char* _qstring;
|
|
_qstring = ((KProcessRunner*) QtSupport::getQt(env, obj))->className();
|
|
return QtSupport::fromCharString(env, (char *) _qstring);
|
|
}
|
|
|
|
JNIEXPORT jobject JNICALL
|
|
Java_org_kde_koala_KProcessRunner_metaObject(JNIEnv* env, jobject obj)
|
|
{
|
|
jobject xret = QtSupport::objectForQtKey(env, (void*)((KProcessRunner*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject");
|
|
return xret;
|
|
}
|
|
|
|
JNIEXPORT jint JNICALL
|
|
Java_org_kde_koala_KProcessRunner_pid(JNIEnv* env, jobject obj)
|
|
{
|
|
jint xret = (jint) ((KProcessRunner*) QtSupport::getQt(env, obj))->pid();
|
|
return xret;
|
|
}
|
|
|
|
JNIEXPORT jint JNICALL
|
|
Java_org_kde_koala_KProcessRunner_run(JNIEnv* env, jclass cls, jobject arg1, jstring binName)
|
|
{
|
|
(void) cls;
|
|
static TQString* _qstring_binName = 0;
|
|
jint xret = (jint) KProcessRunner::run((KProcess*) QtSupport::getQt(env, arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, binName, &_qstring_binName));
|
|
return xret;
|
|
}
|
|
|