D4979: Add places:/ KIO slave
Kai Uwe Broulik
noreply at phabricator.kde.org
Wed Mar 8 13:30:54 UTC 2017
broulik created this revision.
Restricted Application added a project: Plasma.
Restricted Application added a subscriber: plasma-devel.
REVISION SUMMARY
This will expose KFilePlacesModel as KIO slave.
With it you can place e.g. a places FolderView in your panel for quick access to your stuff.
BUG: 377375
TEST PLAN
Lists my places, navigating into both local and remove locations works fine. Place icons are taken into account and hidden places are added as hidden files.
It doesn't signal updates when places are added/removed from/to the model as I didn't find signals to notify changes when I had a quick glance at KIO stuff.
Also, a FolderView pointing at places:/ will show the generic folder icon as well as "places:/" title (for the latter this is expected as it uses QUrl fileName, maybe needs to also use the root item's display text somehow) but the icon should be correct at least). Adding places:/ as a places in Dolphin actually uses the correct icon.
REPOSITORY
R120 Plasma Workspace
REVISION DETAIL
https://phabricator.kde.org/D4979
AFFECTED FILES
kioslave/CMakeLists.txt
kioslave/places/CMakeLists.txt
kioslave/places/Messages.sh
kioslave/places/kio_places.cpp
kioslave/places/places.protocol
To: broulik, #plasma, hein, dfaure
Cc: plasma-devel, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20170308/4b5dc0c3/attachment.html>
More information about the Plasma-devel
mailing list