Add missing Q_OBJECT macro, useful for translation.