Port from KDiskFreeSpaceInfo to QStorageInfo
KF6 task https://phabricator.kde.org/T14295
The alternative to QStorageInfo would be to copy the code from KDiskFreeSpaceInfo::freeSpaceInfo to FileProtocol; however from a brief glimpse of QStorageInfo's implementation for Unix, it looks like QStorageInfo's implementation using similar low-level code to query the system (mntent and stat).
Edited by Ahmad Samir