dcopref.cpp
50 DCOPReply DCOPRef::callInternal( const TQCString& fun, const TQCString& args, const TQByteArray& data )
55 DCOPReply DCOPRef::callInternal( const TQCString& fun, const TQCString& args, const TQByteArray& data,
77 dc->call( m_app, m_obj, sig, data, reply.type, reply.data, useEventLoop == UseEventLoop, timeout );
81 bool DCOPRef::sendInternal( const TQCString& fun, const TQCString& args, const TQByteArray& data )
Inter-process communication and remote procedure calls for KDE applications.
Definition: dcopclient.h:69
bool send(const TQCString &remApp, const TQCString &remObj, const TQCString &remFun, const TQByteArray &data)
Sends a data block to the server.
Definition: dcopclient.cpp:1089
bool isAttached() const
Returns whether or not the client is attached to the server.
Definition: dcopclient.cpp:949
bool call(const TQCString &remApp, const TQCString &remObj, const TQCString &remFun, const TQByteArray &data, TQCString &replyType, TQByteArray &replyData, bool useEventLoop, int timeout, bool forceRemote)
Performs a synchronous send and receive.
Definition: dcopclient.cpp:1786
static DCOPClient * mainClient()
Returns the application's main dcop client.
Definition: dcopclient.cpp:599
A DCOPRef(erence) encapsulates a remote DCOP object as a triple <app,obj,type> where type is optional...
Definition: dcopref.h:279
DCOPClient * dcopClient() const
Returns the dcop client the reference operates on.
Definition: dcopref.cpp:166
void setRef(const TQCString &app, const TQCString &obj="")
Changes the referenced object.
Definition: dcopref.cpp:180
TQCString app() const
Name of the application in which the object resides.
Definition: dcopref.cpp:140
void setDCOPClient(DCOPClient *client)
Sets a specific dcop client for this reference.
Definition: dcopref.cpp:161
Represents the return value of a DCOPRef:call() or DCOPRef:send() invocation.
Definition: dcopref.h:45
kdbgstream & operator<<(const TQValueList< T > &list)