summaryrefslogtreecommitdiffstats
path: root/kdejava/koala/org/kde/koala/DCOPClient.java
diff options
context:
space:
mode:
Diffstat (limited to 'kdejava/koala/org/kde/koala/DCOPClient.java')
-rw-r--r--kdejava/koala/org/kde/koala/DCOPClient.java24
1 files changed, 12 insertions, 12 deletions
diff --git a/kdejava/koala/org/kde/koala/DCOPClient.java b/kdejava/koala/org/kde/koala/DCOPClient.java
index 117fe354..01949753 100644
--- a/kdejava/koala/org/kde/koala/DCOPClient.java
+++ b/kdejava/koala/org/kde/koala/DCOPClient.java
@@ -3,10 +3,10 @@ package org.kde.koala;
import org.kde.qt.Qt;
import java.util.ArrayList;
-import org.kde.qt.QMetaObject;
+import org.kde.qt.TQMetaObject;
import org.kde.qt.QtSupport;
-import org.kde.qt.QObject;
-import org.kde.qt.QObject;
+import org.kde.qt.TQObject;
+import org.kde.qt.TQObject;
/**
@@ -21,12 +21,12 @@ import org.kde.qt.QObject;
your application with a specific name. See attach()
and registerAs() for
more information.
- Data to be sent should be serialized into a QDataStream which was
+ Data to be sent should be serialized into a TQDataStream which was
initialized with the byte[] that you actually intend to send
the data in. An example of how you might do this:
<pre>
byte[] data;
- QDataStream arg(data, IO_WriteOnly);
+ TQDataStream arg(data, IO_WriteOnly);
arg << String("This is text I am serializing");
client.send("someApp", "someObject", "someFunction(String)", data);
</pre>
@@ -37,9 +37,9 @@ import org.kde.qt.QObject;
@see KApplication#dcopClient
*/
-public class DCOPClient extends QObject {
+public class DCOPClient extends TQObject {
protected DCOPClient(Class dummy){super((Class) null);}
- public native QMetaObject metaObject();
+ public native TQMetaObject metaObject();
public native String className();
/**
Constructs a new DCOP client, but does not attach to any server. @short Constructs a new DCOP client, but does not attach to any server.
@@ -54,9 +54,9 @@ public class DCOPClient extends QObject {
If the connection was already attached,
the connection will be re-established with the current server address.
Naturally, only attached application can use DCOP services.
- If a QApplication object exists then client registers itself as
- QApplication.name() + "-" + \<pid\>.
- If no QApplication object exists the client registers itself as
+ If a TQApplication object exists then client registers itself as
+ TQApplication.name() + "-" + \<pid\>.
+ If no TQApplication object exists the client registers itself as
"anonymous".
If you want to register differently, you should use registerAs()
instead.
@@ -269,7 +269,7 @@ public class DCOPClient extends QObject {
@see #send
@see #callback
*/
- public native int callAsync(String remApp, String remObj, String remFun, byte[] data, QObject callBackObj, String callBackSlot);
+ public native int callAsync(String remApp, String remObj, String remFun, byte[] data, TQObject callBackObj, String callBackSlot);
/**
Searches for an object which matches a criteria.
findObject calls <code>remFun</code> in the applications and objects identified
@@ -386,7 +386,7 @@ public class DCOPClient extends QObject {
@short Sends the delayed reply of a function call.
@see #beginTransaction
*/
- // void endTransaction(DCOPClientTransaction* arg1,QCString& arg2,QByteArray& arg3); >>>> NOT CONVERTED
+ // void endTransaction(DCOPClientTransaction* arg1,TQCString& arg2,TQByteArray& arg3); >>>> NOT CONVERTED
/**
Test whether the current function call is delayed.
Note: Should be called from inside process() only!