[SlaveBase] Use QMap instead of KConfig to store ioslave config
Summary:
Inspired by https://github.com/blue-systems/plasma-5.16/issues/139#issuecomment-441704579
After some review, it seems to me using KConfig is not necessary here.
Removing its use should improve IO throughput since rebuildConfig is called in finished().
So mark the old config() function as deprecated.
TODO
- port ioslaves in kio and kio-extras to use mapConfig() instead of config()
- Clean up this description
Test Plan: ctest
Reviewers: davidedmundson, dfaure, Frameworks
Reviewed By: dfaure
Subscribers: broulik, kde-frameworks-devel
Tags: Frameworks
Differential Revision: https://phabricator.kde.org/D23523