PDA

View Full Version : How to Implement signal and slots for QAccessibleWidget



Rakesh_Kumar
30th January 2009, 06:49
Hi,

I have derived my class from QAccessibleWidget. I need to implement signal and slots in my class. But whenever I put Q_OBJECT macro my program is not compiling.

During comilation of MOC file it's saying that staticMetaObject, qt_metacast and qt_metacall are not member of 'QAccessibleWidget'.

Could someone please help me to resolve the issue?

Thanks ain advance.

Regards
Rakesh

gerix
30th January 2009, 07:57
In order to use signals and slots, the class must inherit QObject.