Konqueror delete unification

Waldo Bastian bastian at kde.org
Mon Jul 14 14:41:39 BST 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Monday 14 July 2003 15:44, David Hugh-Jones wrote:
> Incidentally: does anyone know if isLocalFile() will know about unusual
> kioslaves that might actually refer to local files? (I don't mean e.g.
> fish://192.168.0.1 but something like floppy://)

url.isLocalFile() means that url.protocol() == "file" and that you can 
stat()/open()/etc. url.path() 

So floppy:// is not local according to isLocalFile(). I intent to add 
categories to protocols so that you query whether a URL is remote or local. 
Mostly for use from a security point of view, so that e.g. usb:// and 
floppy:// urls can be treated as having the same security impact without 
having to list them all.

Cheers,
Waldo
- -- 
bastian at kde.org -=|[ SuSE, The Linux Desktop Experts ]|=- bastian at suse.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE/ErMTN4pvrENfboIRAumsAJ0QAnxIyygueLbi1VoMX7KK1tYqZwCfQlYv
QiEGDIHOOL5/V+iAyEjerOI=
=tx5Q
-----END PGP SIGNATURE-----




More information about the kfm-devel mailing list