D25856: Show IOSlaves that return local files when in local file mode
Méven Car
noreply at phabricator.kde.org
Tue Jan 14 13:56:22 GMT 2020
meven added a comment.
In D25856#575125 <https://phabricator.kde.org/D25856#575125>, @fvogt wrote:
> In D25856#575083 <https://phabricator.kde.org/D25856#575083>, @ngraham wrote:
>
> > 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?
>
>
> Add code to KFileDialog to allow specific protocols/slaves if the `file` scheme is supported.
I would guess something in the slave interface sort of like `KDE-KIO-Protocols` in json/.protocol files expect it would be about supported output scheme instead of input/handled.
Something like `KDE-KIO-Output-Protocols`
Then there would be an equivalent to `KProtocolInfoFactory::findProtocol` to get those, like `KProtocolInfoFactory::findOutputProtocol`
Basically ioslaves `desktop` `file` `recentlyused` `trash` and `tags` would have `"file"` set in there. And also `recentdocuments` `timeline` for those who use those.
What do you think ?
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/20200114/fd267b77/attachment.html>
More information about the Kde-frameworks-devel
mailing list