29 #include <tqptrlist.h>
30 #include <tqvaluelist.h>
31 #include <kdatastream.h>
32 #include "tdelibs_export.h"
35 typedef TQValueList<TQCString> QCStringList;
41 virtual bool process(const TQCString &fun, const TQByteArray &data, TQCString& replyType, TQByteArray &replyData); \
42 QCStringList functions(); \
43 QCStringList interfaces(); \
46 #define k_dcop_signals public
47 #define k_dcop_hidden public
96 TQCString objId()
const;
104 bool setObjId(
const TQCString &objId);
137 virtual bool process(
const TQCString &fun,
const TQByteArray &data,
138 TQCString& replyType, TQByteArray &replyData);
163 virtual bool processDynamic(
const TQCString &fun,
const TQByteArray &data,
164 TQCString& replyType, TQByteArray &replyData);
177 virtual QCStringList functionsDynamic();
190 virtual QCStringList interfacesDynamic();
201 virtual QCStringList interfaces();
221 virtual QCStringList functions();
229 void emitDCOPSignal(
const TQCString &signal,
const TQByteArray &data);
250 bool connectDCOPSignal(
const TQCString &sender,
const TQCString &senderObj,
251 const TQCString &signal,
252 const TQCString &slot,
272 bool disconnectDCOPSignal(
const TQCString &sender,
const TQCString &senderObj,
273 const TQCString &signal,
274 const TQCString &slot);
299 static bool hasObject(
const TQCString &objId);
307 static DCOPObject *find(
const TQCString &objId);
319 static TQPtrList<DCOPObject> match(
const TQCString &partialId);
327 static TQCString objectName( TQObject* obj );
336 virtual void virtual_hook(
int id,
void* data );
338 class DCOPObjectPrivate;
339 DCOPObjectPrivate *d;
342 class DCOPObjectProxyPrivate;
394 virtual bool process(
const TQCString& obj,
const TQCString& fun,
395 const TQByteArray& data,
396 TQCString& replyType, TQByteArray &replyData );
401 static TQPtrList<DCOPObjectProxy>* proxies;
403 virtual void virtual_hook(
int id,
void* data );
405 DCOPObjectProxyPrivate* d;
Inter-process communication and remote procedure calls for KDE applications.
You must use a proxy if you want to dispatch method calls for object IDs which don't have (yet) a cor...
Provides an interface for receiving DCOP messages.