[PATCH] Make KDiskFreeSpace more convenient -> KJob-like usage

Sebastian Trüg strueg at mandriva.com
Wed Jul 23 15:56:29 BST 2008


On Wednesday 23 July 2008 15:35:52 Dirk Mueller wrote:
> On Wednesday 23 July 2008, Sebastian Trüg wrote:
> > please find attached a patch for KDiskFreeSpace. I found it to be very
> > inconvenient to use.
>
> A reminescense of the old implementation, which was async. I've changed it
> to be synchronous, so I'm not sure if we should invest more in that old
> interface. IMHO a static ::getFreeDiskspace() (better method name welcome)
> would be enough.

Sure, for KDE 5, but for now we have to keep the old API.




More information about the kde-core-devel mailing list