hi
its working after including #include "main.moc" at the end.

if i use both header and source file for a class ,then do i dont have to bother about the moc issues.