Create a public method in A that will emit the signal.
Qt Code:
Q_OBJECT public: void emitSig(){ emit sig(); } signals: void sig(); };To copy to clipboard, switch view to plain text mode
BTW. You should avoid emitting signals on account of other objects behind their back. If you do that, it's likely that your design is incorrect.
Bookmarks