10 #include "HGCal/TBEventDisplay/interface/Connection.h"
17 PyObject *receiver,
const char *method)
21 _slot =
new Slot(receiver, method);
24 TQObject::Connect(_sender, _signal.c_str(),
25 "Slot", _slot,
"handleSignal()");
28 TQObject::Connect(_sender, _signal.c_str(),
29 "Slot", _slot,
"handleSignal(int)");
35 TQObject::Disconnect(_sender, _signal.c_str(),
36 _slot,
"handleSignal()");
38 TQObject::Disconnect(_sender, _signal.c_str(),
39 _slot,
"handleSignal(int)");
45 {
return signal.find(
"()") < signal.length(); }
bool noArgs(std::string &signal)
True if signal has no arguments.
Connection(TQObject *sender, const char *signal, PyObject *receiver, const char *method)