Re: [Interest] Qt signals and polymorphism

2015-11-23 Thread André Somers
Op 22/11/2015 om 20:51 schreef Bob Hood: Ah, I see! There was the "obvious" thing I was missing. For some unknown reason, I assumed that signals were not inherited. I just tested without overriding the signal and polymorphism worked as expected. To to clear that up: there is nothing specia

Re: [Interest] Qt signals and polymorphism

2015-11-22 Thread Bob Hood
On 11/22/2015 12:01 PM, Thiago Macieira wrote: On Sunday 22 November 2015 10:21:45 Bob Hood wrote: class SubChannel : public Channel { ... SubChannel(); signals: void signal_channel_clear(); ... } Why are you creating a signal with the sa

Re: [Interest] Qt signals and polymorphism

2015-11-22 Thread Thiago Macieira
On Sunday 22 November 2015 10:21:45 Bob Hood wrote: > class SubChannel : public Channel > { > ... > SubChannel(); > > signals: > void signal_channel_clear(); > ... > } Why are you creating a signal with the same name of a signal that already exists

[Interest] Qt signals and polymorphism

2015-11-22 Thread Bob Hood
I successfully addressed my QMutex/QWaitCondition breakage by refactoring my termination chain. By sending a 'last call' down my class hierarchy, I was able to give the threads the time they needed to actually end gracefully, and release their resources. However, while implementing this, I di