Review Request: use portable KDiskFreeSpaceInfo for free space calculation

Pino Toscano pino at kde.org
Mon Jun 7 12:26:41 CEST 2010


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviewboard.kde.org/r/4241/#review6009
-----------------------------------------------------------


Christopher Blauvelt's reply:
http://mail.kde.org/pipermail/plasma-devel/2010-June/012027.html

- Pino


On 2010-06-06 13:15:14, Pino Toscano wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://reviewboard.kde.org/r/4241/
> -----------------------------------------------------------
> 
> (Updated 2010-06-06 13:15:14)
> 
> 
> Review request for Plasma and Christopher Blauvelt.
> 
> 
> Summary
> -------
> 
> Currently, the soliddevice data engine use either statvfs() or statfs() for determine the free space on a mount point.
> This, other than requiring per-OS code which does not cover all the OS KDE supports (for example Windows), is already wrapped in a nice API in kio, the class KDiskFreeSpaceInfo.
> 
> The proposed patch applies this class to the soliddevice data engine, although making it depend on kio.
> 
> 
> Diffs
> -----
> 
>   /trunk/KDE/kdebase/workspace/plasma/generic/dataengines/soliddevice/CMakeLists.txt 1135061 
>   /trunk/KDE/kdebase/workspace/plasma/generic/dataengines/soliddevice/soliddeviceengine.cpp 1135061 
> 
> Diff: http://reviewboard.kde.org/r/4241/diff
> 
> 
> Testing
> -------
> 
> Looks reporting the correct value for mounted mount points, when queried via plasmaengineexplorer.
> 
> 
> Thanks,
> 
> Pino
> 
>



More information about the Plasma-devel mailing list