What I meant is: instead of having a signalA(int,QString), and a signalB(QString), a signalC() etc: just have one unifiedSignal(SignalData).
where SignalData = class { QObject *origin; int signaltype; QVariant data; } or something similar.
This way, even if you signal-chain this thru your classes from gui to classC, it is not that bad, as there is only one signal.
(If that idea really is applicable in your scenario, I can not tell. I do not know enough about your use case.)
You didn't tell us that only one instance of your gui widget etc will exist. If that is the case, sure you can do that.Cant I make a singleton class, which is just made for connecting.
Bookmarks