D25856: Show IOSlaves that return local files when in local file mode

Nathaniel Graham noreply at phabricator.kde.org
Tue Dec 10 20:29:18 GMT 2019


ngraham added a comment.


  In D25856#575044 <https://phabricator.kde.org/D25856#575044>, @fvogt wrote:
  
  > IMO this should be done in KIO, so that all users benefit.
  
  
  How would you do it in KIO?
  
  > In D25856#575011 <https://phabricator.kde.org/D25856#575011>, @broulik wrote:
  > 
  >> Isn't that what `KProtocolInfo::protocolClass() == ":local"` is for?
  > 
  > 
  > Almost, but not quite - it just means that the resource is on the same system and therefore there's no hostname in the URL.
  >  Protocols like `man`, `tar`, `zip`, etc. are all `:local` as well, but can't be translated to `file:///...`.
  >  I'd hope there is some other way to query for that property.
  
  Yeah for now I would just folter those out.

REPOSITORY
  R229 KDialog

REVISION DETAIL
  https://phabricator.kde.org/D25856

To: ngraham, #frameworks, #dolphin
Cc: fvogt, broulik, meven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20191210/13ebc345/attachment-0001.html>


More information about the Kde-frameworks-devel mailing list