PDA

View Full Version : Signals not going through to custom class.



GunBlade
15th August 2010, 12:41
This is tormenting me for several hours now: I have created a custom QObject derivative and instantiated it in my display widget. I have connected a couple of signals into slots in my class, but for some reason, when emitting said signals, they don't go through. QTimer timeout() signals also fail to reach my class.

My question: What could cause a class to not receive signals?

Thank you in advance, this is driving me mad.

The Storm
15th August 2010, 12:44
Did you putted the Q_OBJECT marco in to the beginning private section of your QObject derivative ?

GunBlade
15th August 2010, 12:46
Yes.
I have created derivatives before, so I can't for the life of me find the reason for this one not to work...

GunBlade
15th August 2010, 12:50
And of course I found the answer minutes after posting... I had a stupid bug. Please forget about my stupid thread :mad: