class DCOPSignals

More...

Internal Use Only
Definition#include <dcopsignals.h>
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Public Members


Detailed Description

 DCOPSignals ()

void  emitSignal ( DCOPConnection *conn, const QCString &fun, const QByteArray &data, bool excludeSelf)

Client "conn" emits the signal "fun" with "data" as arguments.

The emitting object is encoded in "fun".

If "excludeSelf" is true, signal is never send to "conn" itself.

bool  connectSignal ( const QCString &sender, const QCString &senderObj, const QCString &signal, DCOPConnection *conn, const QCString &receiverObj, const QCString &slot, bool Volatile)

Connects "signal" of the client named "sender" with the "slot" of "receiverObj" in the "conn" client.

If "Volatile" is true the connection will be removed when either "sender" or "conn" unregisters.

If "Volatile" is false the connection will only be removed when "conn" unregisters.

Returns true if succesfull. False on failure. An attempt to create a Volatile connection to a non-existing client results in a failure.

bool  disconnectSignal ( const QCString &sender, const QCString &senderObj, const QCString &signal, DCOPConnection *conn, const QCString &receiverObj, const QCString &slot)

Disconnects "signal" of the client named "sender" from the "slot" of "receiverObj" in the "conn" client.

If "receiverObj" is empty, every object is disconnected. If "slot" is empty, every slot is disconnected.

Returns true if successfull, false if no connection was found.

void  removeConnections (DCOPConnection *conn, const QCString &obj=0)

Removes all connections related to the "conn" client. This means: All connections for which "conn" is the receiver. All volatile connections for which "conn" is the sender.

QAsciiDict<DCOPSignalConnectionList> connections


Generated by: baudens@ke.mandrakesoft.com on Thu Oct 26 17:36:17 2000, using kdoc 2.0a40.