Wt 4.5.0
|
Abstract base class of a signal. More...
#include <WSignal.h>
Public Member Functions | |
virtual bool | isConnected () const =0 |
Returns whether this signal is connected. More... | |
virtual Wt::Signals::connection | connect (WObject *target, WObject::Method method)=0 |
Connects to a slot. More... | |
template<class T , class V > | |
Wt::Signals::connection | connect (T *target, void(V::*method)()) |
Connects to a slot. More... | |
Abstract base class of a signal.
Base class for all signals.
Wt::Signals::connection Wt::SignalBase::connect | ( | T * | target, |
void(V::*)() | method | ||
) |
Connects to a slot.
Every signal can be connected to a slot which does not take any arguments (and may thus ignore signal arguments).
|
pure virtual |
Connects to a slot.
Every signal can be connected to a slot which does not take any arguments (and may thus ignore signal arguments).
Implemented in Wt::JSignal< A >, Wt::Signal< A >, Wt::EventSignal< E >, and Wt::EventSignalBase.
|
pure virtual |
Returns whether this signal is connected.
Returns true when the signal was connected to to at least one slot.
Implemented in Wt::JSignal< A >, Wt::Signal< A >, Wt::EventSignalBase, and Wt::EventSignal< E >.