[patch] kfilemediaplugin and filesize

Martin Koller m.koller at surfeu.at
Fri Nov 3 10:46:27 GMT 2006

On Friday 03 November 2006 10:42, David Faure wrote:
> On Fri Nov 3 2006, Martin Koller wrote:
> > If I don't miss something, I'd suggest that KDiskFreeSp shall be removed
> > in KDE-4.
> I only agree if it gets replaced with something that provides the same
> information, with a different API (since it will be sync instead of async),
> so that we encapsulate the portability problem. Windows isn't posix, so we
> need a class where we can hide the implementation and use ifdefs, instead
> of doing it in N applications.

Yes, I was thinking about such a solution.
I'd say this belongs into Solid::Volume,
 qulonglong Solid::Volume::availableSpace()

I'll send a proposal patch to kde-hardware-devel at kde.org

> > Wasn't there a URL where I can check which other KDE files use that class
> > (cross reference) ?
> http://lxr.kde.org


Best regards/Schöne Grüße

Martin    ()  ascii ribbon campaign - against html mail 
          /\                        - against microsoft attachments

Computers and Internet gave you freedom.
TCPA would TAKE your FREEDOM!  http://www.againsttcpa.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20061103/8994d562/attachment.sig>

More information about the kde-core-devel mailing list