Q_FOREACH actually works for QSet out of the box.
Factorize generation of member var + getter + setter.