Diffusion KIO 55cb24916ada

[KIO] Modernize the code to use range-for in more places

Authored by dfaure on Sep 28 2019, 1:03 PM.

Description

[KIO] Modernize the code to use range-for in more places

Summary:
This was done using clang-tidy's modernize-loop-convert, then
clazy (for qAsConst), then manual cleanups (less auto, better variable
names, etc). Took way longer than I was hoping for...

Test Plan: make && ctest

Reviewers: bruns, kossebau

Reviewed By: kossebau

Subscribers: kde-frameworks-devel

Tags: Frameworks

Differential Revision: https://phabricator.kde.org/D24160