|
|
@ -559,52 +559,52 @@ Java_org_kde_koala_KApplication_kApplication(JNIEnv* env, jclass cls)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
JNIEXPORT jint JNICALL
|
|
|
|
JNIEXPORT jint JNICALL
|
|
|
|
Java_org_kde_koala_KApplication_kdeinitExecWait__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring name)
|
|
|
|
Java_org_kde_koala_KApplication_tdeinitExecWait__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring name)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
(void) cls;
|
|
|
|
(void) cls;
|
|
|
|
static TQString* _qstring_name = 0;
|
|
|
|
static TQString* _qstring_name = 0;
|
|
|
|
jint xret = (jint) KApplicationJBridge::kdeinitExecWait((const TQString&)*(TQString*) QtSupport::toQString(env, name, &_qstring_name));
|
|
|
|
jint xret = (jint) KApplicationJBridge::tdeinitExecWait((const TQString&)*(TQString*) QtSupport::toQString(env, name, &_qstring_name));
|
|
|
|
return xret;
|
|
|
|
return xret;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
JNIEXPORT jint JNICALL
|
|
|
|
JNIEXPORT jint JNICALL
|
|
|
|
Java_org_kde_koala_KApplication_kdeinitExecWait__Ljava_lang_String_2_3Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring name, jobjectArray args)
|
|
|
|
Java_org_kde_koala_KApplication_tdeinitExecWait__Ljava_lang_String_2_3Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring name, jobjectArray args)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
(void) cls;
|
|
|
|
(void) cls;
|
|
|
|
static TQString* _qstring_name = 0;
|
|
|
|
static TQString* _qstring_name = 0;
|
|
|
|
static TQStringList* _qlist_args = 0;
|
|
|
|
static TQStringList* _qlist_args = 0;
|
|
|
|
jint xret = (jint) KApplicationJBridge::kdeinitExecWait((const TQString&)*(TQString*) QtSupport::toQString(env, name, &_qstring_name), (const TQStringList&)*(TQStringList*) QtSupport::toQStringList(env, args, &_qlist_args));
|
|
|
|
jint xret = (jint) KApplicationJBridge::tdeinitExecWait((const TQString&)*(TQString*) QtSupport::toQString(env, name, &_qstring_name), (const TQStringList&)*(TQStringList*) QtSupport::toQStringList(env, args, &_qlist_args));
|
|
|
|
return xret;
|
|
|
|
return xret;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
JNIEXPORT jint JNICALL
|
|
|
|
JNIEXPORT jint JNICALL
|
|
|
|
Java_org_kde_koala_KApplication_kdeinitExecWait__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2(JNIEnv* env, jclass cls, jstring name, jobjectArray args, jobject error)
|
|
|
|
Java_org_kde_koala_KApplication_tdeinitExecWait__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2(JNIEnv* env, jclass cls, jstring name, jobjectArray args, jobject error)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
(void) cls;
|
|
|
|
(void) cls;
|
|
|
|
static TQString* _qstring_name = 0;
|
|
|
|
static TQString* _qstring_name = 0;
|
|
|
|
static TQStringList* _qlist_args = 0;
|
|
|
|
static TQStringList* _qlist_args = 0;
|
|
|
|
static TQString* _qstring_error = 0;
|
|
|
|
static TQString* _qstring_error = 0;
|
|
|
|
jint xret = (jint) KApplicationJBridge::kdeinitExecWait((const TQString&)*(TQString*) QtSupport::toQString(env, name, &_qstring_name), (const TQStringList&)*(TQStringList*) QtSupport::toQStringList(env, args, &_qlist_args), (TQString*) QtSupport::toQStringFromStringBuffer(env, error, &_qstring_error));
|
|
|
|
jint xret = (jint) KApplicationJBridge::tdeinitExecWait((const TQString&)*(TQString*) QtSupport::toQString(env, name, &_qstring_name), (const TQStringList&)*(TQStringList*) QtSupport::toQStringList(env, args, &_qlist_args), (TQString*) QtSupport::toQStringFromStringBuffer(env, error, &_qstring_error));
|
|
|
|
QtSupport::fromQStringToStringBuffer(env, _qstring_error, error);
|
|
|
|
QtSupport::fromQStringToStringBuffer(env, _qstring_error, error);
|
|
|
|
return xret;
|
|
|
|
return xret;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
JNIEXPORT jint JNICALL
|
|
|
|
JNIEXPORT jint JNICALL
|
|
|
|
Java_org_kde_koala_KApplication_kdeinitExecWait__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2_3I(JNIEnv* env, jclass cls, jstring name, jobjectArray args, jobject error, jintArray pid)
|
|
|
|
Java_org_kde_koala_KApplication_tdeinitExecWait__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2_3I(JNIEnv* env, jclass cls, jstring name, jobjectArray args, jobject error, jintArray pid)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
(void) cls;
|
|
|
|
(void) cls;
|
|
|
|
static TQString* _qstring_name = 0;
|
|
|
|
static TQString* _qstring_name = 0;
|
|
|
|
static TQStringList* _qlist_args = 0;
|
|
|
|
static TQStringList* _qlist_args = 0;
|
|
|
|
static TQString* _qstring_error = 0;
|
|
|
|
static TQString* _qstring_error = 0;
|
|
|
|
int* _int_pid = QtSupport::toIntPtr(env, pid);
|
|
|
|
int* _int_pid = QtSupport::toIntPtr(env, pid);
|
|
|
|
jint xret = (jint) KApplicationJBridge::kdeinitExecWait((const TQString&)*(TQString*) QtSupport::toQString(env, name, &_qstring_name), (const TQStringList&)*(TQStringList*) QtSupport::toQStringList(env, args, &_qlist_args), (TQString*) QtSupport::toQStringFromStringBuffer(env, error, &_qstring_error), (int*) _int_pid);
|
|
|
|
jint xret = (jint) KApplicationJBridge::tdeinitExecWait((const TQString&)*(TQString*) QtSupport::toQString(env, name, &_qstring_name), (const TQStringList&)*(TQStringList*) QtSupport::toQStringList(env, args, &_qlist_args), (TQString*) QtSupport::toQStringFromStringBuffer(env, error, &_qstring_error), (int*) _int_pid);
|
|
|
|
QtSupport::fromQStringToStringBuffer(env, _qstring_error, error);
|
|
|
|
QtSupport::fromQStringToStringBuffer(env, _qstring_error, error);
|
|
|
|
env->SetIntArrayRegion(pid, 0, 1, (jint *) _int_pid);
|
|
|
|
env->SetIntArrayRegion(pid, 0, 1, (jint *) _int_pid);
|
|
|
|
return xret;
|
|
|
|
return xret;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
JNIEXPORT jint JNICALL
|
|
|
|
JNIEXPORT jint JNICALL
|
|
|
|
Java_org_kde_koala_KApplication_kdeinitExecWait__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2_3ILjava_lang_String_2(JNIEnv* env, jclass cls, jstring name, jobjectArray args, jobject error, jintArray pid, jstring startup_id)
|
|
|
|
Java_org_kde_koala_KApplication_tdeinitExecWait__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2_3ILjava_lang_String_2(JNIEnv* env, jclass cls, jstring name, jobjectArray args, jobject error, jintArray pid, jstring startup_id)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
(void) cls;
|
|
|
|
(void) cls;
|
|
|
|
static TQString* _qstring_name = 0;
|
|
|
|
static TQString* _qstring_name = 0;
|
|
|
@ -612,59 +612,59 @@ static TQStringList* _qlist_args = 0;
|
|
|
|
static TQString* _qstring_error = 0;
|
|
|
|
static TQString* _qstring_error = 0;
|
|
|
|
int* _int_pid = QtSupport::toIntPtr(env, pid);
|
|
|
|
int* _int_pid = QtSupport::toIntPtr(env, pid);
|
|
|
|
static TQCString* _qcstring_startup_id = 0;
|
|
|
|
static TQCString* _qcstring_startup_id = 0;
|
|
|
|
jint xret = (jint) KApplicationJBridge::kdeinitExecWait((const TQString&)*(TQString*) QtSupport::toQString(env, name, &_qstring_name), (const TQStringList&)*(TQStringList*) QtSupport::toQStringList(env, args, &_qlist_args), (TQString*) QtSupport::toQStringFromStringBuffer(env, error, &_qstring_error), (int*) _int_pid, (const TQCString&)*(TQCString*) QtSupport::toQCString(env, startup_id, &_qcstring_startup_id));
|
|
|
|
jint xret = (jint) KApplicationJBridge::tdeinitExecWait((const TQString&)*(TQString*) QtSupport::toQString(env, name, &_qstring_name), (const TQStringList&)*(TQStringList*) QtSupport::toQStringList(env, args, &_qlist_args), (TQString*) QtSupport::toQStringFromStringBuffer(env, error, &_qstring_error), (int*) _int_pid, (const TQCString&)*(TQCString*) QtSupport::toQCString(env, startup_id, &_qcstring_startup_id));
|
|
|
|
QtSupport::fromQStringToStringBuffer(env, _qstring_error, error);
|
|
|
|
QtSupport::fromQStringToStringBuffer(env, _qstring_error, error);
|
|
|
|
env->SetIntArrayRegion(pid, 0, 1, (jint *) _int_pid);
|
|
|
|
env->SetIntArrayRegion(pid, 0, 1, (jint *) _int_pid);
|
|
|
|
return xret;
|
|
|
|
return xret;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
JNIEXPORT jint JNICALL
|
|
|
|
JNIEXPORT jint JNICALL
|
|
|
|
Java_org_kde_koala_KApplication_kdeinitExec__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring name)
|
|
|
|
Java_org_kde_koala_KApplication_tdeinitExec__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring name)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
(void) cls;
|
|
|
|
(void) cls;
|
|
|
|
static TQString* _qstring_name = 0;
|
|
|
|
static TQString* _qstring_name = 0;
|
|
|
|
jint xret = (jint) KApplicationJBridge::kdeinitExec((const TQString&)*(TQString*) QtSupport::toQString(env, name, &_qstring_name));
|
|
|
|
jint xret = (jint) KApplicationJBridge::tdeinitExec((const TQString&)*(TQString*) QtSupport::toQString(env, name, &_qstring_name));
|
|
|
|
return xret;
|
|
|
|
return xret;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
JNIEXPORT jint JNICALL
|
|
|
|
JNIEXPORT jint JNICALL
|
|
|
|
Java_org_kde_koala_KApplication_kdeinitExec__Ljava_lang_String_2_3Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring name, jobjectArray args)
|
|
|
|
Java_org_kde_koala_KApplication_tdeinitExec__Ljava_lang_String_2_3Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring name, jobjectArray args)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
(void) cls;
|
|
|
|
(void) cls;
|
|
|
|
static TQString* _qstring_name = 0;
|
|
|
|
static TQString* _qstring_name = 0;
|
|
|
|
static TQStringList* _qlist_args = 0;
|
|
|
|
static TQStringList* _qlist_args = 0;
|
|
|
|
jint xret = (jint) KApplicationJBridge::kdeinitExec((const TQString&)*(TQString*) QtSupport::toQString(env, name, &_qstring_name), (const TQStringList&)*(TQStringList*) QtSupport::toQStringList(env, args, &_qlist_args));
|
|
|
|
jint xret = (jint) KApplicationJBridge::tdeinitExec((const TQString&)*(TQString*) QtSupport::toQString(env, name, &_qstring_name), (const TQStringList&)*(TQStringList*) QtSupport::toQStringList(env, args, &_qlist_args));
|
|
|
|
return xret;
|
|
|
|
return xret;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
JNIEXPORT jint JNICALL
|
|
|
|
JNIEXPORT jint JNICALL
|
|
|
|
Java_org_kde_koala_KApplication_kdeinitExec__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2(JNIEnv* env, jclass cls, jstring name, jobjectArray args, jobject error)
|
|
|
|
Java_org_kde_koala_KApplication_tdeinitExec__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2(JNIEnv* env, jclass cls, jstring name, jobjectArray args, jobject error)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
(void) cls;
|
|
|
|
(void) cls;
|
|
|
|
static TQString* _qstring_name = 0;
|
|
|
|
static TQString* _qstring_name = 0;
|
|
|
|
static TQStringList* _qlist_args = 0;
|
|
|
|
static TQStringList* _qlist_args = 0;
|
|
|
|
static TQString* _qstring_error = 0;
|
|
|
|
static TQString* _qstring_error = 0;
|
|
|
|
jint xret = (jint) KApplicationJBridge::kdeinitExec((const TQString&)*(TQString*) QtSupport::toQString(env, name, &_qstring_name), (const TQStringList&)*(TQStringList*) QtSupport::toQStringList(env, args, &_qlist_args), (TQString*) QtSupport::toQStringFromStringBuffer(env, error, &_qstring_error));
|
|
|
|
jint xret = (jint) KApplicationJBridge::tdeinitExec((const TQString&)*(TQString*) QtSupport::toQString(env, name, &_qstring_name), (const TQStringList&)*(TQStringList*) QtSupport::toQStringList(env, args, &_qlist_args), (TQString*) QtSupport::toQStringFromStringBuffer(env, error, &_qstring_error));
|
|
|
|
QtSupport::fromQStringToStringBuffer(env, _qstring_error, error);
|
|
|
|
QtSupport::fromQStringToStringBuffer(env, _qstring_error, error);
|
|
|
|
return xret;
|
|
|
|
return xret;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
JNIEXPORT jint JNICALL
|
|
|
|
JNIEXPORT jint JNICALL
|
|
|
|
Java_org_kde_koala_KApplication_kdeinitExec__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2_3I(JNIEnv* env, jclass cls, jstring name, jobjectArray args, jobject error, jintArray pid)
|
|
|
|
Java_org_kde_koala_KApplication_tdeinitExec__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2_3I(JNIEnv* env, jclass cls, jstring name, jobjectArray args, jobject error, jintArray pid)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
(void) cls;
|
|
|
|
(void) cls;
|
|
|
|
static TQString* _qstring_name = 0;
|
|
|
|
static TQString* _qstring_name = 0;
|
|
|
|
static TQStringList* _qlist_args = 0;
|
|
|
|
static TQStringList* _qlist_args = 0;
|
|
|
|
static TQString* _qstring_error = 0;
|
|
|
|
static TQString* _qstring_error = 0;
|
|
|
|
int* _int_pid = QtSupport::toIntPtr(env, pid);
|
|
|
|
int* _int_pid = QtSupport::toIntPtr(env, pid);
|
|
|
|
jint xret = (jint) KApplicationJBridge::kdeinitExec((const TQString&)*(TQString*) QtSupport::toQString(env, name, &_qstring_name), (const TQStringList&)*(TQStringList*) QtSupport::toQStringList(env, args, &_qlist_args), (TQString*) QtSupport::toQStringFromStringBuffer(env, error, &_qstring_error), (int*) _int_pid);
|
|
|
|
jint xret = (jint) KApplicationJBridge::tdeinitExec((const TQString&)*(TQString*) QtSupport::toQString(env, name, &_qstring_name), (const TQStringList&)*(TQStringList*) QtSupport::toQStringList(env, args, &_qlist_args), (TQString*) QtSupport::toQStringFromStringBuffer(env, error, &_qstring_error), (int*) _int_pid);
|
|
|
|
QtSupport::fromQStringToStringBuffer(env, _qstring_error, error);
|
|
|
|
QtSupport::fromQStringToStringBuffer(env, _qstring_error, error);
|
|
|
|
env->SetIntArrayRegion(pid, 0, 1, (jint *) _int_pid);
|
|
|
|
env->SetIntArrayRegion(pid, 0, 1, (jint *) _int_pid);
|
|
|
|
return xret;
|
|
|
|
return xret;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
JNIEXPORT jint JNICALL
|
|
|
|
JNIEXPORT jint JNICALL
|
|
|
|
Java_org_kde_koala_KApplication_kdeinitExec__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2_3ILjava_lang_String_2(JNIEnv* env, jclass cls, jstring name, jobjectArray args, jobject error, jintArray pid, jstring startup_id)
|
|
|
|
Java_org_kde_koala_KApplication_tdeinitExec__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2_3ILjava_lang_String_2(JNIEnv* env, jclass cls, jstring name, jobjectArray args, jobject error, jintArray pid, jstring startup_id)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
(void) cls;
|
|
|
|
(void) cls;
|
|
|
|
static TQString* _qstring_name = 0;
|
|
|
|
static TQString* _qstring_name = 0;
|
|
|
@ -672,7 +672,7 @@ static TQStringList* _qlist_args = 0;
|
|
|
|
static TQString* _qstring_error = 0;
|
|
|
|
static TQString* _qstring_error = 0;
|
|
|
|
int* _int_pid = QtSupport::toIntPtr(env, pid);
|
|
|
|
int* _int_pid = QtSupport::toIntPtr(env, pid);
|
|
|
|
static TQCString* _qcstring_startup_id = 0;
|
|
|
|
static TQCString* _qcstring_startup_id = 0;
|
|
|
|
jint xret = (jint) KApplicationJBridge::kdeinitExec((const TQString&)*(TQString*) QtSupport::toQString(env, name, &_qstring_name), (const TQStringList&)*(TQStringList*) QtSupport::toQStringList(env, args, &_qlist_args), (TQString*) QtSupport::toQStringFromStringBuffer(env, error, &_qstring_error), (int*) _int_pid, (const TQCString&)*(TQCString*) QtSupport::toQCString(env, startup_id, &_qcstring_startup_id));
|
|
|
|
jint xret = (jint) KApplicationJBridge::tdeinitExec((const TQString&)*(TQString*) QtSupport::toQString(env, name, &_qstring_name), (const TQStringList&)*(TQStringList*) QtSupport::toQStringList(env, args, &_qlist_args), (TQString*) QtSupport::toQStringFromStringBuffer(env, error, &_qstring_error), (int*) _int_pid, (const TQCString&)*(TQCString*) QtSupport::toQCString(env, startup_id, &_qcstring_startup_id));
|
|
|
|
QtSupport::fromQStringToStringBuffer(env, _qstring_error, error);
|
|
|
|
QtSupport::fromQStringToStringBuffer(env, _qstring_error, error);
|
|
|
|
env->SetIntArrayRegion(pid, 0, 1, (jint *) _int_pid);
|
|
|
|
env->SetIntArrayRegion(pid, 0, 1, (jint *) _int_pid);
|
|
|
|
return xret;
|
|
|
|
return xret;
|
|
|
|