q_properties should be declared right under the Q_OBJECT line