summaryrefslogtreecommitdiffstats
path: root/dcopjava/binding/client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'dcopjava/binding/client.cpp')
-rw-r--r--dcopjava/binding/client.cpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/dcopjava/binding/client.cpp b/dcopjava/binding/client.cpp
index e60fe2ac..f19af5e1 100644
--- a/dcopjava/binding/client.cpp
+++ b/dcopjava/binding/client.cpp
@@ -6,7 +6,7 @@
#include <kdebug.h>
-#include "org_kde_DCOP_Client.h"
+#include "org_trinitydesktop_DCOP_Client.h"
class client
@@ -34,7 +34,7 @@ DCOPClient *client::instance()
}
-JNIEXPORT jboolean JNICALL Java_org_kde_DCOP_Client_attach(JNIEnv *, jobject)
+JNIEXPORT jboolean JNICALL Java_org_trinitydesktop_DCOP_Client_attach(JNIEnv *, jobject)
{
kdDebug() << "javadcop::attach() called" << endl;
@@ -42,7 +42,7 @@ JNIEXPORT jboolean JNICALL Java_org_kde_DCOP_Client_attach(JNIEnv *, jobject)
}
-JNIEXPORT jstring JNICALL Java_org_kde_DCOP_Client_registerAs(JNIEnv *env, jobject, jstring appName)
+JNIEXPORT jstring JNICALL Java_org_trinitydesktop_DCOP_Client_registerAs(JNIEnv *env, jobject, jstring appName)
{
TQString name(env->GetStringUTFChars(appName, 0));
@@ -54,7 +54,7 @@ JNIEXPORT jstring JNICALL Java_org_kde_DCOP_Client_registerAs(JNIEnv *env, jobje
}
-JNIEXPORT jboolean JNICALL Java_org_kde_DCOP_Client_isAttached(JNIEnv *, jobject)
+JNIEXPORT jboolean JNICALL Java_org_trinitydesktop_DCOP_Client_isAttached(JNIEnv *, jobject)
{
kdDebug() << "javadcop::isAttached() called" << endl;
@@ -62,7 +62,7 @@ JNIEXPORT jboolean JNICALL Java_org_kde_DCOP_Client_isAttached(JNIEnv *, jobject
}
-JNIEXPORT jboolean JNICALL Java_org_kde_DCOP_Client_detach(JNIEnv *, jobject)
+JNIEXPORT jboolean JNICALL Java_org_trinitydesktop_DCOP_Client_detach(JNIEnv *, jobject)
{
kdDebug() << "javadcop::detach() called" << endl;
@@ -70,7 +70,7 @@ JNIEXPORT jboolean JNICALL Java_org_kde_DCOP_Client_detach(JNIEnv *, jobject)
}
-JNIEXPORT jboolean JNICALL Java_org_kde_DCOP_Client_send__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv *env, jobject, jstring remApp, jstring remObj, jstring remFun, jstring data)
+JNIEXPORT jboolean JNICALL Java_org_trinitydesktop_DCOP_Client_send__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv *env, jobject, jstring remApp, jstring remObj, jstring remFun, jstring data)
{
TQString _remApp(env->GetStringUTFChars(remApp, 0));
TQString _remObj(env->GetStringUTFChars(remObj, 0));
@@ -94,7 +94,7 @@ TQByteArray byteArray(JNIEnv *env, jbyteArray a)
}
-JNIEXPORT jboolean JNICALL Java_org_kde_DCOP_Client_send__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2_3B(JNIEnv *env, jobject, jstring remApp, jstring remObj, jstring remFun, jbyteArray data)
+JNIEXPORT jboolean JNICALL Java_org_trinitydesktop_DCOP_Client_send__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2_3B(JNIEnv *env, jobject, jstring remApp, jstring remObj, jstring remFun, jbyteArray data)
{
TQString _remApp(env->GetStringUTFChars(remApp, 0));
TQString _remObj(env->GetStringUTFChars(remObj, 0));
@@ -109,7 +109,7 @@ JNIEXPORT jboolean JNICALL Java_org_kde_DCOP_Client_send__Ljava_lang_String_2Lja
}
-JNIEXPORT jboolean JNICALL Java_org_kde_DCOP_Client_isRegistered(JNIEnv *, jobject)
+JNIEXPORT jboolean JNICALL Java_org_trinitydesktop_DCOP_Client_isRegistered(JNIEnv *, jobject)
{
kdDebug() << "javadcop::isRegistered() called" << endl;
@@ -117,7 +117,7 @@ JNIEXPORT jboolean JNICALL Java_org_kde_DCOP_Client_isRegistered(JNIEnv *, jobje
}
-JNIEXPORT jstring JNICALL Java_org_kde_DCOP_Client_appId(JNIEnv *env, jobject)
+JNIEXPORT jstring JNICALL Java_org_trinitydesktop_DCOP_Client_appId(JNIEnv *env, jobject)
{
kdDebug() << "javadcop::appId called" << endl;
@@ -125,7 +125,7 @@ JNIEXPORT jstring JNICALL Java_org_kde_DCOP_Client_appId(JNIEnv *env, jobject)
}
-JNIEXPORT void JNICALL Java_org_kde_DCOP_Client_suspend(JNIEnv *, jobject)
+JNIEXPORT void JNICALL Java_org_trinitydesktop_DCOP_Client_suspend(JNIEnv *, jobject)
{
kdDebug() << "javadcop::suspend() called" << endl;
@@ -133,7 +133,7 @@ JNIEXPORT void JNICALL Java_org_kde_DCOP_Client_suspend(JNIEnv *, jobject)
}
-JNIEXPORT void JNICALL Java_org_kde_DCOP_Client_resume(JNIEnv *, jobject)
+JNIEXPORT void JNICALL Java_org_trinitydesktop_DCOP_Client_resume(JNIEnv *, jobject)
{
kdDebug() << "javadcop::resume() called" << endl;
@@ -141,7 +141,7 @@ JNIEXPORT void JNICALL Java_org_kde_DCOP_Client_resume(JNIEnv *, jobject)
}
-JNIEXPORT jobject JNICALL Java_org_kde_DCOP_Client_call(JNIEnv *env, jobject, jstring remApp, jstring remObj, jstring remFun, jbyteArray data, jboolean eventLoop)
+JNIEXPORT jobject JNICALL Java_org_trinitydesktop_DCOP_Client_call(JNIEnv *env, jobject, jstring remApp, jstring remObj, jstring remFun, jbyteArray data, jboolean eventLoop)
{
TQString _remApp(env->GetStringUTFChars(remApp, 0));
TQString _remObj(env->GetStringUTFChars(remObj, 0));
@@ -167,7 +167,7 @@ JNIEXPORT jobject JNICALL Java_org_kde_DCOP_Client_call(JNIEnv *env, jobject, js
jobject response;
jfieldID jfid;
- jcls = env->FindClass("Lorg/kde/DCOP/Response;");
+ jcls = env->FindClass("Lorg/trinitydesktop/DCOP/Response;");
if (!jcls)
return NULL;
@@ -201,7 +201,7 @@ JNIEXPORT jobject JNICALL Java_org_kde_DCOP_Client_call(JNIEnv *env, jobject, js
return response;
}
-JNIEXPORT jboolean JNICALL Java_org_kde_DCOP_Client_isApplicationRegistered(JNIEnv *env, jobject, jstring remApp)
+JNIEXPORT jboolean JNICALL Java_org_trinitydesktop_DCOP_Client_isApplicationRegistered(JNIEnv *env, jobject, jstring remApp)
{
const TQCString _remApp(env->GetStringUTFChars(remApp, 0));