D14042: Support special URLs for finding files of a certain type

Kai Uwe Broulik noreply at phabricator.kde.org
Wed Jul 11 10:16:24 BST 2018


broulik created this revision.
broulik added reviewers: Frameworks, bruns, dfaure, renatoo, franckarrecot.
Restricted Application added projects: Frameworks, Baloo.
Restricted Application added subscribers: Baloo, kde-frameworks-devel.
broulik requested review of this revision.

REVISION SUMMARY
  This moves the URL rewriting logic to the KIO slave so the client just sees a pretty `baloosearch:/images` URL and the rewriting to a JSON query happens inside the KIO

TEST PLAN
  Mostly copy paste from `KFilePlacesModel`
  
  - Opened `baloosearch:/images` and got pictures
  
  (Could probably use `Query` class directly instead of going through `JSON` but it was the simplest way to move this code over)

REPOSITORY
  R293 Baloo

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

AFFECTED FILES
  src/kioslaves/search/kio_search.cpp

To: broulik, #frameworks, bruns, dfaure, renatoo, franckarrecot
Cc: kde-frameworks-devel, #baloo, ashaposhnikov, michaelh, astippich, spoorun, ngraham, bruns, abrahams
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20180711/8c894ab8/attachment.html>


More information about the Kde-frameworks-devel mailing list