Home · All Namespaces · All Classes · Grouped Classes · Modules · Functions |
The QSignalIntercepter class provides an interface for intercepting signals as meta-calls More...
#include <QSignalIntercepter>
Inherits QObject.
The QSignalIntercepter class provides an interface for intercepting signals as meta-calls
IPC mechanisms need to intercept signals and convert them into protocol messages, but it is generally impractical to create a slot for every signal that needs to be dispatched. The QSignalIntercepter class allows signals to be intercepted as meta-calls so that IPC dispatching can be implemented in a generic fashion.
The activated() method is called whenever the signal is emitted, with the arguments in a typed list.
See also QSlotInvoker.
Create a new signal intercepter which traps signal on sender. The object will be attached to parent, if present.
Destroy a signal intercepter.
Called when the signal that is being intercepted is activated. The arguments to the signal are passed in the list args.
Returns the connection types associated with a signal or slot member specification. The array of types is returned from this function, and the number of arguments is returned in nargs. Returns null if member is invalid. The return value must be freed with qFree().
Returns true if this signal intercepter is valid; that is, there was a signal present with the specified parameters when this object was constructed.
Returns the sender that this signal interceptor is attached to.
Returns the name of the signal that this signal interceptor is attached to.
Copyright © 2009 Nokia | Trademarks | Qt Extended 4.4.3 |