Q_FOREACH will de deprecated soon.
Based on implementation by Florian Geyer <blueice@fobos.de> Closes #57