Do not generate code for overridden properties and operations

Change-Id: I8aaf79011b508e4de753c5de8a1f4ad473e31086
Reviewed-by: Sandro S. Andrade <sandroandrade@kde.org>