system kioslave and KURL::isLocalFile()

Andras Mantia amantia at
Wed Jul 27 08:14:52 BST 2005

On Wednesday 27 July 2005 08:19, Kévin Ottens wrote:
> Le Mardi 26 Juillet 2005 22:17, Christian Loose a écrit :
> > Now what is the correct way for the above check? Should I use
> > KIO::NetAccess::mostLocalURL(url, 0).isLocalFile() instead?
> Yes, or the mostLocalURL() method or KFileItem if you have such
> objects.

Isn't this a bit overkill? Static a file can be expensive and until now 
we could rely that isLocalFile() is a fast method. Can system:// and 
home:// be not a local file? If it cannot be, I think the check in KURL 
should be modified.

> Regards.

Quanta Plus developer -
K Desktop Environment -
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <>

More information about the kde-core-devel mailing list