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