[Qt-interest] Overwriting public slots and qobject_cast

Álvaro Morais alvarommorais at gmail.com
Thu Jun 4 00:45:53 CEST 2009


A Quarta 03 Junho 2009 23:21:35, você escreveu:
> Suggest you give up on trying to override setValue and simply
> connect to the valueChanged signal instead.


Yes, that was my other option.

The reason for me to try to override with virtual is because I don't 
understand yet very well how slots and signals are implemented, and a strange 
thing happen when I've compiled without virtual(an execution error), that 
would suggest to me that they were implemented with virtual, and also made me 
post this question. I see know that was a bad assumption, and I should look 
deeper for errors.

Thank you for your help.

-- 
Neither Emacs or Vi are my primary editors...
..and I'm not ashamed!!!




More information about the Qt-interest-old mailing list