dcopobject.cpp
183 bool DCOPObject::processDynamic( const TQCString&, const TQByteArray&, TQCString&, TQByteArray& )
Inter-process communication and remote procedure calls for KDE applications.
Definition: dcopclient.h:69
void emitDCOPSignal(const TQCString &object, const TQCString &signal, const TQByteArray &data)
Emits signal as DCOP signal from object object with data as arguments.
Definition: dcopclient.cpp:2179
bool disconnectDCOPSignal(const TQCString &sender, const TQCString &senderObj, const TQCString &signal, const TQCString &receiverObj, const TQCString &slot)
Disconnects a DCOP signal.
Definition: dcopclient.cpp:2227
static DCOPClient * mainClient()
Returns the application's main dcop client.
Definition: dcopclient.cpp:599
bool connectDCOPSignal(const TQCString &sender, const TQCString &senderObj, const TQCString &signal, const TQCString &receiverObj, const TQCString &slot, bool Volatile)
Connects to a DCOP signal.
Definition: dcopclient.cpp:2192
virtual bool process(const TQCString &obj, const TQCString &fun, const TQByteArray &data, TQCString &replyType, TQByteArray &replyData)
Reimplement this method to dispatch method calls.
Definition: dcopobject.cpp:270
virtual bool processDynamic(const TQCString &fun, const TQByteArray &data, TQCString &replyType, TQByteArray &replyData)
This function is of interest when you used an IDL compiler to generate the implementation for process...
Definition: dcopobject.cpp:183
static TQCString objectName(TQObject *obj)
Creates an object id for the TQObject obj.
Definition: dcopobject.cpp:146
bool connectDCOPSignal(const TQCString &sender, const TQCString &senderObj, const TQCString &signal, const TQCString &slot, bool Volatile)
Connects to a DCOP signal.
Definition: dcopobject.cpp:220
virtual ~DCOPObject()
Destroys the DCOPObject and removes it from the map of known objects.
Definition: dcopobject.cpp:78
static TQPtrList< DCOPObject > match(const TQCString &partialId)
Tries to find an object using a partial object id.
Definition: dcopobject.cpp:135
virtual QCStringList interfaces()
Returns the names of the interfaces, specific ones last.
Definition: dcopobject.cpp:198
static bool hasObject(const TQCString &objId)
Checks whether an object with the given id is known in this process.
Definition: dcopobject.cpp:117
DCOPObject()
Creates a DCOPObject and calculates the object id using its physical memory address.
Definition: dcopobject.cpp:47
virtual QCStringList interfacesDynamic()
This function is of interest when you used an IDL compiler to generate the implementation for interfa...
Definition: dcopobject.cpp:187
bool setObjId(const TQCString &objId)
Renames a dcop object, if no other with the same name exists Use with care, all dcop signals are disc...
Definition: dcopobject.cpp:98
bool disconnectDCOPSignal(const TQCString &sender, const TQCString &senderObj, const TQCString &signal, const TQCString &slot)
Disconnects a DCOP signal.
Definition: dcopobject.cpp:234
virtual QCStringList functions()
Returns the list of functions understood by the object.
Definition: dcopobject.cpp:205
static DCOPObject * find(const TQCString &objId)
Try to find a dcop object with the given id.
Definition: dcopobject.cpp:125
virtual QCStringList functionsDynamic()
This function is of interest when you used an IDL compiler to generate the implementation for functio...
Definition: dcopobject.cpp:193
virtual bool process(const TQCString &fun, const TQByteArray &data, TQCString &replyType, TQByteArray &replyData)
Dispatches a message.
Definition: dcopobject.cpp:166
DCOPClient * callingDcopClient()
Returns the DCOPClient responsible for making the call.
Definition: dcopobject.cpp:88
void emitDCOPSignal(const TQCString &signal, const TQByteArray &data)
Emit signal as DCOP signal from this object with data as arguments.
Definition: dcopobject.cpp:213