|
|
@ -452,73 +452,73 @@ static TQCString* _qcstring_appId = 0;
|
|
|
|
JNIEXPORT jobject JNICALL
|
|
|
|
JNIEXPORT jobject JNICALL
|
|
|
|
Java_org_kde_koala_DCOPClient_registeredApplications(JNIEnv* env, jobject obj)
|
|
|
|
Java_org_kde_koala_DCOPClient_registeredApplications(JNIEnv* env, jobject obj)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
TQCStringList _qlist;
|
|
|
|
QCStringList _qlist;
|
|
|
|
_qlist = ((DCOPClient*) QtSupport::getQt(env, obj))->registeredApplications();
|
|
|
|
_qlist = ((DCOPClient*) QtSupport::getQt(env, obj))->registeredApplications();
|
|
|
|
return (jobject) KDESupport::arrayWithTQCStringList(env, (TQCStringList*) &_qlist);
|
|
|
|
return (jobject) KDESupport::arrayWithQCStringList(env, (QCStringList*) &_qlist);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
JNIEXPORT jobject JNICALL
|
|
|
|
JNIEXPORT jobject JNICALL
|
|
|
|
Java_org_kde_koala_DCOPClient_remoteFunctions__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring remApp, jstring remObj)
|
|
|
|
Java_org_kde_koala_DCOPClient_remoteFunctions__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring remApp, jstring remObj)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
TQCStringList _qlist;
|
|
|
|
QCStringList _qlist;
|
|
|
|
static TQCString* _qcstring_remApp = 0;
|
|
|
|
static TQCString* _qcstring_remApp = 0;
|
|
|
|
static TQCString* _qcstring_remObj = 0;
|
|
|
|
static TQCString* _qcstring_remObj = 0;
|
|
|
|
_qlist = ((DCOPClient*) QtSupport::getQt(env, obj))->remoteFunctions((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, remApp, &_qcstring_remApp), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, remObj, &_qcstring_remObj));
|
|
|
|
_qlist = ((DCOPClient*) QtSupport::getQt(env, obj))->remoteFunctions((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, remApp, &_qcstring_remApp), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, remObj, &_qcstring_remObj));
|
|
|
|
return (jobject) KDESupport::arrayWithTQCStringList(env, (TQCStringList*) &_qlist);
|
|
|
|
return (jobject) KDESupport::arrayWithQCStringList(env, (QCStringList*) &_qlist);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
JNIEXPORT jobject JNICALL
|
|
|
|
JNIEXPORT jobject JNICALL
|
|
|
|
Java_org_kde_koala_DCOPClient_remoteFunctions__Ljava_lang_String_2Ljava_lang_String_2_3Z(JNIEnv* env, jobject obj, jstring remApp, jstring remObj, jbooleanArray ok)
|
|
|
|
Java_org_kde_koala_DCOPClient_remoteFunctions__Ljava_lang_String_2Ljava_lang_String_2_3Z(JNIEnv* env, jobject obj, jstring remApp, jstring remObj, jbooleanArray ok)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
TQCStringList _qlist;
|
|
|
|
QCStringList _qlist;
|
|
|
|
static TQCString* _qcstring_remApp = 0;
|
|
|
|
static TQCString* _qcstring_remApp = 0;
|
|
|
|
static TQCString* _qcstring_remObj = 0;
|
|
|
|
static TQCString* _qcstring_remObj = 0;
|
|
|
|
bool* _bool_ok = QtSupport::toBooleanPtr(env, ok);
|
|
|
|
bool* _bool_ok = QtSupport::toBooleanPtr(env, ok);
|
|
|
|
_qlist = ((DCOPClient*) QtSupport::getQt(env, obj))->remoteFunctions((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, remApp, &_qcstring_remApp), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, remObj, &_qcstring_remObj), (bool*) _bool_ok);
|
|
|
|
_qlist = ((DCOPClient*) QtSupport::getQt(env, obj))->remoteFunctions((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, remApp, &_qcstring_remApp), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, remObj, &_qcstring_remObj), (bool*) _bool_ok);
|
|
|
|
env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok);
|
|
|
|
env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok);
|
|
|
|
return (jobject) KDESupport::arrayWithTQCStringList(env, (TQCStringList*) &_qlist);
|
|
|
|
return (jobject) KDESupport::arrayWithQCStringList(env, (QCStringList*) &_qlist);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
JNIEXPORT jobject JNICALL
|
|
|
|
JNIEXPORT jobject JNICALL
|
|
|
|
Java_org_kde_koala_DCOPClient_remoteInterfaces__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring remApp, jstring remObj)
|
|
|
|
Java_org_kde_koala_DCOPClient_remoteInterfaces__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring remApp, jstring remObj)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
TQCStringList _qlist;
|
|
|
|
QCStringList _qlist;
|
|
|
|
static TQCString* _qcstring_remApp = 0;
|
|
|
|
static TQCString* _qcstring_remApp = 0;
|
|
|
|
static TQCString* _qcstring_remObj = 0;
|
|
|
|
static TQCString* _qcstring_remObj = 0;
|
|
|
|
_qlist = ((DCOPClient*) QtSupport::getQt(env, obj))->remoteInterfaces((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, remApp, &_qcstring_remApp), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, remObj, &_qcstring_remObj));
|
|
|
|
_qlist = ((DCOPClient*) QtSupport::getQt(env, obj))->remoteInterfaces((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, remApp, &_qcstring_remApp), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, remObj, &_qcstring_remObj));
|
|
|
|
return (jobject) KDESupport::arrayWithTQCStringList(env, (TQCStringList*) &_qlist);
|
|
|
|
return (jobject) KDESupport::arrayWithQCStringList(env, (QCStringList*) &_qlist);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
JNIEXPORT jobject JNICALL
|
|
|
|
JNIEXPORT jobject JNICALL
|
|
|
|
Java_org_kde_koala_DCOPClient_remoteInterfaces__Ljava_lang_String_2Ljava_lang_String_2_3Z(JNIEnv* env, jobject obj, jstring remApp, jstring remObj, jbooleanArray ok)
|
|
|
|
Java_org_kde_koala_DCOPClient_remoteInterfaces__Ljava_lang_String_2Ljava_lang_String_2_3Z(JNIEnv* env, jobject obj, jstring remApp, jstring remObj, jbooleanArray ok)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
TQCStringList _qlist;
|
|
|
|
QCStringList _qlist;
|
|
|
|
static TQCString* _qcstring_remApp = 0;
|
|
|
|
static TQCString* _qcstring_remApp = 0;
|
|
|
|
static TQCString* _qcstring_remObj = 0;
|
|
|
|
static TQCString* _qcstring_remObj = 0;
|
|
|
|
bool* _bool_ok = QtSupport::toBooleanPtr(env, ok);
|
|
|
|
bool* _bool_ok = QtSupport::toBooleanPtr(env, ok);
|
|
|
|
_qlist = ((DCOPClient*) QtSupport::getQt(env, obj))->remoteInterfaces((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, remApp, &_qcstring_remApp), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, remObj, &_qcstring_remObj), (bool*) _bool_ok);
|
|
|
|
_qlist = ((DCOPClient*) QtSupport::getQt(env, obj))->remoteInterfaces((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, remApp, &_qcstring_remApp), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, remObj, &_qcstring_remObj), (bool*) _bool_ok);
|
|
|
|
env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok);
|
|
|
|
env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok);
|
|
|
|
return (jobject) KDESupport::arrayWithTQCStringList(env, (TQCStringList*) &_qlist);
|
|
|
|
return (jobject) KDESupport::arrayWithQCStringList(env, (QCStringList*) &_qlist);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
JNIEXPORT jobject JNICALL
|
|
|
|
JNIEXPORT jobject JNICALL
|
|
|
|
Java_org_kde_koala_DCOPClient_remoteObjects__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring remApp)
|
|
|
|
Java_org_kde_koala_DCOPClient_remoteObjects__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring remApp)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
TQCStringList _qlist;
|
|
|
|
QCStringList _qlist;
|
|
|
|
static TQCString* _qcstring_remApp = 0;
|
|
|
|
static TQCString* _qcstring_remApp = 0;
|
|
|
|
_qlist = ((DCOPClient*) QtSupport::getQt(env, obj))->remoteObjects((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, remApp, &_qcstring_remApp));
|
|
|
|
_qlist = ((DCOPClient*) QtSupport::getQt(env, obj))->remoteObjects((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, remApp, &_qcstring_remApp));
|
|
|
|
return (jobject) KDESupport::arrayWithTQCStringList(env, (TQCStringList*) &_qlist);
|
|
|
|
return (jobject) KDESupport::arrayWithQCStringList(env, (QCStringList*) &_qlist);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
JNIEXPORT jobject JNICALL
|
|
|
|
JNIEXPORT jobject JNICALL
|
|
|
|
Java_org_kde_koala_DCOPClient_remoteObjects__Ljava_lang_String_2_3Z(JNIEnv* env, jobject obj, jstring remApp, jbooleanArray ok)
|
|
|
|
Java_org_kde_koala_DCOPClient_remoteObjects__Ljava_lang_String_2_3Z(JNIEnv* env, jobject obj, jstring remApp, jbooleanArray ok)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
TQCStringList _qlist;
|
|
|
|
QCStringList _qlist;
|
|
|
|
static TQCString* _qcstring_remApp = 0;
|
|
|
|
static TQCString* _qcstring_remApp = 0;
|
|
|
|
bool* _bool_ok = QtSupport::toBooleanPtr(env, ok);
|
|
|
|
bool* _bool_ok = QtSupport::toBooleanPtr(env, ok);
|
|
|
|
_qlist = ((DCOPClient*) QtSupport::getQt(env, obj))->remoteObjects((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, remApp, &_qcstring_remApp), (bool*) _bool_ok);
|
|
|
|
_qlist = ((DCOPClient*) QtSupport::getQt(env, obj))->remoteObjects((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, remApp, &_qcstring_remApp), (bool*) _bool_ok);
|
|
|
|
env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok);
|
|
|
|
env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok);
|
|
|
|
return (jobject) KDESupport::arrayWithTQCStringList(env, (TQCStringList*) &_qlist);
|
|
|
|
return (jobject) KDESupport::arrayWithQCStringList(env, (QCStringList*) &_qlist);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
JNIEXPORT void JNICALL
|
|
|
|
JNIEXPORT void JNICALL
|
|
|
|