dcopobject.cpp
183 bool DCOPObject::processDynamic( const TQCString&, const TQByteArray&, TQCString&, TQByteArray& )
186 }
197 }
static bool hasObject(const TQCString &objId)
Checks whether an object with the given id is known in this process.
Definition: dcopobject.cpp:116
virtual QCStringList functions()
Returns the list of functions understood by the object.
Definition: dcopobject.cpp:204
bool disconnectDCOPSignal(const TQCString &sender, const TQCString &senderObj, const TQCString &signal, const TQCString &receiverObj, const TQCString &slot)
Disconnects a DCOP signal.
Definition: dcopclient.cpp:2187
Inter-process communication and remote procedure calls for KDE applications.
Definition: dcopclient.h:68
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:269
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:2139
DCOPClient * callingDcopClient()
Returns the DCOPClient responsible for making the call.
Definition: dcopobject.cpp:87
bool disconnectDCOPSignal(const TQCString &sender, const TQCString &senderObj, const TQCString &signal, const TQCString &slot)
Disconnects a DCOP signal.
Definition: dcopobject.cpp:233
static DCOPObject * find(const TQCString &objId)
Try to find a dcop object with the given id.
Definition: dcopobject.cpp:124
virtual QCStringList interfacesDynamic()
This function is of interest when you used an IDL compiler to generate the implementation for interfa...
Definition: dcopobject.cpp:186
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:97
DCOPObject()
Creates a DCOPObject and calculates the object id using its physical memory address.
Definition: dcopobject.cpp:46
static TQCString objectName(TQObject *obj)
Creates an object id for the TQObject obj.
Definition: dcopobject.cpp:145
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:182
virtual QCStringList interfaces()
Returns the names of the interfaces, specific ones last.
Definition: dcopobject.cpp:197
virtual QCStringList functionsDynamic()
This function is of interest when you used an IDL compiler to generate the implementation for functio...
Definition: dcopobject.cpp:192
virtual ~DCOPObject()
Destroys the DCOPObject and removes it from the map of known objects.
Definition: dcopobject.cpp:77
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:2152
bool connectDCOPSignal(const TQCString &sender, const TQCString &senderObj, const TQCString &signal, const TQCString &slot, bool Volatile)
Connects to a DCOP signal.
Definition: dcopobject.cpp:219
virtual bool process(const TQCString &fun, const TQByteArray &data, TQCString &replyType, TQByteArray &replyData)
Dispatches a message.
Definition: dcopobject.cpp:165
void emitDCOPSignal(const TQCString &signal, const TQByteArray &data)
Emit signal as DCOP signal from this object with data as arguments.
Definition: dcopobject.cpp:212
static TQPtrList< DCOPObject > match(const TQCString &partialId)
Tries to find an object using a partial object id.
Definition: dcopobject.cpp:134
static DCOPClient * mainClient()
Returns the application's main dcop client.
Definition: dcopclient.cpp:580
Trinity API Reference