C++ (Qt)class A{public: signal<void> TellSmth; }; class B : public SlotObject{public: signal<void> TellSmth; B() { a.TellSmth.connect(&TellSmth); }private: A a;}