Use foreach with Qt containers (-Wclazy-range-loop)
Reviewers: bensi, franckarrecot, dfaure, mlaurent
Differential Revision: https://phabricator.kde.org/D970