23 #define DCOPSIGNALS_H "$Id$"
26 #include <tqasciidict.h>
27 #include <tqptrlist.h>
29 #include "tdelibs_export.h"
37 class DCOP_EXPORT DCOPSignalConnection
41 DCOPConnection *senderConn;
45 DCOPConnection *recvConn;
51 class DCOP_EXPORT DCOPSignalConnectionList :
public TQPtrList<DCOPSignalConnection>
54 DCOPSignalConnectionList() { };
60 class DCOP_EXPORT DCOPSignals
73 void emitSignal( DCOPConnection *conn,
const TQCString &fun,
const TQByteArray &data,
bool excludeSelf);
89 bool connectSignal(
const TQCString &sender,
const TQCString &senderObj,
90 const TQCString &signal,
91 DCOPConnection *conn,
const TQCString &receiverObj,
92 const TQCString &slot,
bool Volatile);
103 bool disconnectSignal(
const TQCString &sender,
const TQCString &senderObj,
104 const TQCString &signal,
105 DCOPConnection *conn,
const TQCString &receiverObj,
106 const TQCString &slot);
114 void removeConnections(DCOPConnection *conn,
const TQCString &obj=0);
127 TQAsciiDict<DCOPSignalConnectionList> connections;