I'm sorry, but i don't understand your answer quite well.
Where do i have to put Q_OBJECT and what do you mean by

'your need to declare the class members, declaring only the class is not enough.'?

hannesvdc