80 TClass *sender_class,
const char *signal,
81 TClass *receiver_class,
const char *slot);
103 template <
typename...
T>
void EmitVA(
const char *signal_name,
Int_t ,
const T&... params);
105 void EmitVA(
const char *signal,
Int_t nargs, va_list va) =
delete;
106 void Emit(
const char *signal);
107 void Emit(
const char *signal,
Long_t *paramArr);
108 void Emit(
const char *signal,
const char *params);
134 const char *receiver_class,
140 const char *slot = 0);
143 const char *slot_name = 0);
146 const char *slot_name = 0);
155 {
Emit(
"Destroyed()"); }
157 {
Emit(
"ChangedBy(char*)", method); }
159 {
Emit(
"Message(char*)", msg); }
163 const char *receiver_class,
169 const char *receiver_class,
174 const char *signal = 0,
176 const char *slot = 0);
181 const char *slot = 0);
207 virtual void SetSender(
void *sender) { fSender = sender; }
214 #ifndef ROOT_TQConnection
244 #define ClassImpQ(name) \
Bool_t ConnectCINT(TQObject *sender, const char *signal, const char *slot)
Global function which simplifies making connection in interpreted ROOT session.
TQObjSender & operator=(const TQObjSender &)
static Bool_t BlockAllSignals(Bool_t b)
Block or unblock all signals. Returns the previous block status.
TQObject()
TQObject Constructor.
virtual void * GetSender()
static Int_t CheckConnectArgs(TQObject *sender, TClass *sender_class, const char *signal, TClass *receiver_class, const char *slot)
Checking of consitency of sender/receiver methods/arguments.
void Emit(const char *signal, Float_t param)
void Emit(const char *signal, Char_t param)
virtual void * GetSender()
R__EXTERN void * gTQSender
void EmitVA(const char *signal_name, Int_t, const T &...params)
virtual const char * GetSenderClassName() const
Bool_t BlockSignals(Bool_t b)
This is the ROOT implementation of the Qt object communication mechanism (see also http://www...
TList * GetListOfConnections() const
void Emit(const char *signal, Short_t param)
void Emit(const char *signal, UChar_t param)
#define ClassDef(name, id)
virtual Int_t NumberOfSignals() const
Return number of signals for this object.
void Emit(const char *signal, Int_t param)
TList * GetListOfSignals() const
void Emit(const char *signal)
Acitvate signal without args.
virtual Bool_t HasConnection(const char *signal_name) const
Return true if there is any object connected to this signal.
TList * fListOfConnections
list of signals from this object
Bool_t Connect(const char *signal, const char *receiver_class, void *receiver, const char *slot)
Non-static method is used to connect from the signal of this object to the receiver slot...
void SetSenderClassName(const char *sclass="")
static Bool_t fgAllSignalsBlocked
flag used for suppression of signals
TQObject & operator=(const TQObject &tqo)
TQConnection class is an internal class, used in the object communication mechanism.
static Bool_t ConnectToClass(TQObject *sender, const char *signal, TClass *receiver_class, void *receiver, const char *slot)
Create connection between sender and receiver.
The ROOT global object gROOT contains a list of all defined classes.
virtual ~TQObject()
TQObject Destructor.
static TString CompressName(const char *method_name)
Bool_t fSignalsBlocked
list of connections to this object
virtual void Message(const char *msg)
Bool_t AreSignalsBlocked() const
unsigned long long ULong64_t
static Bool_t AreAllSignalsBlocked()
Returns true if all signals are blocked.
virtual void Disconnected(const char *)
Bool_t Disconnect(const char *signal=0, void *receiver=0, const char *slot=0)
Disconnects signal of this object from slot of receiver.
TList * GetListOfClassSignals() const
Returns pointer to list of signals of this class.
Mother of all ROOT objects.
void Emit(const char *signal, UInt_t param)
void Emit(const char *signal, ULong64_t param)
virtual void SetSender(void *sender)
virtual void ChangedBy(const char *method)
virtual void Connected(const char *)
virtual const char * GetSenderClassName() const
void Emit(const char *signal, UShort_t param)
void Emit(const char *signal, ULong_t param)
virtual void LowPriority(const char *signal_name, const char *slot_name=0)
virtual Int_t NumberOfConnections() const
Return number of connections for this object.
void CollectClassSignalLists(TList &list, TClass *cls)
Collect class signal lists from class cls and all its base-classes.
virtual void HighPriority(const char *signal_name, const char *slot_name=0)
void Emit(const char *signal, Bool_t param)