[Qt-interest] Derive slots from non-Qt-based classes

Ian Thomson Ian.Thomson at iongeo.com
Tue Apr 28 16:47:37 CEST 2009


Hi,

1) You are missing the Q_OBJECT macro
2) Is there a good reason you don't make the base class a QWidget?
3) Even better, why not make the base class a QObject which emits 
signals which you can connect up to widgets to display the information.

Cheers,
Ian.



More information about the Qt-interest-old mailing list