The whole class header, please. Does it contain the Q_OBJECT macro?