New issue when trying to move CopyJob to kiocore: it requires 
kdiskfreespaceinfo which requires KMountPoint.
Here's the code:

KDiskFreeSpaceInfo KDiskFreeSpaceInfo::freeSpaceInfo( const QString& path )
{
    KDiskFreeSpaceInfo info;

    // determine the mount point
    KMountPoint::Ptr mp = KMountPoint::currentMountPoints().findByPath( path );
    if (mp)
        info.d->mountPoint = mp->mountPoint();


Is this something Solid can help me with? How to I get the mount point for a 
given path?

If it can't help with that, then I could just move KMountPoint to kiocore too. 
But I'm asking first,
since I think Kévin wanted to kill it.

-- 
David Faure, fa...@kde.org, http://www.davidfaure.fr
Working on KDE, in particular KDE Frameworks 5

_______________________________________________
Kde-frameworks-devel mailing list
Kde-frameworks-devel@kde.org
https://mail.kde.org/mailman/listinfo/kde-frameworks-devel

Reply via email to